Skip to content

0.5.20

Latest
Compare
Choose a tag to compare
@scottpdo scottpdo released this 02 Apr 15:03
· 5 commits to main since this release
e07ea02

CanvasRenderer drawing update

A minor visual improvement for CanvasRenderers drawing toroidal Environments — an Agent close to one of the borders (top, bottom, left, right), whose shape extends beyond the border will now also be drawn on the opposite side of the canvas.

Example:

  • The Agent located at (0, 0) would previously only be drawn in the upper-left. Now, with the Environment wrapping around from left to right and top to bottom, it gets drawn in all four corners. Non-toroidal Environments will still draw the image on the left.

Screenshot from 2021-04-02 11-02-19