◀ VibeCruiser

endlessTriangle

A free fractal demo — play it in your browser, no install. A fractal triangular structure using simple rules and randomness, step by step. Check source code!

by @pablolucianop · pablolucianop/endlessTriangle on GitHubLANG JavaScript★ 1HOSTED ON PABLOLUCIANOP.GITHUB.IOUPDATED 26 Mar 2022

Vote and save it — free account with email or sign in with GitHub

Made this, @pablolucianop? See how many people played it → or use email

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

This is a js version of 'the game of chaos' proposed in the book 'Randomness in everyday life' by Alberto Rojo. The source code is written as a step by step demonstration.

2 pick the a random 'First Point', inside this triangle. 3 pick a random vertex of the triangle previously defined. 4 find the middle point between the chosen vertex and that 'First Point', and push it into an array. 5 define the middle the point between the point defined before and a random vertex of our triangle, and draw this point. 6 repeat a lot of times.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More fractal demos →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →