Snow Simulation

A relaxing, interactive snowfall simulation built in C with Raylib. Adjust the color, density, size, and wind, and let it run.

Note: Tested on Linux Mint and Pop!_OS with GCC. Some features may not work correctly on Windows or WSL.
Snow simulation showing falling snow with wind effects
The simulation in action
Ad Proton

Privacy first

Encrypted Email, Drive, Calendar & VPN

What it does

Adjustable snow color

Pick the color of the falling snow to set the mood.

Customizable snowdrop size

Scale the individual snowflakes up or down.

Adjustable snow density

Control how heavy the snowfall is, from a light dusting to a blizzard.

Wind effect

Snow drifts realistically with a configurable wind effect.

Original music

Toggle a music track composed for the simulation.

Built with Raylib

A small, fast C application using the Raylib graphics library.

How it works

  1. 1 Install a C compiler (GCC) and the Raylib library.
  2. 2 Clone the repo and run make to build the project.
  3. 3 Launch the binary to open the simulation window.
  4. 4 Use the on-screen controls to tweak color, density, size, and wind.

Try it yourself

Clone the repo and build it with the included makefile. Requires GCC and the Raylib library.

git clone https://github.com/Sieep-Coding/snow-simulation.git
cd snow-simulation
make

Run the resulting binary to open the simulation window.

Full README on GitHub →