The Virus for Challenge 2 is a Processing (Java) code project where I developed the following professional skills:

  • Processing with Java

For further information, feel free to explore & download the individual reflection and run the code yourself or visit my recent reflection on this project.

 

Instructional Video // Demonstrator:

 

The Code Documentation:

The following code was made to work with mouse and two potentiometers connected via arduino Uno R3

running a serial baud rate of 9600. The potentiometers can be easily switched out for any component who's values

increment up or down. Keyboard can also be used instead of the potentiometers; or along side them.

This code runs for Processing 4.3 with Java

The design brief is: to create a working demo that is creative, interesting and interactive; preferably using arduino.

This code creates "viruses" that are meant to follow mesmerising patterns often centered around unit circle

and waves. Inspired by nature, they are designed to adapt to user input dynamically such that they will generate

a visually pleasing outcome no matter how they are prompted, but are also very much in control of the user.

The viruses are defined in a class Virus with functions to update their position as the w,a,s,d keys

or potentiometers are used.

Legs, which are dynamic objects characterizing the main shape of the virus, can be added or removed through mouse

clicks, such that the user may define how they want each virus to look.

 

Previous
Previous

The Date Snake

Next
Next

El Briano