Package org.bzdev.anim2d
This package, which is based on the devqsim package, provides support for two dimensional animation, typically "stick figures" or simple graphics, although any level of complexity is possible.
In order for a simulation to run, one must first call the method
Animation2D.initFrames(int,String,String)
Animation2D.initFrames(int,String,String,org.bzdev.io.DirectoryAccessor)
,
Animation2D.initFrames(int,String,org.bzdev.gio.ISWriterOps)
,
or
Animation2D.initFrames(int,org.bzdev.gio.ISWriterOps)
in order to specify the maximum number of frames that could be generated
some data regarding the output file, and the type of the image produced
and to create the animation's graph.
Then calls to scheduleFrames
will schedule events to generate frames at the appropriate time.
Finally, a call to run
,
possibly with arguments, will create the animation.
Please see the BZDev library factory documentation for configuring factories and the org.bzdev.anim2d package description for additional details.
-
ClassDescriptionAbstrAnimLayer2DFactory<Obj extends AnimationLayer2D>Abstract factory for animation layers.AbstrAnimPath2DFactory<Obj extends AnimationPath2D>Abstract factory for creating AnimationPath2D objects.AbstrAnimShape2DFactory<Obj extends AnimationShape2D>Abstract factory for animation shapes.AbstrCartGrid2DFactory<Obj extends CartesianGrid2D>Abstract Factory for CartesianGrid2D objects.AbstrConnLine2DFactory<Obj extends ConnectingLine2D>Abstract Factory for creating instances of
ConnectingLine2D
.AbstrGraphViewFactory<Obj extends GraphView>Abstract GraphView factory.AbstrPolarGridFactory<Obj extends PolarGrid>Abstract Factory for PolarGrid objects.Class for scheduling the sequence of events for a 2D animation.Launcher for 2D animations.Simulation-monitor for instances of Animation2D.Class for specifying a layer of objects that can appear in a 2D animation.An enum denoting the type of objects for known instances of Graph.Graphic.Factory for creating animation layers.Base class for animation objects.AnimationObject2DFactory<Obj extends AnimationObject2D>Abstract factory for animation objects.Class defining a path for animation objects.Factory for AnimationPath2D objects.Class providing an animation object representing a shape.Factory for creating animation shapes.Class to create a Cartesian (rectilinear) grid.Factory for creating Caresian (rectilinear) grids.Create a line whose end points may vary with time.Factory for creating instances of ConnectingLine2DFactory.Animation object that follows a path.DirectedObject2DFactory<Obj extends DirectedObject2D>Abstract DirectedObject2D factory.Configure a graph to provide a movable and zoomable view of plane.Mode for setting zoom values in GraphView factories.Factory for creating a graph view.Utility class for kinematic operations.Class representing two-dimensional objects with a position and orientation.PlacedObject2DFactory<Obj extends PlacedAnimationObject2D>Abstract factory for PlacedAnimationObject2D.ReferencePoint2D factory configuration mode.Class to create a polar grid.Factory for creating polar grids.