quil

Zac Bir 2019-10-15T00:11:16.021800Z

Seems like I figured it out

1👍2🎉
Zac Bir 2019-10-15T13:49:04.023700Z

For most of my work, I end up with static images (not looped animations). Is there a less-intensive way to just draw all this off-screen and dump to a file? I’m guessing some combination of options for defsketch

Zac Bir 2019-10-15T14:12:51.024400Z

None of them listed here seem to apply to this kind of approach. http://quil.info/api/environment#defsketch

Zac Bir 2019-10-15T14:21:27.024900Z

Would this be done with create-graphics instead?

RollACaster 2019-10-15T14:22:00.025300Z

If everything you do is static you can save some lines by doing all the work in setup

Zac Bir 2019-10-15T14:31:01.025700Z

build the circles conj there and then just iterate in the draw function?

gregoltsov 2019-10-15T16:06:20.026500Z

this guy wrote a tutorial of how he renders massive images into a video. sounds like he still shows the image frame, which makes me think you can’t really disable that http://brendandawes.com/blog/exportingvideoinp5

2019-10-15T16:50:44.026700Z

yes, or atleast that’s what i do also in setup have (no-loop) plus no update function in defsketch i pretty much followed https://tylerxhobbs.com/essays/2015/using-quil-for-artwork

2019-10-15T17:22:02.027Z

also here is a template i use for playing around https://github.com/shrynx/quil-genart-template maybe of some help 🙂

Zac Bir 2019-10-15T17:44:17.027300Z

:thumbsup:

Zac Bir 2019-10-15T17:45:32.027500Z

The former makes sense, that’s how I drive my Python art at the moment (it’s non-animated, so everything happens in a single draw(canvas) call.

Zac Bir 2019-10-15T18:19:59.027800Z

Those are both fantastic resources, thanks!

1👍