File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export interface RenderOutput {
3838
3939export interface TransitionInput < T extends Keyframe > extends RenderInput {
4040 newFrames : T [ ] ;
41- blobGenerator : ( options : T ) => Point [ ] ,
41+ shapeGenerator : ( keyframe : T ) => Point [ ] ,
4242}
4343
4444export interface TransitionOutput {
@@ -122,7 +122,7 @@ export const renderFramesAt = (input: RenderInput): RenderOutput => {
122122} ;
123123
124124// TODO generate internal frames. Delayed frames can just copy the previous one.
125- // TODO store current blob when interrupts happen to use as source.
125+ // TODO store current shape when interrupts happen to use as source.
126126// TODO don't remove any frames.
127127export const transitionFrames = < T extends Keyframe > ( input : TransitionInput < T > ) : TransitionOutput => {
128128 const { renderCache, timestamp, newFrames} = input ;
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export const canvasPath = (): CanvasAnimation => {
8585 timestamp : transitionTime ,
8686 currentFrames : internalFrames ,
8787 newFrames : keyframes ,
88- blobGenerator : canvasBlobGenerator ,
88+ shapeGenerator : canvasBlobGenerator ,
8989 } ) ;
9090 renderCache = transitionOutput . renderCache ;
9191 internalFrames = transitionOutput . newFrames ;
You can’t perform that action at this time.
0 commit comments