正在加载视频...

视频加载失败

Graphics API is irrelevant

796,689 次观看 • 11 个月前 •via X (Twitter)

35 条评论

Тsфdiиg 的头像
Тsфdiиg11 个月前

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

Tahir Dibirov II 的头像
Tahir Dibirov II11 个月前

Me at 05:16

Walowitz - e/acc 的头像
Walowitz - e/acc11 个月前

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

Ant 的头像
Ant11 个月前

Jesus Christ, thats Jason Bourne

Maciej 'sorek' Łoboda 的头像
Maciej 'sorek' Łoboda11 个月前

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 的头像
rubbie kelvin11 个月前

how do i reach this level of cracked?

Narendra Patwardhan 的头像
Narendra Patwardhan11 个月前

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

Urbane Myth 的头像
Urbane Myth11 个月前

Long-form content? In this economy?

Anshuman Khanna 的头像
Anshuman Khanna11 个月前

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

fran 的头像
fran11 个月前

this is so fucking cool

Andres Hernandez 的头像
Andres Hernandez11 个月前

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 的头像
Custom Wetware11 个月前

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 的头像
Arin Zingade11 个月前

this was calming to just watch

Pochi 的头像
Pochi11 个月前

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 🇺🇸 的头像
dawon 🇺🇸11 个月前

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

Jani Laakso 的头像
Jani Laakso11 个月前

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 的头像
Paul Melamed11 个月前

@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 的头像
Agustin Falaz11 个月前

Try to show this to a vibecoder

CaptainAmericaTex 的头像
CaptainAmericaTex11 个月前

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 的头像
Fareesh Vijayarangam11 个月前

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

kumikumi (Ankkala) 的头像
kumikumi (Ankkala)11 个月前

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

Kecho 的头像
Kecho11 个月前

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.

Новиков Алексей 的头像
Новиков Алексей11 个月前

@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 ⨖ 🦊 的头像
Vantage Point ⨖ 🦊11 个月前

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

Snob 的头像
Snob11 个月前

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

Henrik Danielsson 的头像
Henrik Danielsson11 个月前

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

𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】 的头像
𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】11 个月前

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

0xbogan 的头像
0xbogan11 个月前

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 的头像
Jordan Shurmer11 个月前

One of the greatest tweets

Blarghamel Jones 的头像
Blarghamel Jones11 个月前

@iquilezles even used humans as shaders

enes altun 的头像
enes altun11 个月前

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

MoiSoto 🪐 的头像
MoiSoto 🪐11 个月前

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 的头像
Oto11 个月前

Beautiful! Thank you!

Kelvin Ferreira 的头像
Kelvin Ferreira11 个月前

This is art

Marcin Kłeczek 的头像
Marcin Kłeczek11 个月前

I love this one.

相关视频