A Garden of Small Miracles

3D graphics demos, open source projects, and posts by Wang Kai.

Map of Sichuan - 3D graphics

Sichuan, giant panda's homeland.

DEM heightmap with satelite image overlay.

Shaded relief rendering with miniature effect.

Sinner's Finale - MIDI visualization

Music from Genshin Impact, Focalors Sacrifice Theme.

MIDI playback.

GPU particles and basic post effects.

The Earth - 3D graphics

Rendering an interactive earth globe.

Parallax cloud effect.

Rayleigh and Mie atmosphere scattering.

Lens-flare Post-Process.

Endless Ocean - 3D graphics

Rendering an endless ocean terrain with Level of Detail.

Fast Fourier Transform ocean waves simulation.

Physically based ocean lighting.

kwui - GUI library

kwui is a gui toolkit for creating graphical user interfaces, for Windows and Android.

It uses JavaScript and CSS to describe the UI, and Rust for business logic.

All that is gold does not glitter,
Not all those who wander are lost
The old that is strong does not wither,
Deep roots are not reached by the frost.

From the ashes a fire shall be woken,
A light from the shadows shall spring;
Renewed shall be blade that was broken,
The crownless again shall be king.

-J.R.R Tolkien