zoy [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=15764 Pattern Swatches <p> <table><tr><td> <a href="/bbs/?pid=58840#p"> <img src="/bbs/thumbs/pico58838.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=58840#p"> Pattern Swatches</a><br><br> by <a href="/bbs/?uid=15764"> zoy</a> <br><br><br> <a href="/bbs/?pid=58840#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hiya! I made this a while ago to help me to select fill patterns and colours when working on other carts. Every time you load the cart, it gives you 16 randomly-generated swatches. I've found this very helpful when figuring out aesthetic details for other projects.</p> <p>Use the arrows to move the select box around, and the details of the selected swatch will show below. The pattern code is to be used with fillp() and the colour code is to be used anywhere you'd set a color. These numbers would be easier for humans to interpret if they were shown in binary and hex respectively, but I kind of like the layer of mystery tbh.</p> <p>Hope someone else finds it helpful!</p> https://www.lexaloffle.com/bbs/?tid=32197 https://www.lexaloffle.com/bbs/?tid=32197 Wed, 07 Nov 2018 10:12:40 UTC GPIO read example <p>Hiya! Took me a little while to figure out how to read from a GPIO pin on a PocketCHIP, so thought I'd put my example code here in case anybody else comes looking for the same thing I was. It's not actually very complicated, but maybe the code and the notes will save someone some time.</p> <p>This example uses GPIO 6 - to use a different pin, just change the pin value accordingly e.g. GPIO 5 would be 0x5f86.</p> <p>Pico-8 reads hardware pins as digital, so you're not going to get a value from them other than 0 or 255. In this example I've called these two values &quot;on&quot; and &quot;off&quot;.</p> <p>You might need to run Pico-8 as root by opening Terminal from the PocketCHIP home screen and typing &quot;sudo pico8&quot;.</p> <p>This example won't do anything in browser.</p> <p> <table><tr><td> <a href="/bbs/?pid=46519#p"> <img src="/bbs/thumbs/pico46515.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=46519#p"> GPIO read example</a><br><br> by <a href="/bbs/?uid=15764"> zoy</a> <br><br><br> <a href="/bbs/?pid=46519#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=30291 https://www.lexaloffle.com/bbs/?tid=30291 Mon, 20 Nov 2017 12:46:37 UTC Carpet <p> <table><tr><td> <a href="/bbs/?pid=28968#p"> <img src="/bbs/thumbs/pico28967.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=28968#p"> Carpet 0.1</a><br><br> by <a href="/bbs/?uid=15764"> zoy</a> <br><br><br> <a href="/bbs/?pid=28968#p"> [Click to Play]</a> </td></tr></table> </p> <p>My first post here! Thanks to everyone who posts here, I have learned so much from you.</p> <p>This is a little graphics thing I made on the PocketCHIP while trying to get to grips with cellular automata.</p> <p>Use arrows while holding one of the action buttons to change palettes, display modes, or regenerate a new pattern. Use arrows while holding the other action button to smear the patterns into stripes.</p> <p>Features:<br /> Memory poke trick to create reflections<br /> Modification of Conway's Game of Life from Pico-8 zine issue 2</p> https://www.lexaloffle.com/bbs/?tid=27708 https://www.lexaloffle.com/bbs/?tid=27708 Wed, 21 Sep 2016 17:22:59 UTC