# How can I incorporate Perlin noise into my game?

**URL:** <https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304>\
**Category:** Help\
**Created:** [January 2, 2021, 12:59am UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304 "2021-01-02T00:59:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)\
**Post date:** [January 2, 2021, 12:59am UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304/1 "2021-01-02T00:59:32Z")

</div>

Of course, I want it for terrain generation. I don’t want big hard stuff, because I’m not that good at things like noise. Is there a way to do this?

---

<div class="post-metadata">

**Author:** ![Purp13](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/purp13/32/3765_2.png) [@Purp13](https://forum.makecode.com/u/Purp13)\
**Post date:** [December 17, 2021, 8:51pm UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304/2 "2021-12-17T20:51:24Z")

</div>

I have trying this for a while to figure out how to use Perlin noise and make code and I got a start but I don’t now how to make it draw a line

---

<div class="post-metadata">

**Author:** ![awful-coder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/awful-coder/32/3760_2.png) [@awful-coder](https://forum.makecode.com/u/awful-coder)\
**Post date:** [December 20, 2021, 6:01pm UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304/3 "2021-12-20T18:01:55Z")

</div>

> Perlin noise

> I don’t want big hard stuff

those dont seem like they belong in the same post  
if still active try [copying off github](https://gist.github.com/eevee/26f547457522755cb1fb8739d0ea89a1) or trying to find an extension

---

<div class="post-metadata">

**Author:** ![Purp13](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/purp13/32/3765_2.png) [@Purp13](https://forum.makecode.com/u/Purp13)\
**Post date:** [January 5, 2022, 10:23pm UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304/4 "2022-01-05T22:23:56Z")

</div>

so is there a way to make a sprite draw a line

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [January 24, 2022, 2:50pm UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304/5 "2022-01-24T14:50:26Z")

</div>

I don’t think it’s easily possible currently, but it would be nice to see a pen extension for Makecode like in Scratch.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [January 24, 2022, 6:58pm UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304/6 "2022-01-24T18:58:49Z")

</div>

You can just allocate a screen buffer (full screen image) and use the image blocks. For circles import the sprite utils extension for those blocks.

---

<div class="post-metadata">

**Author:** ![Purp13](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/purp13/32/3765_2.png) [@Purp13](https://forum.makecode.com/u/Purp13)\
**Post date:** [January 24, 2022, 6:58pm UTC](https://forum.makecode.com/t/how-can-i-incorporate-perlin-noise-into-my-game/5304/7 "2022-01-24T18:58:57Z")

</div>

yes i agree this i say because i’ve been doing a lot of research into this if i figure out a way or if somebody finds a way to make a sprite draw a line then this will be very helpful
