three_js_curves 0.0.3 copy "three_js_curves: ^0.0.3" to clipboard
three_js_curves: ^0.0.3 copied to clipboard

Flutter three_js_curves package converted from threejs and three_dart package to create curves for three_js.

0
likes
150/ 160
pub points
66%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

117 out of 358 API elements (32.7 %) have documentation comments.

Some symbols that are missing documentation: arc_curve, arc_curve.ArcCurve.isArcCurve, catmull_rom_curve3, catmull_rom_curve3.CatmullRomCurve3.closed, catmull_rom_curve3.CatmullRomCurve3.curveType.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:three_js_curves/three_js_curves.dart that imports:
  • package:three_js_curves/nurbs/index.dart that imports:
  • package:three_js_curves/nurbs/nurbs_surface.dart that imports:
  • package:three_js_curves/nurbs/nurbs_utils.dart that imports:
  • package:three_js_math/three_js_math.dart that imports:
  • package:flutter_angle/flutter_angle.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:three_js_curves/three_js_curves.dart that imports:
  • package:three_js_curves/nurbs/index.dart that imports:
  • package:three_js_curves/nurbs/nurbs_surface.dart that imports:
  • package:three_js_curves/nurbs/nurbs_utils.dart that imports:
  • package:three_js_math/three_js_math.dart that imports:
  • package:flutter_angle/flutter_angle.dart that imports:
  • package:flutter_angle/webgl/index.dart that imports:
  • package:flutter_angle/webgl/wrapper.dart that imports:
  • package:flutter_angle/shared/console.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:three_js_curves/three_js_curves.dart that imports:
  • package:three_js_curves/nurbs/index.dart that imports:
  • package:three_js_curves/nurbs/nurbs_surface.dart that imports:
  • package:three_js_curves/nurbs/nurbs_utils.dart that imports:
  • package:three_js_math/three_js_math.dart that imports:
  • package:flutter_angle/flutter_angle.dart that imports:
  • package:flutter_angle/native-array/index.dart that imports:
  • package:flutter_angle/native-array/native_array_app.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 37 issues. Showing the first 2:

INFO: 'getPoint' is deprecated and shouldn't be used. Curve: .getPoint() not implemented.

lib/core/curve.dart:108:12

    ╷
108 │     return getPoint(t, optionalTarget);
    │            ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/curve.dart

INFO: 'getPoint' is deprecated and shouldn't be used. Curve: .getPoint() not implemented.

lib/core/curve.dart:118:18

    ╷
118 │       points.add(getPoint(d / divisions));
    │                  ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/curve.dart

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
three_js_math ^0.0.2 0.0.3 0.0.3
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
dylib - 0.3.3 0.3.3
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_angle - 0.0.6 0.0.6
flutter_angle_darwin - 0.0.2 0.0.2
logger - 2.4.0 2.4.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6
sky_engine - 0.0.99 0.0.99
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

0
likes
150
pub points
66%
popularity

Publisher

unverified uploader

Flutter three_js_curves package converted from threejs and three_dart package to create curves for three_js.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, three_js_math

More

Packages that depend on three_js_curves