Lewis Nakao
lewdev.bsky.social
Lewis Nakao
@lewdev.bsky.social
Software Engineer #gamedev #webdev #JavaScript #codegolf #tinycode

I like making tiny apps and games.
Reposted by Lewis Nakao
Venezuela 🇻🇪 www.dwitter.net/d/34681 #javascript #tinycode

t=t*60|0
x.fillStyle=t?t>2?'#fff':t>1?'#D13':'#028':'#FC0'
x.fillRect(0,t*360,2e3,360)
t-2?x.font='7em"':x.translate(960,760)
t>2&&t<11&&x.fillText('\u2605',-370,-70)&x.rotate(.36)
January 7, 2026 at 6:08 PM
Reposted by Lewis Nakao
LittleJS Jam is live! The theme is: SMALL. You've got one month to build a browser game with LittleJS. There is a $100 cash prize for best game and $100 for charity. All aboard, full speed ahead! Choo choo! 🚂🤏🔍🐞

itch.io/jam/littlejs...
LittleJS Game Jam 2025
A game jam from 2025-10-03 to 2025-11-17 hosted by Frank Force Games. Welcome to the second annual LittleJS Game Jam ! This event is an exciting opportunity to unleash your creativity and develop amaz...
itch.io
October 3, 2025 at 2:04 PM
Reposted by Lewis Nakao
Play my new game Ant1k Attack! Made for js1024 this game fits in only 1k of Javascript. It is a simple game with realistic graphics and movement. Inspired by the Gnat Attack game in Mario Paint. 🐜👍 #javascript #tinycode #js1024

js1024.fun/demos/2025/1...
July 12, 2025 at 3:26 PM
🖌️ Mini 2-Color Pixel Editor
I made a Base 69 storage method that excludes URL unsafe characters so that you can share your 2-color pixel art creations.

👉 Storage method extracts and combines three 3-bit values to each character.

#tinycode #javascript
June 22, 2025 at 1:21 AM
Reposted by Lewis Nakao
Been messing around with pseudo-3D road design recently, using only JavaScript. How far can we go before losing performance? 😅

#indiedev #gamedev #indieweb #creativecoding #vanillajavascript
May 9, 2025 at 7:51 PM
Reposted by Lewis Nakao
Grassland 🦗 www.dwitter.net/d/33933 #tinycode #genart #javascript

c.width|=G=Y=>X%1*S(X^Y)+S(X-1^Y)*(1-X%1)
for(i=2e4;Y=i--/2e3;x.arc(A,B,S(A>>7|Y*5)<0||40+i%50,a=(G(Y,X=A/99+t*3)*(1-Y%1)+Y%1*G(Y+1,X)-9-i%.7)/5,a))x.moveTo(A=i**3.3%2e3,B=i/16-i%99)
x.stroke()
June 10, 2025 at 2:31 PM
⏺ Not a clever #checkers board dwitter.net/d/33834
#tinycode #javascript in 183b

with(x)for(reset(w=i=64);i--;)fillStyle=(B=(r=~~(i/8))%2-i%2)?"#333":"#AAA",fillRect(X=i%8*w,Y=r*w,w,w),font="4em'",fillStyle=B&&r<3?"red":"#000",B&&(r<3||r>4)&&fillText("⏺",X+5,Y+55)
May 23, 2025 at 7:04 PM
Reposted by Lewis Nakao
Watercolor Textures 🖌️ www.dwitter.net/d/33833 #javascript #tinycode

for(i=3e3,C(d*t)>.999?x.fillStyle=`hsl(${d**3%i} 99%${C(d)*40+40}%`:R=0;i--;)x.fillRect(i,R+t*99,.05,R+=C(i*i*++d))}{d=Date.now()
May 22, 2025 at 4:10 PM
Reposted by Lewis Nakao
Ants! 🐜 www.dwitter.net/d/33697 #javascript #tinycode

with(x)for(j=c.width|=0;j--;rotate(S(j**3)/9-.01),translate(0,9))for(i=6,a=j+t*60|0;i--&&T(a*a)>6;beginPath(fill()))ellipse(S(a)*30,...i>2?[0,30,1,S(i*2+j/9)]:[i*20-20,i-1?8:4,i>1?7:15,0],0,9)
May 1, 2025 at 7:44 PM
Reposted by Lewis Nakao
Triangle Grid △ www.dwitter.net/d/33704 #javascript #tinycode

x.fillRect(4e3,2400-(t*20|0)*40,-8e3,2)
x.rotate(1.0472)
May 2, 2025 at 5:56 PM
Reposted by Lewis Nakao
Blind Madness 🔮 www.dwitter.net/d/33384 #generativeart #javascript

t?t*=60:d=Date.now()%1e7
for(i=w=2e3;i--;)for(j=9;j--;x.fillRect((i-t)*2+960,j*16+t+i-z%141-512,2,16))x.fillStyle=`hsl(${z=(i>>4&t>>4)*9|d},${z%99}%,${(i%8<7?t%8<7?34:59:9)+z%30+i%8-t%8-j*9}%)`
February 18, 2025 at 7:55 PM
Reposted by Lewis Nakao
I know, it's really bad! There was a microphone hanging down but it seems like it wasn't turned on. This talk is basically the same as my talk at nerd nite which has much better video and sound quality! youtu.be/CagnRwPkw_M?...
"JavaScript Haikus - Tiny Code Adventures" by Frank Force - Nerd Nite Austin 160, July 2024
YouTube video by Nerd Nite Austin
youtu.be
February 14, 2025 at 4:15 AM
I code in #JavaScript as a hobby and also practice #judo, but they don't mix well, at least since I got back at it for the past 6 weeks, one hard practice a week.

It leaves me little mental energy to code. I hope to find a balance as I keep this schedule going.

Anyone else an athlete and coder?
November 15, 2024 at 1:45 AM
📺Here's a video of my #js13k game, 13attle TanKs.

🕹 Play here: dev.js13kgames.com/2024/games/1...

👉 It's a top-down tank-controls action shooter game made with a custom game engine in JavaScript.

🙏 Let me know what you think!
September 15, 2024 at 4:08 AM
This is how my #js13k game was submitted because it was just barely over the 13k limit and I was late for dinner. I removed the tabbed spaces and hand-removed comments. With actual compression, I could have done more but I also had too little time left to do it.
September 14, 2024 at 12:06 AM