Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@JstnMcBrd JstnMcBrd released this 10 Jan 22:49
· 16 commits to main since this release
4673df3

🟑 Backwards-compatible changes for console API or scene definitions
πŸ”΄ Breaking changes for console API or scene definitions

Added

  • 🟑 Circle object type
  • 🟑 Triangle object type
  • Automatic conversion of 3-sided Polygons to Triangles
  • Typing for Plane constructor
  • Linting with PyLint
  • 🟑 Argument defaults for output, width, and height
  • Improved argument parsing
  • Loading bar for writing to PPM files
  • Versioning section to README
  • .env.example file for arguments
  • 🟑 Support for writing output to PNG files

Changed

  • πŸ”΄ "center" and "point" object attributes to "position"
  • Object attributes to be ordered by position, rotation, size
  • πŸ”΄ Output to go to PNG files by default
  • Private parameters of object classes to be accessible from subclasses
  • Private methods to be privatized
  • lib_patch folder to just lib
  • lib scripts to use their library name
  • vector_utils.py to vector.py
  • Moved all Objects into the same script
  • Reorganized README
  • Linted all files
    • Docstrings
    • Safer typing
    • Limited line length
    • PascalCase and snake_case conformity
    • isinstance for type comparison
    • enumerate for iteration
  • Command line output to be improved