Tag Archives: javascript

ZzFX – Zuper Zmall Zeeded Zound Zynth

Major update to ZzFX, my JavaScript sound effect generator! The browser is greatly improved with many more options. You can even download wave files! The micro version is still under 500 bytes. Live Demo: zzfx.3d2k.com GitHub: github.com/KilledByAPixel/ZzFX Here’s the latest … Continue reading

Posted in JavaScript | Tagged , , | Leave a comment

Dissecting A Dweet: Parallax Mountains

Today we will dissect the tiny JavaScript code that draws a parallax background with mountains and sky. This simple code can be used as a base to create different types of background scenes for your game or website. View post … Continue reading

Posted in JavaScript | Tagged , , | Leave a comment

Bogus Roads – LowRez Game Jam

My 64×64 pixel game for LowRezJam is out, go play it now! This game is a complete experience with everything from a main menu to a win screen and tons of polish. The gameplay is simple but I invested a … Continue reading

Posted in Game Dev | Tagged , | Leave a comment

Dissecting A Dweet: Breaking Broke

Today we will examine the JavaScript code to make this awesome shatter effect. The concepts demonstrated by this dweet can be used for making a variety of cool effects. In one of my previous posts I showed a similar technique … Continue reading

Posted in JavaScript | Tagged , , | Leave a comment

Dissecting A Dweet: Strange Attractor

Hello everyone, today we will be looking into the JavaScript code that generates this cool looking visualization of a Lorenz system. It is based on a set of simple equations that produces incredible fractal spirals first discovered by Edward Lorenz … Continue reading

Posted in JavaScript | Tagged , , | 2 Comments

Dissecting A Dweet: Ring Weave

The dweet we will be looking at today may be the simplest one so far, but it’s every bit as mesmerizing and uses a neat trick to plot polar coordinates. There is plenty of room for playing around with the … Continue reading

Posted in JavaScript | Tagged , , | Leave a comment

Dissecting A Dweet: Mini Black Hole

Today we will be examining my most popular dweet, a miniature black hole simulation! It’s one of my easiest dweets to explain and the code is fairly straightforward. Read on for a full analysis… for(i=0;i<2e3;x.fillRect(i?960+i*S(F=260*(t+9)/i+S(i*i)):0,i?500+.2*(2*i*C(F)+2e4/i):0,K=i++?S(i)*9:2e3,K))x.fillStyle=R(99*i,2*i,i,i?1:.4) View post on imgur.com

Posted in JavaScript | Tagged , , | 12 Comments

Dissecting A Dweet: Spirograph Design Generator

Today we will be examining this crazy small JavaScript program that generates an array of endless random spirograph designs. Read on for a full explanation of how it works. for(i=144;q=(8+t>>3)*i–;x.fillRect(i%16*120+T(S),(i>>4)*120+T(C),2,2))t%24<1?c.width|=r=n=>S(q**n)*9|0:T=f=>5*r(4)*f(r(3)*t)+9*f(r(2)*t)+60

Posted in JavaScript | Tagged , , | 2 Comments

Dissecting A Dweet: Spiral JavaScript Quine

This is the first in a series of posts where I will analyze a dweet’s code, explain how it works, and why it was done that way. A dweet is a 140 character JavaScript program published on Dwitter. The goal … Continue reading

Posted in JavaScript | Tagged , , | 4 Comments

“SPENDOTRON: 2019” – Ludum Dare 44

The theme for Ludum Dare 44 was “Your Life is Currency”. This was my 9th Ludum Dare and first one using Javascript. You can play it in browser on itch.io! It’s been over 4 years since the last time I’ve … Continue reading

Posted in Game Dev | Tagged , , , | Leave a comment