-
-
Notifications
You must be signed in to change notification settings - Fork 657
Description
Add to Sage the ability to produce interactive 3D animations that can be explored by translating, rotating, and zooming as the animation progresses. Previously, an animation would need to be re-generated each time a different viewpoint was desired.
To that end, this ticket implements the following:
-
an
.interactive()
method on existingAnimation
objects that produces a new 3D graphics object containing all of the original frames of animation with additional animation metadata (keyframe assignments) attached that a supported viewer could use to depict the animation. -
changes to the Three.js viewer to support keyframe animation of points, lines, texts, and surfaces when animation metadata is present including optional graphical controls allowing the user to play/pause, adjust playback position, control playback speed, and toggle looping.
-
support for saving a 3D graphics object directly to an HTML file that uses the Three.js viewer, bypassing the need to open it in a browser first and use the "Save as HTML" menu option.
-
support for saving an animation to an HTML file using features 1 and 3 listed above.
CC: @paulmasson @egourgoulhon @slel
Component: graphics
Keywords: threejs animation
Author: Joshua Campbell
Branch/Commit: 8af227d
Reviewer: Paul Masson
Issue created by migration from https://trac.sagemath.org/ticket/29194