Skip to content
Michael Malura
734 GitHub stars 5768 npm downloads 56 Projects

Blog

Posts

Subscribe to new posts RSS JSON

Filtered by “gamedev”: 23 Reset filter

Blending Noise Layers
New
16.11.2026
Blending Noise Layers

One fBm looks the same everywhere. Continent, mountains and detail as three layers, four blend modes (add, multiply, mask, lerp) and a number that shows why mountains should only stand where the land is high.

gamedev, noise
Height Curves and Terraces
13.11.2026
Height Curves and Terraces

The same noise, shaped differently: a curve you can drag makes plains and steep summits, terraces with a slope instead of a cliff, and ridge…

gamedev, noise
Terrain from Noise
10.11.2026
Terrain from Noise

One random number per pixel gives only grain. Value noise and gradient noise side by side, the fade curve that hides the grid, and why only…

gamedev, noise
Vorschau der Demo: Easing und Tweening
30.10.2026
Easing and tweening

How does something move smoothly from A to B? Eleven easing families as a gallery, the formulas and where their constants come from, and a t…

gamedev, math
Wie OGame, Travian und Die Stämme ohne Game-Loop auskommen: Game Dev
30.10.2026
Wie OGame, Travian und Die Stämme ohne Game-Loop auskommen
gamedev, javascript
Vorschau der Demo: XP-Kurven
23.10.2026
XP curves

How much XP does the next level cost? Linear, polynomial, exponential and the RuneScape curve to tweak, plus the play time per level and a p…

gamedev, gamedesign
Vorschau der Demo: Voronoi-Diagramme
16.10.2026
Voronoi diagrams

Scatter points, every pixel belongs to the nearest one. Brute force in the fragment shader, border distance instead of a difference, three m…

gamedev, glsl
Vorschau der Demo: Ray Marching
09.10.2026
Ray marching

No triangles, just a distance function: a fragment shader walks through the scene in steps for every pixel, merges a sphere, a box and a tor…

gamedev, glsl
Vorschau der Demo: Wasserwellen in 3D
02.10.2026
3D water waves

Six Gerstner waves in the vertex shader, exact normals from the derivatives, foam from the Jacobian determinant and a buoy that the CPU floa…

gamedev, 3d
Vorschau der Demo: Wasserwellen in 2D
25.09.2026
2D water ripples

Two arrays, three lines of wave equation on the CPU and a shader that turns the height field into water with refraction and a specular highl…

gamedev, simulation
Vorschau der Demo: Pixel-Wasser
18.09.2026
Pixel water

A basin, a tap and sand sinking through water. Falling sand with water on a pixel texture, plus the update order trap, why water slides furt…

gamedev, algorithms
Vorschau der Demo: Rigid Bodies
11.09.2026
Rigid bodies

Circles and boxes with impulses: collision normal, penetration depth, restitution, friction and why a stack of crates shakes. With a demo to…

cpp, gamedev
Vorschau der Demo: Bild laden und rendern
04.09.2026
Loading and rendering an image

From a PNG file to a pixel on screen: chunks and CRC, an SDL_Surface with pixel format and pitch, a texture with nearest or linear scaling,…

gamedev, graphics