Reorganized Code

· · · · · · | Intro to Computational Media

I decided to take the code for the Algorithm project and organize it a bit.


Here is the post for the original code.

The P5.JS project can be found here.


Here is what my original code looked like:




Here is my new, re-organized, code:



I found the first code almost impossible to follow and very confusing. This new/organized version seems a lot clearer to me. The variables are clear descriptors, nestled inside objects, making it much easier to distinguish between the two “streams”. Giving me a better sense of control.


You can find the newest sketch here.


No Comments

Comments are closed.