# Sierpinski's Triangle Blocks

**URL:** <https://forum.makecode.com/t/sierpinskis-triangle-blocks/6773>\
**Category:** Arcade\
**Tags:** game, graphics-and-math\
**Created:** [March 14, 2021, 9:26pm UTC](https://forum.makecode.com/t/sierpinskis-triangle-blocks/6773 "2021-03-14T21:26:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NxNMatrixGL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nxnmatrixgl/32/2553_2.png) [@NxNMatrixGL](https://forum.makecode.com/u/NxNMatrixGL)\
**Post date:** [March 14, 2021, 9:26pm UTC](https://forum.makecode.com/t/sierpinskis-triangle-blocks/6773/1 "2021-03-14T21:26:55Z")

</div>

> **[Sierpinski's Triangle Blocks](https://arcade.makecode.com/65955-76679-99978-58670)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

See [Wiki](https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle) for more information about the Sierpinski Triangle fractal.

Also, see the related MS Arcade [Barnsley Fern](https://forum.makecode.com/t/barnsley-fern-blocks/6728) fractal project. I use the same code, just a different matrix and vectors for the affine transformations. Learn more about the math [here](https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/moler/exm/chapters/fern.pdf).
