sierpinski square
- 🔥 advanced
- 🗂️ structure
- ✍️ Jenny Lin
Created by Jenny Lin at the 2023 Textiles Jam, this operation implements an algorithm originally described by Sierpinski which subdivides a square into a cascading sequence of smaller and smaller rectangles.

Parameters
size: the number of ends and pics to make the square containing the structure.recursion depth: the number of times to subdivide the space into smaller rectangles.facing: toggles between a weft and warp facing structure.
Application
No established use but an interesting pay of composing a base structure based on mathematical functions.
Developer
adacad id: sierpinski_square
packages/adacad-drafting-lib/src/operations/sierpinski_square/sierpinski_square.ts
loading...