Skip to content

SquidDev/Python-Clouds

Repository files navigation

Python-Clouds

Python Cloud generation with Pyglet and Perlin Noise.

Explaination

This works with Perlin Noise. It simply passes the X and Y coordinates through Perlin Noise. It takes this, and fades the clouds out from the edge.

Clouds are generated in chunks, each in a separate thread.

Playing Around

If you need to change settings there is a Config.py file:

  • CloudHeight: The max height of the clouds to generate.
  • CloudWidth: The width of each 'Cloud chunk'.
  • PixelSize: The size of each pixel. A higher value means better rendering but lower quality clouds.
  • NoiseOffset: The amount to add to noise. Higher value means more and denser clouds.
  • Seed: The seed to generate the clouds from.
  • Framerate: The framerate to run the demo at.

About

Python Cloud generation with Pyglet and Perlin Noise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages