A two symbol Serpinski gasket (below) is embodied in a system with a terminating rule (the second rule only refers to itself), like Boundary 2x2 3-symbol and Boundary 2x2 5-symbol L-systems.
This two symbol system can be extended to related systems with more than two symbols in several ways, by replacing the last rule with rules that are also Serpinski-like.
| ![]() |
Matlab command:
>> imOut = L_System_tiling( 'Two_symbol_Serpinski', 8, 2, 1, 0, '', 0, [0 0; 0 1], [1 1; 1 1] );
In this system the later rules are rotations of the first rule, with the unique corner refering to the next rule in a four symbol cycle:
| ![]() |
The Serpinski pattern recurrs, rotated at smaller scales and with a cycling color.
Matlab command:
>> imOut = L_System_tiling( ''Four_symbol_Serpinski_10', 10, 4, 1, 0, '', 0, [0 0; 0 1], [1 1; 2 1], [3 2; 2 2], [3 0; 3 3] );
Color cycling of Four symbol Serpinski gasket 1 (2.6 MB):
It would be straight-forward to extend this to an eight symbol 3-D "Serpinski tetrahedron".
Here's the same pattern with a static 4-color scheme suggested by Ted Bell. What 4 colors are best distinguished?

Comments
swf limit
This is a problem that I have not solved yet. To post a swf in a node via direct browser upload they need to be less than 2mb. SWFs or even better FLVs of up to 8 or 10mb can be uploaded directly via the browser into the gallery. Cinemaforge will transcode into both swfs and flvs and the flvs (and wmvs) seem to have a player functionality for volume and start stop -swfs just seem to loop play automatically which is a little annoying. One approach may be to post a smaller version <2mb of the swf in the node here (cinemaforge can adjust video size) and resize it a bit and then provide a link to the full size movie in the embeded gallery.
I tested ftping a 7mb swf and it can be inserted into a node from the servier. This should work for any size swf and you are encouraged and welcome to try that. I think I set your ftp directory to the subdirectory the text-widget image and swf insert thing uses. Keep me posted on any difficulties, I aim to get all this stuff working for us not the other way around.
Gallery limit
Thanks. Although the gallery text states that larger files are acceptable, when I actually tried it it gave a "file too large" message. (The file is ~2.5 MB.)
I'll try ftp, I avoid this only because it's a hassle to find the password and the extra software and directory mental confusion.
swf limit part 2
graphic limit good
cmyk
perceptual separation
Post new comment