WinterNight is a processing sketch that simulates a beautiful, snowy winter night scene with falling snowflakes, moon, stars, buildings, and cars. The scene is dynamic and interactive, as users can modify the scene by clicking or moving their mouse.
- Dynamic snowflakes that fall and are affected by wind speed
- Buildings with random heights and widths, featuring lit windows
- Moving cars with directional changes
- Moon and stars with varying brightness
- Bridge with shadows and reflection
To run this sketch, you will need the Processing software, which is available for Windows, macOS, and Linux. Or check it out here at OpenProcessing.org.
You can customize the parameters of the scene by modifying the variables at the beginning of the code. This includes the number of snowflakes, cars, buildings, and stars, as well as the wind speed and the probability of lights being on in the buildings.
This project is licensed under the MIT License. See LICENSE for more details.