I am using Ofelia in Pure Data.
I created a simple patch with the examples.
Instead of drawing a circle i drawed a line, which goes on ofwindow.
But see it yourself inside the patch.
I don´t know but i opened another pure data patch from the exampels and it started drawing continous lines.
I used the reqiure vars but the variable names of one lua patch are not like the other lua patch.
I am very new to lua. Can someone explain me why this is happening?
Disclaimer: I'm not an Ofelia expert -- I've only played with it a little.
The circle part includes an object
[ofSetBackgroundAuto 0]-- I believe this tells Ofelia not to refresh the background on every frame. Pretty sure that you usually do not want to do this.
When this object is connected, each line is added to all the last lines, and you get some nice moire patterns.
When this object is disconnected (that is, disconnect, save the patch, close it, and reopen the patch), then there is only one line moving in the window.