I use Emacs+CIDER. I like to be able to do something akin to just evaling (quil/frame-rate 90)
. But Calling that function is only possible within a sketch function. So I have added a live-calls
function in which I put these kinds of code, and I call live-calls
at the start of the draw function. Which is a very ugly hack. What's the idiomatic way to achieve this?
Asked
Active
Viewed 70 times
0

HappyFace
- 3,439
- 2
- 24
- 43
1 Answers
0
I found the answer by searching in closed issues in github:
(quil.applet/with-applet sketch-name
(q/frame-rate 3))

HappyFace
- 3,439
- 2
- 24
- 43