768 karma · joined January 11, 2022
The algorithm:
Pen width = 12px Canvas x bounds = [-900px, 900px] Canvas y bounds = [-600px, 600px]
At each timestep: - The pen starts at the origin - A direction is chosen [N,S,E,W] with each direction receiving 25% probability. - The pen moves forward in that direction with a distance chosen uniformly from the integer range [50,75] - After moving, if the pen is out of bounds of the canvas in the x direction, set its x coordinate to 0 leaving the y coordinate unchanged - After moving, if the pen is out of bounds of the canvas in the y direction, set its y coordinate to 0 leaving the x coordinate unchanged
What is the probability that at timestep t, a pixel (x, y) is colored?
Pickcode roughly falls under the category of "frame based editor" and there has been some research that suggests it's a potentially useful approach.
Time will tell if it works! I think there's still quite a bit of work on the app before I can start conducting that research in a formal way.