-
In 2019, I submitted an entry to the Optical Illusion of the Year Contest and, amazingly, it won! ππ Now, it has over 3 million views on YouTube.
Always dream big and try the weird stuffβyou never know what might happen! π #OpticalIllusion #DreamBig
No two are alike. Infinite Spirograph generator. Mathematics and beauty. Forever.
By Frank Force, @KilledByAPixel, Used with permission. Source: http://frankforce.com/?p=6269Mathematics. Universe.
Man simulates miniature black hole with a tiny fragment of code. Becomes godlike. Source (including code): http://frankforce.com/?p=6378
By Frank Force, @KilledByAPixel, Used with permission. KilledByAPixel’s GitHub
3d 48 hour game art automata barfcade candy code codepen delta smoothing delta time devlog doom dwitter educational game experimental gameplay faster blaster font fractal frank engine fxhash game game dev game engine gamejam Game Jam generative GIF github indie speed run infinite javascript js1k js13k json littlejs ludum dare MAGFest music Panel piroot pixel Postmortem programming puzzle rapid prototype recursive rendering rogue-like screensaver secret formula sifteo Squaresville thought experiment threejs time loop tinycode UE4 wallpaper words zzfx
Tag Archives: generative
Dissecting A Dweet #7: 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. for(w=i=99;i–;)for(j=0;j<9;x.fillRect(i*20,j++?w*j+w+w*C(q/9)/j+59*C(q/3.9)/j:0,20,3e3))q=(j*w+i+t*j**3),x.fillStyle=R(9+j*40%w,j*20,w-j*9) Continue … Continue reading
Dissecting A Dweet #6: 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
Dissecting A Dweet #4: 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
Dissecting A Dweet #3: 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)
Dissecting A Dweet #2: 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
Dissecting A Dweet #1: 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
MinBytes – A Minimal Bytebeat Album in 1024 Bytes
This is a full album with 9 tracks and visualizer in 1k of JavaScript! Each song is created by a tiny function. For example, the first song on the album uses the simple function (t&t>>8). It is amazing the complexity … Continue reading
Pixel Fractal Shadertoy
I’ve been working on some recursive shaders with Shadertoy… See more on my Shadertoy profile page.
Pixel Words Game
For Feburary’s experimental gameplay project the theme was ASCII. I thought it would be cool to reuse some of the tech from my Pixel Words Screensaver and turn it into a word game. This game was also released as part … Continue reading
Protractor – Postmortem
Last weekend I participated in Ludum Dare 18 and worked intensely for 48 hours to create an interesting little game called Protractor, here’s a link to my competition entry. Leading up to the comp I played some winners of the … Continue reading