Tag Archives: javascript

Dissecting A Dweet #9: City Sunset

Hello, tiny coders, I’m back with another dwitter dissection! Today we will explore the JavaScript code that produces this beautiful procedurally generated cityscape. for(z=k=2e3;k–;x.fillRect(i*9+S(z*t)*z|0,j*9+t*420,t?9:z,9))i=k%9,j=k/9|0,x.fillStyle=R(q=t?i*j%2*400*S(k*k*t):k/3+C(k*k)*39,q-99,t?q-k:99) Continue reading on for a full explanation of how it was made!

Posted in JavaScript | Tagged , , | 7 Comments

Major ZzFX Update

New ZzFX Features 19 parameters (over twice as many) 7 Presets for easier sound effect creation Improved web browser compatibility Streamlined user interface and workflow Cleaner and simpler code The fully minified version is under 1 kilobyte. So much more! … Continue reading

Posted in Game Dev, JavaScript, Projects | Tagged , , | 1 Comment

Interactive Mandelbrot Particles

An experiment to visualize how points move around the mandelbrot set. Draw with your mouse and watch the Mandelbrot set do it’s magic! See the Pen Interactive Mandelbrot Particles by Frank Force (@KilledByAPixel) on CodePen.

Posted in JavaScript, Projects | Tagged , | Leave a comment

Tiny Coding: Making Big Games With Little Code

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

How to make a 3D game in only 2KB of JavaScript

Months ago, when I heard that the legendary JS1k game jam would not be continuing, I talked it over with some other devs and decided to help fill the void we would host a 2k game jam on itch called … Continue reading

Posted in Game Dev, JavaScript | Tagged , , , | 26 Comments

Egg Time Rewind – An egg cracking low res shooter

Time REWINDS you die… but your PREVIOUS LIVES remain. This game was made in 4 days for Nokia 3310 Jam 2 with the limitation of 84×48 resolution and only 2 colors. The them was “Death is Good”. It is written … Continue reading

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

JSONCrush – Compress JSON into URL friendly strings

I just open sourced an amazingly useful tool called JSONCrush. This simple system allows for excellent compression of URI encoded JSON strings using the JSCrush algorithm. It seems almost like magic how well it works. The minified version is under … Continue reading

Posted in JavaScript | Tagged , , | Leave a comment

ZzArt – Abstract Art Evolution

This tool generates GLSL shaders (basically a bunch of math equations) that you can evolve into incredibly varied works of abstract generative art. Images can be bookmarked, save as HD pngs or exported as GLSL shader code. The satellite feature … Continue reading

Posted in JavaScript, Projects | Tagged , , , | Leave a comment

Dissecting A Dweet #8: Shattered Tunnel

Howdy, folks! Today we will be looking at the JavaScript code behind this amazing 3D tunnel effect. This code has an interesting lineage so we’ll also talk about some of the history behind it. for(c.width|=k=i=960;z=–i;x.fillStyle=`hsl(0 99%${i/9}%`)x.fillRect(k-z*C(j=i/k+t/4)+S(m=k*j)*(r=1e5/z),540+C(m)*r-z*S(j),s=3e4/z*S(j*9),s) Continue reading on for … Continue reading

Posted in JavaScript | Tagged , , , | 3 Comments

Bounce Back Postmortem

The JS13k competition has been going on every year since 2012 but this was my first year entering. Participants get 1 month to make an original 13 kilobyte JavaScript game. This year the theme was “Back” and there were 245 … Continue reading

Posted in Game Dev, JavaScript | Tagged , , , | 4 Comments