AMadan (@AMadan4) header
AMadan (@AMadan4) profile picture

CTO @PostGridInc | UWaterloo CS 21 | Compilers, engines, I got serious about games in 2012 so everything's a platformer; Play my stuff https://teapawt.net/t.co/5ihb5trENx

Joined August 2012
Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)Photo by AMadan (@AMadan4)
AMadan retweeted
The first way people usually learn code compression is by pulling common things out into helper functions, but in my view the complexity of adding a new entry point is often overlooked, and things quickly turn into a mess. It’s a useful exercise to try compressing code without helper functions, and instead merging similar work by using loops, tables, and reordering. In my experience this leads to dramatically simpler architecture, and it’s a lot easier to keep the whole picture in your head.
34
28
2
767
45,523
This is a demonstration of what would happen if a helicopter's engine quit while you were on approach to a mountain. [📹 Pilot Yellow]
151
1,225
191
11,536
5,446,856
my god they're maybe finally adding reflection to C++26 open-std.org/jtc1/sc22/wg21/…
12
15
5
202
33,653
Let's Port a Unity Game to Your Own Engine: Part 1 open.substack.com/pub/altdev…
8
117
6
417
78,193
We've been working quietly on the Anniversary Edition of Braid for a **while**, but we can now announce that the release date is April 30, 2024. Here are some fun details: [1/n]
91
483
130
3,493
586,896
So, we all read about ZIP compression as a language model, but did you know that QOI image compression works nicely to detect seizures? Fascinating thread!
Today I finished my core seizure-detection algorithm. My idea is so stupid it might actually work! In one sentence: find the entropy of a seizure by turning it into an image. Read on to find out more! cc: @_buildspace @FarzaTV @_nightsweekends
1
6
28
4,421
My guy brute forced every single melody in human history then copyrighted them all
343
1,509
487
12,082
2,791,998
When I first implemented skeletal animations, I got really confused by all the transformations and coordinate systems; even more so when working with the glTF format. Now I've finally finished an article with all the gory details: lisyarus.github.io/blog/grap… #graphics #animation
7
26
1
183
15,319
If you know the answer, please don't share your answer/insight...yet. Some nice conceptual understanding--and flexible thinking:)
144
319
79
2,051
547,011
I argue that a simplified production Twitter could run on one (big) machine using modern hardware like NVMe, 100Gbps NICs, A100s and a terabyte of RAM. Even typical image serving and basic algorithmic timelines might fit: thume.ca/2023/01/02/one-mach…
40
85
35
892
377,450
AMadan retweeted
Great, practical, guide on how to write a successful library. When people talk about why X is great, most trendy topics are highly overrated and the topics in this post are highly underrated. cbloomrants.blogspot.com/201…
8
103
15
697
This crow snowboarding on the roof of a building using a jar lid teapawt.net/minouye271/status/1051…
1,284
43,673
3,074
302,986
Basic fact all graphics coders should know: To uniformly sample points in a disk, you'd think you could just pick a random radius r ∈ [0,1] and a random angle θ ∈ [0,2π] to generate points r (cos θ, sin θ). This doesn't work! …But take the square root of r, and it does! 1/3
46
677
83
4,763
1/6 A year and a half later, I finally finished my black hole project. #madewithunreal and now powered by #Niagara, this shader/sim implements physically correct gravitational lensing, which bends the light in all kinds of groovy ways! #gamedev #realtimevfx #astronomy #UE4 #UE5
60
652
66
3,290
The single most undervalued fact of linear algebra: matrices are graphs, and graphs are matrices. Encoding matrices as graphs is a cheat code, making complex behavior simple to study. Let me show you how!
175
3,105
436
17,294
wish there was an AI tool that automatically converted video tutorials into text+screenshot tutorials
5
24
1
222