Rotate() & Translate() - Object ang & velocity instead?
in
Programming Questions
•
10 months ago
Im trying to this sketch
http://studio.sketchpad.cc/sp/pad/view/ro.93O8V6do0iOjU/rev.129 as a base for bullet patterns (ive changed some of the code and it generates rather nice bases for patterns)
Obviously in a game the shots have a velocity, position and ang while the sketch is rendered as follows:
Im experimenting with interesting results, but nothing is giving results similar to that sketch
Thanks guys!
Obviously in a game the shots have a velocity, position and ang while the sketch is rendered as follows:
- float l = (float)i/(float)(num-1);
l = l + millis()/1000*v; //millis
l = l - floor(l);
Im experimenting with interesting results, but nothing is giving results similar to that sketch
Thanks guys!
1