manim_web 1.2.1 manim_web: ^1.2.1 copied to clipboard
Manim animation engine, for the web.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate manim_web
Use it
The package has the following executables:
$ manim
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add manim_web
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
manim_web: ^1.2.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:manim_web/animation/animation.dart';
import 'package:manim_web/animation/composition.dart';
import 'package:manim_web/animation/creation.dart';
import 'package:manim_web/animation/fading.dart';
import 'package:manim_web/animation/transform.dart';
import 'package:manim_web/animation/update.dart';
import 'package:manim_web/camera/camera.dart';
import 'package:manim_web/constants.dart';
import 'package:manim_web/display/abstract_display.dart';
import 'package:manim_web/display/abstract_html_display.dart';
import 'package:manim_web/display/canvas_2d_display.dart';
import 'package:manim_web/display/empty_display.dart';
import 'package:manim_web/manim.dart';
import 'package:manim_web/mobject/coordinate_systems.dart';
import 'package:manim_web/mobject/functions.dart';
import 'package:manim_web/mobject/geometry.dart';
import 'package:manim_web/mobject/shape_matchers.dart';
import 'package:manim_web/mobject/svg/svg_mobject.dart';
import 'package:manim_web/mobject/svg/tex_mobject.dart';
import 'package:manim_web/mobject/types/interactive_mobject.dart';
import 'package:manim_web/mobject/types/mobject.dart';
import 'package:manim_web/mobject/types/vectorized_mobject.dart';
import 'package:manim_web/renderer/abstract_renderer.dart';
import 'package:manim_web/renderer/canvas_2d_renderer.dart';
import 'package:manim_web/renderer/empty_renderer.dart';
import 'package:manim_web/scene/scene.dart';
import 'package:manim_web/util/array.dart';
import 'package:manim_web/util/bezier.dart';
import 'package:manim_web/util/color.dart';
import 'package:manim_web/util/complex.dart';
import 'package:manim_web/util/events/event.dart';
import 'package:manim_web/util/events/event_dispatcher.dart';
import 'package:manim_web/util/events/event_listener.dart';
import 'package:manim_web/util/events/key_events.dart';
import 'package:manim_web/util/events/mouse_events.dart';
import 'package:manim_web/util/extensions.dart';
import 'package:manim_web/util/math_functions.dart';
import 'package:manim_web/util/paths.dart';
import 'package:manim_web/util/rate_functions.dart';
import 'package:manim_web/util/space_ops.dart';
import 'package:manim_web/util/vector.dart';