Nature of Code Midterm: Van Gogh Flowfield

Circle Packing Van Gogh

Apple: http://alpha.editor.p5js.org/effyfan/sketches/ryXt0nguz

Van Gogh: http://alpha.editor.p5js.org/effyfan/sketches/ByJtBgW_z

 

Starry Night Flow Field

Version 1: The flow field is based on the brightness of the painting. If the area is darker, the field vector is more horizontal, while the area is brighter, the field vector is more vertical. The flowing particles are mimicking the stroke of the original painting. It will feel like the particles are turning with a steering force when it reaches the bright area.

http://alpha.editor.p5js.org/effyfan/sketches/SkE84No

 

Version 2: Particles will match color with where they are on the original painting. It will feel like the particles are seeking for light.

Progress code with color change: http://alpha.editor.p5js.org/effyfan/sketches/r1hLREh_f

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s