mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
Minor cleanup
This commit is contained in:
parent
01af290363
commit
782b00320b
@ -50,8 +50,6 @@ export const CanvasRenderer: React.FC<{ params: CanvasParams }> = ({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("Animating");
|
|
||||||
|
|
||||||
const image = ctx.createImageData(params.size, params.size);
|
const image = ctx.createImageData(params.size, params.size);
|
||||||
params.renderer.run(params.qualityStep);
|
params.renderer.run(params.qualityStep);
|
||||||
params.renderer.render(image);
|
params.renderer.render(image);
|
||||||
|
@ -28,7 +28,7 @@ export default function () {
|
|||||||
defaultUrl: "",
|
defaultUrl: "",
|
||||||
size: 400,
|
size: 400,
|
||||||
renderer: new RendererGasket(400),
|
renderer: new RendererGasket(400),
|
||||||
qualityMax: 10,
|
qualityMax: 0.25,
|
||||||
qualityStep: 0.25,
|
qualityStep: 0.25,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user