Tile-renderer

Latest version: v4.0.1

Safety actively analyzes 626513 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

4.0.1

* **v4.0.1 (5/10/23)**

* upgrade dependencies

4.0.0

* **v4.0.0 (20/4/23)**

* chang antialias method
* replace most function parameters with a single ``Config`` class
* new ``Vector`` class
* ``ImageCoord`` now saves coordinates as floats instead of integer, to reduce rounding errors
* multiprocess file-dumping of preparation, and part 2
* rewrite ``math_tools.dash()``
* fix texts overlapping and texts around corners... maybe
* move rendering operations counting from part 1 to preparation stage
* new arrows on one-way lines
* now uses Ruff, a linter in addition to mypy
* reimplement AreaBorderTexts
* fix off-centered text on areas
* optimisations here and there

3.0

* **v3.0.0 (10/2/23)**

* Add NotoSans and NotoSans-SC to rendering typefaces
* Fix parts of the default skin
* Lots of API changes, reorganisation and refactoring
* Now uses ``rich`` to print logs and progress bars
* Migrate project to use Poetry
* Each Ray task now renders multiple tiles at once instead of one per task
* Builders are now removed (use stencil instead!)
* Implement PLA2 format
* Add PLA1 to PLA2 converter
* Project now uses ``pre-commit``
* ``temp`` file is now moved out of package to present working directory
* Image is now a ``webp`` instead of a ``png``
* Task managers for parallel parts 1 and 3
* Images are now antialised
* Replace ``pickle`` with ``dill``
* Further fix text overlapping
* Attempts to fix diagonal text offsets (may not be working :( )
* ``mypy`` is now used for better type checking
* Docs are now working again

2.2

* **v2.2 (13/5/22)**
* Multiline text is now centered
* Improve skin, especially for small zooms
* implement memory swapping for images to reduce RAM usage

2.1

* **v2.1 (6/4/22)**

* Added SkinBuilder, a utility class for building skins Pythonically
* Moved bulk of rendering code to ComponentStyle classes
* Redid stud drawing
* Fix text overlapping with _prevent_text_overlap
* most mathtools functions now use Coord and TileCoord
* logging improvements
* _TextObjects now store their bounds instead of their width/heights
* new dashing algorithm ``mathtools.dash()``
* offset function ``mathtools.offset()``
* redid rendering for LineText so that they can go around corners
* fixed arrow offset
* debug switch to show additional debug Information
* tweaked skin

2.0

* **v2.0 (23/12/21)**
* "PLA" is no longer defined as "a set of components" but a file type (`.pla`)
* Components are called... Components
* Component JSON files have a `.comps.pla` suffix
* Node JSON files have a `.nodes.pla` suffix
* The CLI format has changed substantially to follow PEP8 naming conventions
* The entire codebase has been reformatted to follow PEP8 naming conventions
* Skins, components and nodes (& their list counterparts) now have their own classes, to make the code cleaner
* Coords and TileCoords are now NamedTuples
* `pathlib.Path` is now being used instead of raw strings
* Ray multiprocessing integration (3.8 and 3.9 only)
* Text rendering is now separated from the main rendering task
* Rendering logs will no longer use the same line but rather will output one log per line
* Builders:
* Default IDs can now be set
* PyAutoGUI is now used to automatically write the default ID
* Commands now start with "."
* ... and many more I probably forgot lol
* `internals.internal` is now typed
* Loggers and texts (for later rendering) now have their own private classes
* Several functions in `mathtools` (`lines_intersect`, `point_in_poly`, `poly_center`) are now quicker to run (mostly using NumPy)
* SymPy is no longer a dependency (yey)
* `misc` no longer exists (`misc.getSkin` is now `Skin.from_name`)
* `tools` is now split up into 6 files
* Many functions in `validate` are now in their respective object classes
* Made the CLI actually work (:P)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.