When I first learned about noise (many years later than I should have), I remember finding out that Perlin noise was patented, so I looked into OpenSimplex[1] instead which is Java but has been ported to other languages. It turns out Love2d has love.math.noise built in which does the same thing. Would be great if PICO-8 had it too, although I think this one[2] is free too. But one of the coolest things was realizing that Minecraft landscapes are mostly just multiple applications of noise functions on top of each other, which means it only needs to store changes to the environment, and that it can completely regenerate the same environment using noise functions. Sometimes I envy game developers, until I remember how their working conditions are usually very horrible.<p>[1] <a href="https://gist.github.com/KdotJPG/b1270127455a94ac5d19" rel="nofollow">https://gist.github.com/KdotJPG/b1270127455a94ac5d19</a><p>[2] <a href="http://staffwww.itn.liu.se/~stegu/simplexnoise/Noise.lua" rel="nofollow">http://staffwww.itn.liu.se/~stegu/simplexnoise/Noise.lua</a>