Math for VSFX

Updated on March 1  2024

also Houdini Resources


 Overview (pictoral)


copyright © Deborah R. Fowler



Sierpinski

Deborah R. Fowler



Sierpinski Triangle (Gasket, Sieve)

Posted on May 1  2019


As a challenge to myself, I wanted to build Sierpinski Triangle in a single point wrangle node in Houdini (link here). I have built it in python and L-systems in Houdini which both easily utilize the recursive nature of the object.
However, in point wrangle nodes, recursion is not supported. Thus, an iterative approach must be taken.

Waclaw Sierpinski (1882-1969) was a Polish mathematician who is recognized for his work on set theory, point set topology and number theory. More information about his life can be found at

http://www-history.mcs.st-and.ac.uk/Biographies/Sierpinski.html
Three well-known fractals are named: Sierpinski triangle, Sierpinski carpet, Sierpinski curve.

Among numerous other websites, an excellent summary of various method appears at

http://www.oftenpaper.net/sierpinski.htm

Both 2D and 3D versions can be created.
3D - Start with a tetrahedron (coordinates given for a regular tetrahedron at

http://mathworld.wolfram.com/RegularTetrahedron.html)



Python version:

MISSING
          IMAGE
MISSING IMAGE

MISSING IMAGE


L-system version

As described on http://mathworld.wolfram.com/SierpinskiSieve.html
Premise: +(90) FXF - - FF - - FF
Rules:
F = FF
X= - - FXF + + FXF + + FXF - -
Angle is 60

MISSING IMAGE

Also described in python with turtle:

https://runestone.academy/ns/books/published/pythonds/Recursion/pythondsSierpinskiTriangle.html