News for hackers. Stuff that matters.

gopla

Re:Implementing a Tiny CPU Rasterizer on Friday January 30, 2026 @11:32AM (#46826426)
An additional resource on rasterisation, using the scan conversion technique:

https://kristoffer-dyrkorn.github.io/scanline-rasterizer/

Re:Translating a Fortran F-16 Simulator to Unity3D on Friday September 26, 2025 @10:47AM (#45387135)
Great writeup! Here is the result of my take on the same process - but translating to JavaScript instead so the simulator runs in the browser.

I later added the high fidelity flight dynamics model by translating C code.

https://github.com/kristoffer-dyrkorn/flightsimulator

Re:How to draw ugly lines fast on Tuesday December 20, 2022 @12:23PM (#34069048)
Here is an article that explains subpixel precision, with animations that show the effect.

https://kristoffer-dyrkorn.github.io/triangle-rasterizer/