I am trying to design a simple quiz game relative to my idea, but I am still exploring how to make it.
I use the keyPressed function to make the audient input some message.
In this Sketch, I try to use the light sensor to turn on the LED pixels. I also want to try different modes for LED. Then after my research, I downloaded the library called Adafruit Neopixel, and referred to the examples from the library.
Unfortunately, my Arduino cannot connect to my laptop this evening. I tried to change a couple of USB-Cable, but it still doesn’t work. So the code didn’t have the final test.
I need to find out the reason continuously.
Code Link: https://github.com/YuemingGaoMINGMING/MINGMING/blob/main/sketch_lightSensor%26LED/sketch_lightSensor%26LED.ino
This Sketch is aimed to show some angry virus. These jumping circles like some angry harmful virus. This code is relative to our project.
- 7.3: Arrays of Objects – p5.js Tutorial – YouTube
This code is aimed for creating some virus to simulate Covid-19 virus. I used the poseNet to track the position of nose with webcam. And I also code the class and array to draw floating virus in the air. Then I try to make the nose to attract the virus. The interaction is similar to the process that a person affect the Covid-19.
Code Link: p5.js Web Editor | Nosy honeysuckle (p5js.org)
- examples | p5.js (p5js.org