tmountain [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=25569 Conway's Game of Life <p> <table><tr><td> <a href="/bbs/?pid=83226#p"> <img src="/bbs/thumbs/pico8_conwaylife-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83226#p"> conwaylife</a><br><br> by <a href="/bbs/?uid=25569"> tmountain</a> <br><br><br> <a href="/bbs/?pid=83226#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's a pretty minimal implementation of Conway's Game of Life for PICO-8. It has a basic performance optimization (it only updates the active area of the grid), and you can see the active area adjust by setting dbg=true at the top of the code.</p> <p>That said, it gets pretty slow pretty quickly for larger simulations.</p> <p>You set up the grid as follows:</p> <p>Arrow keys -- move the cursor around.<br /> Z key -- toggle a given cell to active/inactive.<br /> X key -- start / stop the simulation.</p> <p>If you're unfamiliar with the Game of Life, google it :-).<br /> An easy starting point for a cool pattern is a ten cell contiguous row (10 connected horizontal cells).</p> <p>There are better PICO-8 Game of Life carts, but I had a lot of fun making this.</p> <p>Enjoy!</p> https://www.lexaloffle.com/bbs/?tid=40002 https://www.lexaloffle.com/bbs/?tid=40002 Thu, 22 Oct 2020 21:02:26 UTC Mandelbrot (Demo) <p> <table><tr><td> <a href="/bbs/?pid=43870#p"> <img src="/bbs/thumbs/pico43869.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=43870#p"> Mandlebrot (Demo)</a><br><br> by <a href="/bbs/?uid=25569"> tmountain</a> <br><br><br> <a href="/bbs/?pid=43870#p"> [Click to Play]</a> </td></tr></table> </p> <p>Mandlebrot fractal renderer with random color cycling.</p> https://www.lexaloffle.com/bbs/?tid=29885 https://www.lexaloffle.com/bbs/?tid=29885 Sat, 02 Sep 2017 14:25:27 UTC Pendulum (Demo) <p> <table><tr><td> <a href="/bbs/?pid=43867#p"> <img src="/bbs/thumbs/pico43873.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=43867#p"> Pendulum</a><br><br> by <a href="/bbs/?uid=25569"> tmountain</a> <br><br><br> <a href="/bbs/?pid=43867#p"> [Click to Play]</a> </td></tr></table> </p> <p>Simple demo of pendulum physics.</p> https://www.lexaloffle.com/bbs/?tid=29884 https://www.lexaloffle.com/bbs/?tid=29884 Sat, 02 Sep 2017 14:10:42 UTC