
Hacking on random game engine tech w/ https://teapawt.org/t.co/kG4rTrZREf🌱🏞. Previously lead dev at @BitshiftEnt; @msmakecode; @koduteam
Seattle, WA
Joined April 2021
- Tweets856
- Following815
- Followers429
- Likes3.3K
Daryl Zuniga retweeted
My "No Graphics API" blog post is live! Please repost :)
sebastianaaltonen.com/blog/n…
Daryl Zuniga retweeted
This is great. Two related thoughts!
- Having detailed performance available at any time in any build at a single hotkey, structured to fit your application and displayed inline, is super valuable - even if you also use external profilers. microprofile at Roblox was like that.
- It shouldn't matter in theory, but in practice I feel like there's correlation between units you use to think about performance and the resulting performance. We often talk about milliseconds per frame but a millisecond is an eternity! 30 microseconds is something you pay attention to, 0.03 milliseconds may slip by unnoticed.
I've been dreaming of this C++ profiler for my game for over a year. It's now here. It shows me the slowest code logic that runs over my game components in real time. Each one is a lambda that I can find at the file name and line number.
An hour after I made this, I already optimized my game significantly by actually seeing what was slow and then optimizing it. For example, I optimized a C++ lambda from 750us down to 50us (cost per frame).
This level of introspection into my game is god-like vision. Not seeing any perf impact of having this on either, so it's on by default.
Daryl Zuniga retweeted
"Revive"
vec3 p,P;for(float z,d,i;i++<1e2;z+=d,o+=(1.2-sin(t+z/vec4(8,7,6,0)))/d){p=z*normalize(FC.rgb*2.-r.xyx),P=vec3(atan(p.y-=7.,p.x)*3.,p.z*.3,length(p.xy)-11.);for(d=1.;d<9.;d++)P+=sin(P.yzx*d+.1*z-t)/d;d=length(vec4(P.z*5.,cos(P)-1.))/2e1;}o=tanh(o/1e3);
Daryl Zuniga retweeted
synopsis post:
recently i've been working on a rendering prototype. it's a Wolfenstein style fan raycaster.
it has:
displacement mapped walls
terrain raycaster floors (entirely different tech, but texture matched).
(angle constrained) real time shadows
Daryl Zuniga retweeted
First update of my online webgpu particle life simulator: the number of particle types is now also randomized each time (from 2 to 16), leading to greater variety!
lisyarus.github.io/webgpu/pa…
Daryl Zuniga retweeted
Published my WebGPU Particle Life simulation online! Obviously it requires WebGPU support, and it's quite resource-demanding, so I've set the particle count to 64k for now. Also it probably doesn't work on mobile; will fix later 😅
Link below 👇
Daryl Zuniga retweeted
I would really like to see an open source engine that wasn't a framework. It was just a collection of libraries that work well together, each maintained by a small team. You could take any of these libraries and use it separately. Would be interesting to see where that goes.
Daryl Zuniga retweeted
"Heavenly"
for(float i,z,d;i++<1e2;o+=(cos(z+t+vec4(6,1,2,3))+1.)/d){vec3 p=z*normalize(FC.rgb*2.-r.xyy);p.z-=t;for(d=1.;d<9.;d/=.7)p+=cos(p.yzx*d+z*.2)/d;z+=d=.02+.1*abs(3.-length(p.xy));}o=tanh(o/3e3);
Daryl Zuniga retweeted
Hilbert curve is so cache-local that next neighbor is always 1 unit away. This marble track wouldn't work with Morton order (or linear scanlines). Those require teleporting the ball (= cache miss).
Daryl Zuniga retweeted
Mesh distance field repels Water: sampling scalar SDFs and injecting the vector gradient into sim velocity field. FluidNinja LIVE 2.0 pre-alpha, 100m area, 2K sim, 260 FPS on RTX3080
#unrealengine #UE5 #realtimevfx #fluidninja
Daryl Zuniga retweeted
FFmpeg makes extensive use of hand-written assembly code for huge (10-50x) speed increases and so we are providing assembly lessons to teach a new generation of assembly language programmers.
Learn more here:
github.com/FFmpeg/asm-lesson…
Daryl Zuniga retweeted
"Fire"
vec2 p=(FC.xy*2.-r)/r.y,R;p*=1.-vec2(.5*p.y,.5/(1.+p*p));p.y-=t;float F=11.,N,d;for(R.x=F;F<50.;F*=1.2)p+=.4*sin(F*dot(p,sin(++R))+6.*t)*cos(R)/F;N=snoise2D(p*4.);d=length(p+vec2(0,t+.5))/.3-++N;N+=snoise2D(p*8.);o=tanh(++N/(.5-.1*N+max(d/.1,-d)*abs(d)/.3)/vec4(1,3,9,1));
Daryl Zuniga retweeted
More progress on the lighting for my cozy town building game. Lots of small tweaks and the ocean and materials are back.
Still more to do with the sky lighting, but first I want to get the sun light back and add contact shadows, then some more interesting textures and foliage!
Daryl Zuniga retweeted
Reminder! enginearchitecture.org/2025.…
Daryl Zuniga retweeted
Thrilled to announce... devblogs.microsoft.com/types…
Daryl Zuniga retweeted
A fluffy cloud shader. It is using the same impostors as the trees, in case that isn't obvious.
Daryl Zuniga retweeted
REAC 2025 has been announced! Call for submissions is now OPEN! Deadline is March 28th. Our submission process is simple, give it a try! Make a good case for your presentation and see you at REAC! enginearchitecture.org/2025.…
Daryl Zuniga retweeted
The 8-bit breadboard computer I've been working on over the last few months is almost complete! Here it is running a program that calculates the Fibonacci numbers.
Based on Ben Eater's fantastic Youtube tutorials.

















