Skip to content

Simulates watercolor paint splatters and paint mixing

Notifications You must be signed in to change notification settings

CalebKierum/PaintSplatter

Repository files navigation

Paint Splatter

Image

This is a first attempt at the simulation of watercolors vaguely based on "Real-time simulation of watery paint" Tom Laerhoven.

This project generates water-color paint splatters procedurally then simulates the mixing and drying of paint colors.

Generation of paint splatters

The geometry of the paint splatter consists of procedurally generated components.

First Phase: Base Geometry

  1. Create a central ball
  2. Generate "orbiters" or circles that slightly extrude from the central ball
  3. Create some random splatters out from the center
  4. Create lines out from the center with some beads on them

Core Ball

Second Phase: Post Processing

After generating the course geometry the following steps are preformed to make it look organic

  1. Blur the texture Blurred

  2. Add Random Noise

  3. Add "Natural" looking noise Noised

  4. Clamp the result within a range Clamped

Watercolor simulation

The alpha channel is used to store the water level/wettness of the paint.

Video

This simulation was originally made to be a Playground. However due to the buggy nature of Playgrounds it has been ported to just an iOS app.

About

Simulates watercolor paint splatters and paint mixing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages