Skip to content

a couple of processing.org sketches to do a kaleidoscope (3 versions: with image file, with webcam, as an applet)

Notifications You must be signed in to change notification settings

xiaowp/kaleidoscope

 
 

Repository files navigation

A set of sketches for processing.org to do colorful kaleidoscope images.

Place the contents of this folder into the processing sketchbook to use.

  • kaleidoscope_image: kaleidoscope with images. see the doc comment in kaleidoscope_image.pde for the available commands to control the look
  • kaleidoscope_applet: the image kaleidoscope with smaller size and ready to build an applet
  • kaleidoscope_camera: instead of an image, use the input of a webcam captured with gsvideo

NOTE: If you do not use tuio, you need to remove the code mentioning tuio from kaleidoscope_image.

To interact with the kaleidoscope: Move mouse to change image part that is shown

  • hold left button to move the image
  • hold right button and move left and right to rotate

Keys:

  • 0 to 9: set number of mirror axis
  • r / R: accelerate/decelerate rotation of the resulting image
  • s: Save snapshot to current directory
  • o: Open an image file to play with

screenshot

Credits

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

About

a couple of processing.org sketches to do a kaleidoscope (3 versions: with image file, with webcam, as an applet)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Processing 100.0%