Minor cleanup

This commit is contained in:
Bradlee Speice 2023-07-17 02:47:53 +00:00
parent 01af290363
commit 782b00320b
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -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,
}} }}
/> />