Random Tiles

tags: flash · actionscript2 · truchet

Javascript & Flash required.
Step1: Get Flash Here
Step2: Enable Javascript.
Step3: Refresh.

This is a small app that takes a very simple image and tiles the canvas, randomly rotating each tile that is placed. Usually this creates an extremely interesting pattern, even if the single tile pattern looks simple.

Click the tile samples below the main canvas to load a new tile. Then click the canvas itself to spawn a new random configuration.

References

  • Computers, Pattern, Chaos, and Beauty by Clifford A. Pickover

    The first tile pattern above comes directly from Appendix B (Figure B.7), where Pickover explains the use of Truchet tile generation.

    In my example, I am simply using the Flash random number generation to align the tiles, whereas in his example, he explains the use of a Markov process to align the tiles (see Pseudocode B.4).

Add A Comment

Some html formatting accepted. Please use Markdown syntax for entering formatting markup. All comments are moderated and we reserve the right to remove inappropriate material.