P5js Experiment

The following is a coding experiment using P5js. This link is to a keyboard that plays a note when a key is clicked on. I changed the song played on the piano, expanding the length of the song and also changed the clicked keys colour to light green.


The next code i played with was one that created a rotating star. I was trying to figure out how to add colour but wasnt able to do so. I changed the amount of points on the star and its shape and position. I also changed the star to black and was also able to change the line weight to give it a bolder outline. 



  


I did struggle to work with P5 since i have no experience with Javascript. A lot of what we have learned for DMA had been HTML5 and actionscript. The code i did was a good chance for me to get an insight to how it works and maybe play around with it in the future. There really are many possibilities with the code so i would like to see how what else can be done once i understand its functionality a bit better. 


Comments

Popular posts from this blog

1 - Post-Digital Imaging and Storytelling

Final Artefact and Statement