Van Gogh's Palette

P5.JS | Creative Coding

Project Description

Van Gogh’s Platte is an interactive project written in p5.js. I like Van Gogh’s way of painting, and especially inspired by Van Gogh’s famous painting, starry night, I want to re-create the crazy circinate style by coding in an abstract way.

By creating a flow field underneath, each vectors in grid is pointing to mouse direction, which are leading the particles with different color to move. The vector field itself is changing by Math.abs(sin(frameCount * params.rotationSpeed)). Turning on the DebugMode can clean the drawing colors and show the vector field. RotationSpeed can be adjusted from -0.1 to 0.1 and ParticleAmount can be adjusted from 10 to 200. ColorScheme includes “Starry Night”, “Sunflowers”, “Almond Blossom”, and “Still Life: Vase With Pink Roses”, which are the color sets taken from Van Gogh’s Painting