Skip to content

Commit 869d0d3

Browse files
committed
remove mentions of blobs in shape utils
1 parent 187609e commit 869d0d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/animate/state.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface RenderOutput {
3838

3939
export interface TransitionInput<T extends Keyframe> extends RenderInput {
4040
newFrames: T[];
41-
blobGenerator:(options: T) => Point[],
41+
shapeGenerator:(keyframe: T) => Point[],
4242
}
4343

4444
export 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.
127127
export const transitionFrames = <T extends Keyframe>(input: TransitionInput<T>): TransitionOutput => {
128128
const {renderCache, timestamp, newFrames} = input;

public/animate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)