You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
following up from #4 where (experimental) instance mode support was added, there remain some stuff to do:
extend the P5Instance object to really contain all fields the real instance allows for (they should be more or less all vars in p5js.nim except the vars that represent constants like TWO_PI)
make sure all procedures that require it are under globalAndLocal
extend the instance template to not only include setup and draw. This also requires an addition to the P5Instance class for each addition, as each is stored as a closure in the object. All that is in p5sugar.nim should be added. This could be done with a macro but it is simpler via copy & paste.
following up from #4 where (experimental) instance mode support was added, there remain some stuff to do:
p5js.nimexcept the vars that represent constants like TWO_PI)p5sugar.nimshould be added. This could be done with a macro but it is simpler via copy & paste.