The Scroll Art Museum

Scroll art lets beginner programmers turn loops and print() into animated ASCII art.

Tri Grid Scaffolding

VIEW FULLSCREEN


Tri Grid Scaffolding presents a grid of triangles that is slowly filled in and then dismantled each cycle. The full pattern looks like this:

 /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\
/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\
\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /
_\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/_

This program removes one side of the triangles at random with increasing and decreasing probability, creating a pattern that looks like the following:

 /\  /    \   \      /\   \       \  /\          /\  /   /\   \  /\  /    \  /\  /\ 
/__\/__    \ __\ __ /__\ __\ __  __\/__\ __     /__\/   /  \ __\/__\/__  __\/__\/__\
    \  /\   \  /\       \  /        \      /\  /\  /   /\  /    \  /   /   /\  /\   
_    \/__\ __\/__\ __    \/__      __\    /__\/__\/__ /  \/__  __\/   /   /__\/__\  

Notice that two slashes or underscores are removed together, so there is never a "half-filled" side of a triangle.