This week we explored RTC and it was the hardest bit of code so far, it took me some time to understand. I was also creatively drained so I decided to adapt my past oscillator code to use with RTC. My idea was that one person would control amplification with Y value and another one - frequency with X value.
Sketch I wanted to adapt
Almost instantly I had problems when the sketch would just stop running when another person appears.
Sketch with errors
Errors with the sketch
Debugging part 1: frequency and amplification
Debugging part 2: p5lm
Working sketch of me and Pauline (our nose tips are ellipses)
Comentários