Hello,
After some time experimenting with processing i started using it in a proper project. But i feel like i have hit a roadblock.
The sketch is a prototyping software for a stage setup in a dance piece:
What you are looking at is a top view of frame on which 4 loops of ropes are span between different wheels/nodes. The speed of the ropes is controlled from an external sequencer over osc. The ropes will be painted black and white, forming patterns. The program lets you draw directly onto the ropes (left mouse button for white, right for black) The aim of the software is testing rope configurations (which are hard coded for now), painted patterns and movement sequences.
So far so good but i have a few questions:
- My main concern is the speed of the program, it is quite slow whether that could help in this case So is it my sloppy programming or do i simply ask to much of processing Will moving to another prograaming language help in speeding this up
- Moreover the speed is dependent on the frameRate, so if you render only one of the ropes it is much faster. I read some tips on the forum on multi threading, but can't seem to get my head arround it and i'm not sure if it will help in this case.
- Colorsequences are stored as an array of integers. saving & loading colorsequences is now done by writing this array to a .txt file. Which seems a bit a clumsy, and ther must be better ways of saving.
I know it is quite a lot of code, but if some of the more experienced programmers could take a look at it, would be great. Comments, tips on the code, GUI, and these questions are welcome.
tnx!
zip can be downloaded here:
http://www.introspector.be/store/noumenon_v0_20_graphic-100311b.zip