Week 2
I generative the project explores the concept of code variables through the lens of modern urban architecture, representing the city as a living, ever changing system where daily human life maintains a continuous rhythm despite constant transformation. By translating a building and its glowing grid into a dynamic coding system in p5.js, the sketch continuously reorganizes 5 core variables: the overall height of the building, its structural width, the size of windows, the density of the window arrangement, and the vibrant array of light colors that fill each room. As these values shift with every mouse click, the architecture alters dramatically, ranging from tall towers with scattered neon lights to shorter, wider structures glowing with warmer tones,but still the fundamental identity of the building remains instantly recognizable. Lastly, the fluctuating windows serve as a visual network that captures the quiet daily variations, subtle movements, and collective living patterns unfolding inside the city.
Credits & References
P5.js, Yt teaching