# Barnsley Fern Blocks

**URL:** <https://forum.makecode.com/t/barnsley-fern-blocks/6728>\
**Category:** Arcade\
**Tags:** game, graphics-and-math\
**Created:** [March 11, 2021, 7:39pm UTC](https://forum.makecode.com/t/barnsley-fern-blocks/6728 "2021-03-11T19:39:15Z")\
**Posts on this page:** 5\
**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 11, 2021, 7:39pm UTC](https://forum.makecode.com/t/barnsley-fern-blocks/6728/1 "2021-03-11T19:39:15Z")

</div>

> **[Barnsley Fern Blocks](https://arcade.makecode.com/43338-32736-33876-17441)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

See [Wiki](https://en.wikipedia.org/wiki/Barnsley_fern) for more information about the Barnsley Fern fractal.

---

<div class="post-metadata">

**Author:** ![sinkhole94](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@sinkhole94](https://forum.makecode.com/u/sinkhole94)\
**Post date:** [March 11, 2021, 10:25pm UTC](https://forum.makecode.com/t/barnsley-fern-blocks/6728/2 "2021-03-11T22:25:02Z")

</div>

I like this game.how did you make this game.

---

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [March 11, 2021, 10:32pm UTC](https://forum.makecode.com/t/barnsley-fern-blocks/6728/3 "2021-03-11T22:32:22Z")

</div>

This is fantastic! Your code better explains the concept given at Wikipedia.

I pimped up your code somewhat as I was too lazy to keep pressing the A button to draw the fern. 🤭

> **[Barnsley Fern Blocks (automatically)](https://arcade.makecode.com/89080-58556-09694-68804)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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 12, 2021, 1:14am UTC](https://forum.makecode.com/t/barnsley-fern-blocks/6728/4 "2021-03-12T01:14:08Z")

</div>

Very nice update. 🙂

---

<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 12, 2021, 1:52am UTC](https://forum.makecode.com/t/barnsley-fern-blocks/6728/5 "2021-03-12T01:52:58Z")

</div>

It’s all mathematics! I first learned about the Barnsley Fern fractal in graduate school and I had to code it in MatLab created by Cleve Moler.

For anyone interested, read all about it in the very lesson I used [here](https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/moler/exm/chapters/fern.pdf).
