A flag waving in space.
No wind. No fabric. No physics engine.
Just this:
float wave = sinf(x*0.3f + t*3.0f);
float y2 = y + wave * (x*0.15f);
float bright = 0.5f + sinf(x*0.2f - t*2)*0.5f;
char c = " .:-=+*#%@"[(int)(bright*9)];
Follow for more ASCII math.
This is what a black hole
looks like up close.
Not from a Nobel Prize telescope.
Not from a $10 billion observatory.
From a terminal.
Running C.
At 60fps.
float ring = 1.0f/(fabsf(r-40)*0.3f+1.0f);
float spin = cosf(a*3 + t*2)*0.5f+0.5f;
Follow for more ASCII math.
You are here.
Somewhere in this spiral,
on a tiny rock.
This is the Milky Way.
Not from the Hubble telescope.
From a terminal. Running C.
float a = r*3.5f + arm*(TAUf/3) + t*0.4f;
float x = cx + cosf(a)*r;
float y = cy + sinf(a)*r*0.45f;
Follow for more ASCII math.
This astronaut has been floating
400km above Earth
for 53 years.
He lives in a terminal.
Written in C.
float dx = x - limb[i].x;
float dy = y - limb[i].y;
float d = sqrtf(dx*dx + dy*dy);
char c = " .:-=+*#%@"[(int)(9.0f/d)];
No NASA budget.
Follow for more ASCII math.
A spacecraft drifting through space.
No Blender. No Unity. No 3D engine.
Just this:
float dx = x - part[i].x;
float dy = y - part[i].y;
float d = sqrtf(dx*dx + dy*dy);
char c = " .:-=+*#%@"[(int)(9.0f/d)];
Every hull plate is a distance field.
Follow for more ASCII math.
This is a black hole firing
relativistic jets into space.
No simulation engine.
No physics library.
Just this:
float jet = fabsf(dx) < 2.0f ?
1.0f/(fabsf(dy)*0.1f+1.0f) : 0;
float disk = 1.0f/(r*0.15f + 1.0f);
Follow for more ASCII math.
A galaxy with a ring.
Built from 3 lines of C.
float r = sqrtf(dx*dx + dy*dy);
float tilt = sinf(r*0.06f - t)*25.0f;
char c = " .:-=+*#%@"[(int)(bright*9)];
The ring isn't drawn.
It emerges from the math.
Every character finds its own orbit.
Follow for more ASCII math.
A star just died.
This is what it looks like
in pure ASCII C.
float d = sqrtf(dx*dx + dy*dy);
float wave = sinf(d*0.3f - t*4.0f);
float bright = wave / (d * 0.1f + 1.0f);
A shockwave expanding at the speed of math.
No simulation engine.
Follow for more ASCII math.
This is not CGI.
This is not Blender.
This is not a game engine.
This is a terminal.
Running a C program.
At 60fps.
float nx = cosf(lat)*cosf(lon);
float dot = nx*lx + ny*ly + nz*lz;
putchar(" .:-=+*#%@"[(int)(dot*9)]);
Follow for more ASCII math.
A spiral galaxy viewed from the edge.
Built entirely from ASCII characters in C.
The tilt is just one multiplication:
float a = r*3.5f + arm*(TAUf/2) + t*0.6f;
float x = cx + cosf(a)*r;
float y = cy + sinf(a)*r * 0.4f;
Two spiral galaxies colliding.
No physics engine.
Just this:
float r = sqrtf(randf()) * maxR;
float a = r*3.5f + arm*(TAUf/2) + t*0.8f/r;
float x = gx + cosf(a)*r;
float y = gy + sinf(a)*r*0.5f;
Two galaxies drifting into each other.
Pure C. Pure math. Pure ASCII.
All from 2 lines of C:
int revs = (int)(0.5f + baseRevs / SOLAR[p].period);
float a = TAUf*revs*t,
ox = cosf(a)*orbitR,
oy = sinf(a)*orbitR;
I asked @Grok how to make
all 8 orbits sync into a perfect loop.
float ang = f*turns*TAUf + TAUf*t;
float x1 = C+cosf(ang)*S*0.17f, x2 = C+cosf(ang+3.14159f)*S*0.17f;
A rotating DNA double helix made entirely of text characters, from 2 lines of math.
Two strands offset by 180 degrees, the angle just winds with time.
I rendered a video into ASCII using C. 60fps. No libs.
The entire magic is just this:
void render(uint8_t *buf, int w, int h) {
for (int y = 0; y < h; y += h/ROWS)
for (int x = 0; x < w; x += w/COLS)
}
Raw pixel → grayscale → 10 chars.
That's it.
Somewhere between order and chaos, there’s a graph view a quiet map of every thought you’ve ever connected. Obsidian doesn’t just store your notes. It shows you how your mind actually moves. #obsidian#graph