mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-10 21:38:14 +00:00

SDL does this for you; explicit seeding is only for reproducing a specific sequence of numbers (or maybe reseeding at a later point).
This example creates an SDL window and renderer, and then draws a something roughly like a Christmas tree with nothing but lines, every frame.