Project 5 Generator: Milky Way

by | Oct 6, 2020 | ATLAS, Creative Coding | 0 comments

Milky Way Generator  

I refactored a piece from last year’s Creative Technologies course where I built a Milky Way generator in Processing. I had refactored it for p5.js for a personal/job piece but had not finished it.

New features of this version are using curveVertex to round out the edges of the Milky Way, an improved edge algorithm that uses perlinNoise to generate a smoother edge. I also tweaked the edge numbers trying to incorporate a galaxyBreadth feature so the galaxy would never expand past a certain point.

I added a sky color changer and a new sky button that would change the sky (like a refresh) without changing the sky color that you had chosen so if you found the perfect color, you could then search for the perfect sky. I had an issue adding a moon function but now that I think about it, I should have added it as a div element and controlled the toggle with that method. As it was, I could add many moons but the old ones would stay. I had explored adding perlin noise as a background but never could solve that.

So far, this final version is looking good and still one of the most beautiful things I’ve created.

Written by

Related Posts

Creative Coding Final Project

2020 Creative Coding Final ProjectCreative Codingthe concept Create a low-poly art generatorSimple geometric shapes placed side-by-side create angular and minimalistic artistic compositions. These low-poly artforms come from the early days of 3D animation. The low...

read more

Project 4 – Animated Loop

This challenge started with an idea to play with geometry in a looping, fast-paced animation. The idea was to have several nodes where waves of color would sweep out.  Some of my initial ideas were being able to control the size of the node radius being able to...

read more