three_dart_jsm 0.0.10 copy "three_dart_jsm: ^0.0.10" to clipboard
three_dart_jsm: ^0.0.10 copied to clipboard

three.js example/jsm rewrite by Dart. for three_dart Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.

6
likes
50/ 160
pub points
232
downloads

We analyzed this package 3 days ago, and awarded it 50 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: three_dart_jsm,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

152 out of 4599 API elements (3.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: Projector, afterimage_pass, afterimage_pass.AfterimagePass, afterimage_pass.AfterimagePass.AfterimagePass, afterimage_pass.AfterimagePass.compFsQuad.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:three_dart_jsm/three_dart_jsm.dart that imports:
  • package:three_dart_jsm/three_dart_jsm/index.dart that imports:
  • package:three_dart_jsm/three_dart_jsm/renderers/nodes/index.dart that imports:
  • package:three_dart_jsm/three_dart_jsm/renderers/nodes/display/color_space_node.dart that imports:
  • package:three_dart/three_dart.dart that imports:
  • package:three_dart/three3d/three.dart that imports:
  • package:three_dart/three3d/three_helper.dart that imports:
  • package:three_dart/three3d/math/index.dart that imports:
  • package:three_dart/three3d/math/interpolants/quaternion_linear_interpolant.dart that imports:
  • package:three_dart/three3d/math/quaternion.dart that imports:
  • package:three_dart/three3d/math/vector3.dart that imports:
  • package:three_dart/three3d/math/matrix4.dart that imports:
  • package:three_dart/three3d/math/matrix3.dart that imports:
  • package:flutter_gl/flutter_gl.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package not compatible with platform Web

Because:

  • package:three_dart_jsm/three_dart_jsm.dart that imports:
  • package:three_dart_jsm/three_dart_jsm/index.dart that imports:
  • package:three_dart_jsm/three_dart_jsm/renderers/nodes/index.dart that imports:
  • package:three_dart_jsm/three_dart_jsm/renderers/nodes/display/color_space_node.dart that imports:
  • package:three_dart/three_dart.dart that imports:
  • package:three_dart/three3d/three.dart that imports:
  • package:three_dart/three3d/three_helper.dart that imports:
  • package:three_dart/three3d/math/index.dart that imports:
  • package:three_dart/three3d/math/interpolants/quaternion_linear_interpolant.dart that imports:
  • package:three_dart/three3d/math/quaternion.dart that imports:
  • package:three_dart/three3d/core/index.dart that imports:
  • package:three_dart/three3d/core/raycaster.dart that imports:
  • package:three_dart/three3d/core/object_3d.dart that imports:
  • package:three_dart/three3d/textures/texture.dart that imports:
  • package:three_dart/three3d/textures/source.dart that imports:
  • package:three_dart/three3d/extras/index.dart that imports:
  • package:three_dart/three3d/extras/pmrem_generator.dart that imports:
  • package:three_dart/three3d/renderers/index.dart that imports:
  • package:three_dart/three3d/renderers/web_gl_renderer.dart that imports:
  • package:three_dart/three3d/renderers/webgl/index.dart that imports:
  • package:three_dart/three3d/renderers/webgl/web_gl_program.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 186 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'Projector.dart'.

lib/three_dart_jsm/renderers/svg_renderer.dart:2:8

  ╷
2 │ import 'Projector.dart';
  │        ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/three_dart_jsm/renderers/svg_renderer.dart

ERROR: Undefined class 'Projector'.

lib/three_dart_jsm/renderers/svg_renderer.dart:206:5

    ╷
206 │     Projector projector = Projector();
    │     ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/three_dart_jsm/renderers/svg_renderer.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
archive ^3.3.0 3.6.1 4.0.2
flutter flutter 0.0.0 0.0.0
flutter_gl ^0.0.20 0.0.21 0.0.21
image ^3.1.1 3.3.0 4.5.2
opentype_dart ^0.0.1 0.0.1 0.0.1
three_dart ^0.0.16 0.0.16 0.0.16
typr_dart ^0.0.2 0.0.2 0.0.2
universal_html ^2.0.8 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
ffi - 2.1.3 2.1.3
flutter_gl_macos - 0.0.5 0.0.5
flutter_gl_platform_interface - 0.0.4 0.0.4
flutter_gl_web - 0.0.5 0.0.5
flutter_gl_windows - 0.0.4 0.0.4
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http - 0.13.6 1.2.2
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.3.0` on archive does not support the stable version `4.0.0`, that was published 13 days ago.

When archive is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions archive to update the constraint.

The constraint `^3.1.1` on image does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions image to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 22 errors:

  • URI_DOES_NOT_EXIST - lib/three_dart_jsm/renderers/svg_renderer.dart:2:8 - Target of URI doesn't exist: 'Projector.dart'.
  • UNDEFINED_CLASS - lib/three_dart_jsm/renderers/svg_renderer.dart:206:5 - Undefined class 'Projector'.
  • UNDEFINED_METHOD - lib/three_dart_jsm/renderers/svg_renderer.dart:206:27 - The method 'Projector' isn't defined for the type 'SVGRenderer'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

6
likes
50
points
232
downloads

Publisher

unverified uploader

Weekly Downloads

three.js example/jsm rewrite by Dart. for three_dart Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

archive, flutter, flutter_gl, image, opentype_dart, three_dart, typr_dart, universal_html

More

Packages that depend on three_dart_jsm