Skip to main content

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_seed reproduces 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


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.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clouds_system-0.1.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file clouds_system-0.1.1.tar.gz.

File metadata

  • Download URL: clouds_system-0.1.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for clouds_system-0.1.1.tar.gz
Algorithm Hash digest
SHA256 df6fca6f91e2466649a0c2d15f39e613f86f23eacb7b0a1e51481bc0614cd014
MD5 58f2d7214adee2c8c51f4cc280a03de4
BLAKE2b-256 246918d44c70073e2c4504ceeb21c27aaf3db5152d5059dcfc77da1e4acf9f35

See more details on using hashes here.

File details

Details for the file clouds_system-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: clouds_system-0.1.1-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

Hashes for clouds_system-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c5722dea6a6ad93821871252bbf3cb32168219f38bc0ff439b2917477d9bb2d
MD5 c67de883624d68622519f88c23e17787
BLAKE2b-256 477c1132b3036bd4a9d6704cbbd8312b8d01ddb7d769d3cb76c508c59bad36fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page