Loading video...

Video Failed to Load

Go Home

Graphics API is irrelevant

796,689 views • 11 months ago •via X (Twitter)

35 Comments

Тsфdiиg's profile picture
Тsфdiиg11 months ago

References: - PPM Spec: - "Plasma" by @XorDev: - All the Source Code:

Tahir Dibirov II's profile picture
Tahir Dibirov II11 months ago

Me at 05:16

Walowitz - e/acc's profile picture
Walowitz - e/acc11 months ago

i love this so much in the age of ide shitifcation and bloat

Ant's profile picture
Ant11 months ago

Jesus Christ, thats Jason Bourne

Maciej 'sorek' Łoboda's profile picture
Maciej 'sorek' Łoboda11 months ago

I love your approach to programming. You are best teacher showing "yeah, you can use library, but if you manhandle it this works this way" And this is how you can really understand something fully in CP. Thank you for being there for us.

rubbie kelvin's profile picture
rubbie kelvin11 months ago

how do i reach this level of cracked?

Narendra Patwardhan's profile picture
Narendra Patwardhan11 months ago

I really love your videos because they are as much about the philosophy of life as they are about coding.

Urbane Myth's profile picture
Urbane Myth11 months ago

Long-form content? In this economy?

Anshuman Khanna's profile picture
Anshuman Khanna11 months ago

TLDR: Concepts >>>> Language/Tech Stack PS: Mind blown

fran's profile picture
fran11 months ago

this is so fucking cool

Andres Hernandez's profile picture
Andres Hernandez11 months ago

honestly feel like graphics api were a mistake. really all i want is a single "main dot shader" file or whatever, that runs compute on the gpu and you do whatever tf you want.

Custom Wetware's profile picture
Custom Wetware11 months ago

Irrelevant until you want to produce frames as fast as the screen can show them Yes yes I understand what you're trying to say

Arin Zingade's profile picture
Arin Zingade11 months ago

this was calming to just watch

Pochi's profile picture
Pochi11 months ago

This is a spicy take, I love it. It feels like the same argument as 'frameworks are irrelevant'. The real skill is in understanding the underlying principles, whether it's the graphics pipeline or the DOM!!

dawon 🇺🇸's profile picture
dawon 🇺🇸11 months ago

Wow this was an amazing video. Thank you for sharing, king.

Jani Laakso's profile picture
Jani Laakso11 months ago

GLSL to C, 🩷 it, shader is just a pure algorithm applied to an image, algorithm is the core, not so much the platform where it runs.

Paul Melamed's profile picture
Paul Melamed11 months ago

@agriffini I think what this demonstrates is that all graphics API can be replaced with PutPixel(int x, int y, unsigned int rgba)

Agustin Falaz's profile picture
Agustin Falaz11 months ago

Try to show this to a vibecoder

CaptainAmericaTex's profile picture
CaptainAmericaTex11 months ago

Wow! You just implemented a 3d animated graphic shader from scratch in 10 minutes. I think most programmers would take at least a week or two to do the same. Very impressive and informative!

Fareesh Vijayarangam's profile picture
Fareesh Vijayarangam11 months ago

cracked up the moment i heard operator overloading because i knew exactly where this was going lol

kumikumi (Ankkala)'s profile picture
kumikumi (Ankkala)11 months ago

what do you have to do to get a video player like this?

Kecho's profile picture
Kecho11 months ago

I love that now 'normie' programmers are pushing against the graphics API slop. Anybody can be a graphics programmer, we really have a slop problem, similar to web devs.

Новиков Алексей's profile picture
Новиков Алексей11 months ago

@XorDev Awesome! More than twenty years ago I did such things with BMP file format and used Windows Media Encoder to combine frames into video. I'm missing those times, life felt much simpler back than

Vantage Point ⨖ 🦊's profile picture
Vantage Point ⨖ 🦊11 months ago

I just realized: you type faster than an llm, you do it AS you reason, generate audio and video 🤖

Snob's profile picture
Snob11 months ago

Such a smart guy. Easy to understand, easy to follow...

Henrik Danielsson's profile picture
Henrik Danielsson11 months ago

I noticed the image generated here is flipped compared to the original. Is that because of the shader and PPM pixel order being different?

𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】's profile picture
𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】11 months ago

@XorDev P3 version of ppm is 100% text based. Doesn't specify encoding though but it's ASCII-ish🤦‍♂️

0xbogan's profile picture
0xbogan11 months ago

If you just want to generate videos, you can feed frame pixel data into ffmpeg directly via a pipe No need to write any files

Jordan Shurmer's profile picture
Jordan Shurmer11 months ago

One of the greatest tweets

Blarghamel Jones's profile picture
Blarghamel Jones11 months ago

@iquilezles even used humans as shaders

enes altun's profile picture
enes altun11 months ago

Nice! this could actually be the first 15-minute lesson for intro shader programming (and the important one)! 🙂

MoiSoto 🪐's profile picture
MoiSoto 🪐11 months ago

I loved this post, it's easy to understand and yet you learn so many things. Made me remember the old days programming mode 13h on DOS. Decided to try and make a real-time rendering version using SDL2:

Oto's profile picture
Oto11 months ago

Beautiful! Thank you!

Kelvin Ferreira's profile picture
Kelvin Ferreira11 months ago

This is art

Marcin Kłeczek's profile picture
Marcin Kłeczek11 months ago

I love this one.

Related Videos