Catégories
Liens
Le théatre optique d'Émile Reynaud en 1879 : animation en surimpressions sur un décor fixe, par un jeu de reflets sur une plaque de verre inclinée.
Le prompteur est un usage moderne basé sur les mêmes principes :
source wikiwand
légende schema:
1 - camera vidéo
2 - cache
3 - écran vidéo
4 - matériaux semi-réfléchissant
5 - point de vue du sujet
6 - image virtuelle de l'écran vidéo
// color swirl! connect an RGB LED to the PWM pins as indicated // in the #defines // public domain, enjoy! #define BGleds 3 #define MIDleds 6 #define FRONTleds 9 int BGpin = A0; int MIDpin = A1; int FRONTpin = A2; int BG = 0; int MID = 0; int FRONT = 0; void setup() { Serial.begin(9600); pinMode(BGleds, OUTPUT); pinMode(MIDleds, OUTPUT); pinMode(FRONTleds, OUTPUT); } void loop() { // read pots BG = analogRead(BGpin); MID = analogRead(MIDpin); FRONT = analogRead(FRONTpin); BG = map(BG,0,1024,0,255); MID = map(MID,0,1024,0,255); FRONT = map(FRONT,0,1024,0,255); Serial.println(BG); Serial.println(MID); Serial.println(FRONT); analogWrite(BGleds, BG); analogWrite(MIDleds, MID); analogWrite(FRONTleds, FRONT); delay(5); }