No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
This project did not turn out as i wanted it to be. The shapes too randomly located and the colourchanging background in processing is always overlayering the already existing shapes. It was still fun to experiment with colours and shapes. I learnt a lot about how arduino and processing works and how to connect both. | This project did not turn out as i wanted it to be. The shapes too randomly located and the colourchanging background in processing is always overlayering the already existing shapes. It was still fun to experiment with colours and shapes. I learnt a lot about how arduino and processing works and how to connect both. | ||
---- | |||
'''Second try:''' | '''Second try:''' | ||
Line 55: | Line 58: | ||
See: https://www.youtube.com/watch?v=rqecAdEGW6I | See: https://www.youtube.com/watch?v=rqecAdEGW6I | ||
Arduino code: | '''Arduino code:''' | ||
[[:File:Agent_Arduino.ino]] | [[:File:Agent_Arduino.ino]] | ||
Processing codes: | '''Processing codes:''' | ||
1. | 1. |
Revision as of 12:23, 25 July 2021
Observing nature
A walk in the park: playing with shadow and reflection
Processing & Arduino experiments
Fun processing experiment: a heart form that changes colors by moving the cursor File:processing_heart.pde
Arduino light sensor sets shape of triangle:
Project
How can light and shadow be experienced in another way? I think the world is more colourful, then we think it is. Even grey shadows can be translated into colorful shapes.
project idea:
painting with shadows: a light sensors isused to sense light/shadow. every grade of shadow outputs a different colour in processing. sitting under a tree, while the sun shines through the leaves and the wind moves them will create a unique painting. going for a walk while carrying the prototype while output a different colourful painting every time.
First try:
File:Schattenfarbem processing.pde
File:Schattenfarben Arduino.ino
This project did not turn out as i wanted it to be. The shapes too randomly located and the colourchanging background in processing is always overlayering the already existing shapes. It was still fun to experiment with colours and shapes. I learnt a lot about how arduino and processing works and how to connect both.
Second try:
I want to create an autonomous agent - a "random walker" - that is not moving randomly, but steered by the light that falls on the light sensor.
See: https://www.youtube.com/watch?v=rqecAdEGW6I
Arduino code: File:Agent_Arduino.ino
Processing codes:
1.
Problems:
- mainly the first case is triggered, this means that the line constantly moves to the left and vanishes quickly from the canvas
- sometimes the second case applies but this is barely visible, as the agent just moves back the same line