We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So in Shiffman's book (Learning Processing) he introduces the idea of shifting array variables down one spot, like: for (int i = 0; i < x.length–1; i++ ) { x[i] = x[i + 1 ]; }
This introduces new and creative ways to manipulate data and get interesting results, like the "snake" game where the mouse positions are stored for a period. So i was wondering, what are some other ways to manipulate data within an array?
Answers
http://studio.ProcessingTogether.com/sp/pad/export/ro.9GTDpA6dp4tH1
http://studio.ProcessingTogether.com/sp/pad/export/ro.9ldYvJUyiXGzi
http://studio.ProcessingTogether.com/sp/pad/export/ro.90vdKMfkiO$zf