Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Pixel Blood Patterns

Interactive demo for the article Blood in Pixels on leonsnotes.ca — a procedural generator for blood stains in pixel art.

A splat is three components stamped into a per-cell coverage grid, at offsets (across, down) from the impact cell:

  • Blob — a ragged disc with probabilistic edge falloff, solid at the centre, feathering only in the outer ring.
  • Droplets — scattered outlier specks past the blob.
  • Drips — on walls only: thin streaks running straight down with a slight sideways wander and a detached drop below the tip.

Coverage is max-merged per cell, so overlapping splats union instead of accumulating.

Live demo: https://cheukhoyun.github.io/PixelBloodPatterns/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages