Week 2: Random and Transformational

Made my life a bit trickier than needed by wanting to use this Jitter script for my background.  But after much headbanging it mostly worked out. Thanks for the help Shawn and reference page! 

 

sketch 1::

In this sketch the mouse position controls the background color, and inverse to that controls the alien's face color and Jitter bug color.  The mouse position also controls the rotation of the alien's face.

 

sketch 2::

In this sketch, the mouse position controls the color of the alien's face, and inverse to that controls the color of the Jitter bugs and text color.  The text randomizes each time between these three options : "FRIEND," "LOVER", "ENEMY".

 

https://alpha.editor.p5js.org/projects/H1Vddl-p

 

https://alpha.editor.p5js.org/projects/HJLzBk-6