GMU:Speculative Atmospheres/Andrea Geyer: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 1: Line 1:
[[File:Bildschirmfoto 2021-05-13 um 12.18.37.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.18.47.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.18.53.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.21.02.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.21.09.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.21.10--x.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.21.16.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.21.30.png|400px]]
[[File:Bildschirmfoto 2021-05-13 um 12.21.39.png|400px]]





Revision as of 09:48, 16 May 2021

Bildschirmfoto 2021-05-13 um 12.18.37.png

Bildschirmfoto 2021-05-13 um 12.18.47.png

Bildschirmfoto 2021-05-13 um 12.18.53.png

Bildschirmfoto 2021-05-13 um 12.21.02.png

Bildschirmfoto 2021-05-13 um 12.21.09.png

Bildschirmfoto 2021-05-13 um 12.21.10--x.png

Bildschirmfoto 2021-05-13 um 12.21.16.png


Bildschirmfoto 2021-05-13 um 12.21.30.png

Bildschirmfoto 2021-05-13 um 12.21.39.png




An experiment with the LED sensor of an Arduino, linked to Processing graphics:

pulsating cat’s eye

When the light is high, the pupil of the cat’s eye widens,

when the light is low, the pupil of the cat’s eye closes.

[I know in reality, the cat's eye works the other way round… ;) ]


--> The color of the pupil also changes, from bright (high value) to dark (low value)

Cateye1.png

Cateye2.png

Cateye3.png

Cateye4.png


the relevant part of the processing code:

 if (data != null) {
   int intData = int(data); // ---> !! variable for incoming data
   background(255, 255, 0);
   noStroke ();
   ellipse (560, 360, 600, 600); 
   /* ---> 1. circle: 'background circle' (just as a referrence for the 2. circle) */
   noStroke ();
   fill (intData, intData, intData); // set fill colour with the value read
   ellipse (560, 360, intData, 600); 
   /* ---> 2. circle: the 'pupil' (visualizes the incoming data) */
 }