Matt DesLauriers

Results 227 comments of Matt DesLauriers

Interesting, can you tell me a bit more about what you are trying to do with the timeout/delay? Using timeout like this is antithetical to the architecture/design of the tool,...

Something like that is certainly possible. Here are two different approaches: 1. Maintain a list of points and progressively add to it, then your renderer just renders the current state....

I'm not sure what you mean exactly. Can you put together a test case showing the problem?

This would be cool but it's technically difficult, and opens up a lot of questions: - Currently that syntax is used to concat multiple files into the same bundle, like...

I'm open to discussing it further and integrating something if we can find a nice solve. :smile:

Thanks for the report. Maybe your default “Downloads” / “Home” env variable is wrong for whatever reason. See here for other fixes: https://github.com/mattdesl/canvas-sketch/blob/master/docs/exporting-artwork.md#changing-the-output-folder

For a ThreeJS template, you can do this: ```sh canvas-sketch sketch.js --new --template=three ``` It will scaffold a basic 3D cube scene. By default, all the templates/examples run the sketch...

Gonna leave this one open as I think React-like hooks would be brilliant alongside canvas-sketch. :+1: I have a basic test which allows for 'registering' custom hooks (for example, dealing...

Ah yup, I should change the default template to fix that. Here is how you can fix it in yours, just by passing the `context.canvas` (or pulling `canvas` from props)...

If you have a second canvas, you will probably want to set the size and scale to be the same. Example: ```js const canvasSketch = require('canvas-sketch'); const settings = {...