A City in a Bottle π
<canvas style=width:99% id=c onclick=setInterval('for(c.width=w=99, t,i=6e3;i--;c.getContext`2d`.fillRect(i%w,i/w|0,1-d*Z/w s,1))for(a=i%w/50-1,s=b=1-i/4e3,X=t,Y=Z=d=1; Z<w&(Y<6-(32<Z&27<X%w&&X/9^Z/8)*8F||d|(s=(X&Y&Z)%3/Z,a=b=1,d=Z/w));Y-=b)X =a',t=9)>
Tweaked further. 92kb zipped, uses the ZZFX and ZZFXM for sound and music and does palette swapping on the primitives using PicoCAD2's various palette's from lospec.com
The models are from P2 examples, sketchfab and Thinktank is mine based on Venture Bros character
LittleJS Three.js π€ New plugin lets you use LittleJS as the engine for your Three.js games. π»π
Don't write your 3D game from scratch! LittleJS handles the game loop, input, physics, audio, and more, while Three.js does the rendering. π
killedbyapixel.github.io/Litβ¦
Betsy Ross π½ dwitter.net/d/35791#flag#tinycode#javascript
with(x)for(font="7em'",i=43;!t&&i--;q||translate(360,292))q=i-13,fillStyle=i<13?'#fff':q?'#C03':'#026',i<13?rotate(.483,fillText('\u2605',-46,-175)):fillRect(0,(q-1)*167,...q?[2e3,83]:[720,752])
Made in USA πΊπΈ dwitter.net/d/35783#javascript#tinycode
for(c.width&=i=6272;i--;x.fillStyle=(q=X<40&Y<28)?'#025':'#b02',(q?Y/3&1^X/3&1&&Y&&X<39&Y<27:Y%8>2|Y>51)||x.fillRect(27 X*.7 X/48*C(X/8-Y/9-t*6),9 Y*.7 X/20*S(X/16-t),1,i>3||99))X=i,Y=i/99|0
this is kind of silly but i made a virtual pen plotter simulator where you can drop in an svg and plot as if it were a real physical device. it even has sound! π #generativeart#plottertwitter
link to live demo:
killedbyapixel.github.io/Virβ¦
includes sample svg incase you are one of those weird people that don't just have a bunch of random svgs in your downloads folder π
ever wanted a pen plotter but don't have the money, time, or space? good news! I made one that's free, fits in a browser tab, and never runs out of ink. drop in an SVG and watch it go! ποΈβοΈποΈβοΈπ #generativeart#plottertwittergithub.com/KilledByAPixel/Viβ¦
this is kind of silly but i made a virtual pen plotter simulator where you can drop in an svg and plot as if it were a real physical device. it even has sound! π #generativeart#plottertwitter
Iβm happy to announce the release of a new open source 3D physics engine called Box3D. Iβve been working on this project for a few years now, but it represents over 20 years of experience writing physics engines for games. Read more here: box2d.org/posts/2026/06/annoβ¦
zzfx now running on playdate!! no wave files, code converted to c, works exactly the same as javascript version. been wanting to do something for the playdate since i got it. ππ π @playdate#indiedev#gamedev