Monday, June 23, 2008

extended patterns

This is an extension on the code from the last post. This one does the same pixel operations but does them on an invisible array of pixels and streams them into the viewable area. There are also more controls on this one:

  • 1-7 : # keys 1,2,3...7 change mode
  • animation position/rate :
    • r : random position
    • p : pause/unpause
    • - : decrease display rate (tap)
    • = : increase display rate (tap)
  • backbuffer size :
    • s : random size square
    • n : random size non-square
    • x : random size square > view
    • z : random size non-square > view
    • f : fill view (backbuffer 400, 400)

Information is displayed to the Java console each time a key is pressed.


view this sketch


close sketch

No comments:

Post a Comment