Fatin Syamilah's profile

Processing (Dynamic Sketch)

Dynamic Sketch 
Developed by having it interact with input mouse and keyboard

The owl
Pseudocode 
1. The owl following the mouse
2. The owl’s body changing colour when the owl move / change location
3. If the owl is on the right side of the screen,                3.Otherwise, if it’s on the left side,
background turn blue background turn black
4. If the mouse click, the owl’s eyes closed

Software Mirror 
Pseudocode
1. Import processing video
2. Declare integer
3. Declare the capture object for live video
4. Initialize columns, rows and the capture object
5. Start the capture process
6. Read from the camera when a new image is available
7. Add mousePressed for several colour background
If bg = 0, background black
else if bg = 1, background red
else if bg = 2, background green
else if bg = 3, background blue
else bg = 0, background black again
8. Begin loop for columns and rows
9. Create function of the pixel’s brightness which bright pixel is large circle and dark
pixel is small circle
10. Run the processing


Processing (Dynamic Sketch)
Published:

Processing (Dynamic Sketch)

Published:

Creative Fields