top of page
Writer's pictureJenny Wang

Starry Night Sky

Updated: Feb 7, 2021



Perlin noise reminded me of the starry night painting by Van Gogh. The night sky in the painting looks like many random lines floating and forming a circular shape. So, I thought I could create a sketch that resembles it.


In order to have many lines to start drawing, I thought about using particle system. There need to be lines that draw circles and random patterned lines. So, that's what I started with. I created particle system function and arrays of these lines (800 lines) with random drawing start points.


I set directions with angels, and add an ellipse function to make some lines form circles like the drawing. However, I couldn't figure why it ended up looking like this:

I went to coding lab hours, and they helped me to figure out that I need to use mult() and add() to position vector. I'm still a little confused about how to use those two syntax.


This is what I created at the end (see below). I wanted to add more colors, but each colored line layered on top of those colored lines. That's another thing I need to figure out. I'm pretty happy with how it came out even though it's not like the painting. It resembles the terrain map at the end, which is fun.




Questions:

- I'm still not sure how to use mult() and add() for vector.

- How can I add different colored lines separately?

33 views0 comments

Comments


bottom of page