Question: Create a project that utilizes p5 illustrations, tone.js sound, and Arduino that has at least one element of physical world to interact with the code.
Create a project that utilizes p5 illustrations, tone.js sound, and Arduino that has at least one element of physical world to interact with the code.
(p5.js + tone.js + Arduino):
An Arduino must receive at least one digital or analog input and at least one digital or analog output. The project must include a graphical elements implemented using P5 and audio elements implemented using Tone.js. The project must convey some interaction from Arduino to both P5 and Tone.js.
Graphics Suggestions (If developing some single/multi player games):
- 3 scenes: welcome, game play and game over scenes.
- Timer variable to check the game time, score variable to record the scores, and life variable to keep track of the players allowed lives.
- 2 or more classes: Player(s) and Opponent(s) with unique features
- 2 or more user interactions with mouse, keyboards, etc.
Graphics Suggestions (If creating artistic projects):
- 2 or more types of Animation
- 2 or more user interactions with mouse, keyboards, etc.
- Color Blending and Layering
- 2 or more types of Transformations
Sound Suggestions:
- 2 separate events (one of these: Event, Loop, Part, Pattern, or Sequence)
- 3 different instruments with unique parameters. Only one of these can be a sampler or an object that plays a sample. The other two, synthesizers.
- 2 different effects.
- At least one parameter of these instruments and effects must be modulated. Remember that modulation can be done by an LFO, an envelope or scheduling of a signal (ex: rampTo).
- If you use samples they may not be longer than 3 seconds. This is so that you can not use pre-recorded loops. If you want a background music loop you must compose it yourself with an event. Remember that only one of your instruments can play samples.
Physical Computing Requirements:
- At least one digital and/or analog input sent in from the physical world to control the application
- At least one digital and/or analog output from the application to control something in they physical world
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
