Fork me on GitHub
#quil
<
2019-10-15
>
Zac Bir00:10:16

Seems like I figured it out

🎉 8
👍 4
Zac Bir13:10:04

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 Bir14:10:51

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

Zac Bir14:10:27

Would this be done with create-graphics instead?

RollACaster14:10:00

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

Zac Bir14:10:01

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

Shriyans16:10:44

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

Shriyans17:10:02

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

Zac Bir17:10:17

:thumbsup:

Zac Bir17:10:32

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.

gregoltsov16:10:20

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

Zac Bir18:10:59

Those are both fantastic resources, thanks!

👍 4