Skip to main content

roadmapgen2d

PyPI version Build Status Total alerts Language grade: Python

Road Map Generator for 2d Maps

screen

Install

$ pip3 install roadmapgen2d

or

$ pip3 install --upgrade roadmapgen2d

Create the some dir with file roadmapgen2d-config.json:

{
    "map-width-px": 5000,
    "map-height-px": 5000,
    "texture-tail-road-width-px": 120,
    "texture-tail-road-height-px": 120,
    "random-max-points": 100,
    "color-hex-background": "000000",
    "color-hex-line-road": "FFFFFF",
    "create-video": false,
    "create-last-frame-as-image": true
}

And than in this directory run:

$ python3 -m roadmapgen2d .

Create video for algorithm work

Requirements:

  • ffmpeg

How it works:

In this progress, script will be write frames (step by step) to .roads-generation/.roads-generation/roadmap*.png

and then script will be call ffmpeg command:

ffmpeg -f image2 -r 15 -i .roads-generation/roadmap%06d.png video.mp4

Metadata

Release files for roadmapgen2d 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roadmapgen2d 0.0.3
File Size Uploaded Provenance Actions
roadmapgen2d-0.0.3.tar.gz 9.2 kB Without provenance Details for roadmapgen2d-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for roadmapgen2d 0.0.3
File Interpreter ABI Platform Actions
roadmapgen2d-0.0.3-py3-none-any.whl Python 3 none any Details for roadmapgen2d-0.0.3-py3-none-any.whl

Total release size: 23.2 kB

Release files / roadmapgen2d-0.0.3.tar.gz

Download URL roadmapgen2d-0.0.3.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b67e865374c9be634e00b79943ebe12abf95ef215ddaea36bd9308458823d740
BLAKE2b-256 checksum
How to use checksums
5aa6c48f807c5fcd863dd87586e3081a0e3148c894c8a17d940384091b844c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

Release files / roadmapgen2d-0.0.3-py3-none-any.whl

Download URL roadmapgen2d-0.0.3-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55d25d9d8ac5569c634b8b84f9b7aa11abad54a3d17b40a9d06fabf4608f320a
BLAKE2b-256 checksum
How to use checksums
78e3279f277c693f06636b326fe45619e5c6ccb2e8b4fa1b56d59f813e750049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.25.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

Security for roadmapgen2d 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page