Procedural cloud generation system for session-based games
Project description
clouds-system
Procedural cloud generation system for session-based games.
- 3-layer cloud model (low / mid / high altitude)
- Perlin noise with Numba JIT acceleration
- Fully deterministic — same
world_seedreproduces the same session - Returns
DaySnapshot(day, wind_directions, ticks)— no file I/O
Installation
pip install clouds-system
Quick start
from clouds_system import CloudSystem, CloudConfig, warmup
warmup() # JIT compile once at app startup
cs = CloudSystem(CloudConfig(world_seed=42, map_width=81, map_height=40))
cs.next_day()
snapshot = cs.build_snapshot(n_ticks=24)
# snapshot.day → int
# snapshot.wind_directions → {"низкие": "SW", ...}
# snapshot.ticks → np.ndarray (n_ticks, H, W), uint8
See USAGE.md for full API reference and INTERNALS.md for implementation details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clouds_system-0.1.2.tar.gz
(9.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clouds_system-0.1.2.tar.gz.
File metadata
- Download URL: clouds_system-0.1.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b06374ebf8a530e766c23dda0577d0b2ffc8adbf566f7e37200defedee609d0
|
|
| MD5 |
ddbff5f6e956c9bc7980f616429728e5
|
|
| BLAKE2b-256 |
871185ad926d3800ce7b22052070670a1ad61938b3fc2f8d26b8f10e56278dc6
|
File details
Details for the file clouds_system-0.1.2-py3-none-any.whl.
File metadata
- Download URL: clouds_system-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2448e225d3f1325982971968233b80e854ff4bab1d438d8bafd78234a1726e9a
|
|
| MD5 |
38144dfa3eae45470fc88afb38be5121
|
|
| BLAKE2b-256 |
beb44c67d3b411b45591dc295372b15884df165abc619a94b8e32ac300b86c50
|