User:NoWhy/Draft

From Esolang
Jump to navigation Jump to search

2% progress

Did It Happen?

The programmer is only allowed to write one line per day. The program will not run until the next calendar year. The amount of days without entry will TBD

Stroking

A language to define evolving digital brushes. Define states that get executed each draw loop, and their transitions a nonsense example

:: wobble //define state wobble 
width -> ~ millis 0.1 2.0 // bind stroke width to sin(millis), scaled to range 0.1 and 2.0
if length > 100
  <> water // transition to state water
:: water
a -> speed 50 200 // bind alpha channel to brush speed, scaled to 50-200
if clicked >= 3
  <> wobble