HOME
THE PIRATE CINEMA
HTML
THE CREATIVE CODING START
CSS&HTML
ARE WE ALL ADDICTS NOW?
PURE DATA
READINGS
P5 BASICS &
READING REFLECTION W9
P5.js & ANIMATED THROBBER+READING W10
SKETCH (FEEDBACK AND LOOP) + READING W11
W12 SIMPLE PROGRAMME &'LOOP' M.FULLER.
CODE & GENERATIVITY
"The Aesthetics of Generative Code"
CODE & OBJECTS
"Randomness"
CODE & ALGORITHMS
with p5.js
CODE & DATAFICATION
+reading
NODE.JS/APIs & Obfuscation, Weird Languages, and Code Aesthetics
JPEG GLITCHES WITH ANTONIO ROBERTS
NODE. JS/APIs & Wendy Hui Kyong Chun. "The Enduring Ephemeral, or the Future Is a Memory."
INITIAL SKETCH (final project)
+ Big Data Aesthetics
SOME CHANGES in(final project)
BIG DATA ART
HERE IS MY INITIAL STARFIELD CHALLENGE AND ITS CODE:

THE STARFIELD CHALLENGE
For the Coding Challenge I chose the *1 Starfield in Processing. I was told to add a new function based on the challenge and draw a flow chart of the new function. I chose to add a function of color change through setting a sort of a timer on the code. I would like the code to run for 30 seconds before it changes the color of the background. I believe it will work quite well because the colors would make the piece more vibrant and exciting, rather than the dullness of the black and white space. Following the initial and final sketches, I will be making an 'if statement' flow chart for my added function.
var colors = ['c70000', '3dc700', '082bc7'];
var active = 0;
setInterval(function(){
document.querySelector('body').style.background = colors[active];
active++;
if (active == colors.length) active = 0;
}, 30000);

I want to have this function in my Coding Challenge, but for now it is not working and I am in the process of figuring out WHY!?
INITIAL CODE
FINAL "ADDICTION TO DATA" PROJECT
& some aesthetics explained
I got the colour code from here:

https://stackoverflow.com/questions/27766343/change-background-color-every-30s-fade-transition
BRAINSTORMING FOR FINAL PROJECT