Skip to content

Commit

Permalink
Add test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
corranwebster committed Oct 21, 2024
1 parent 89ecce1 commit 67668de
Show file tree
Hide file tree
Showing 3 changed files with 2,702 additions and 29 deletions.
28 changes: 0 additions & 28 deletions examples/polar_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,37 +143,9 @@
)
surface.add_shape('DRAWING', donut)

# # draw a radar plot
# circle_grid = Circles(
# ColumnGeometry([
# Repeat(196),
# Repeat(64),
# Range(10, 70, 10),
# ]),
# Repeat(grey_e),
# fill=False,
# )
# surface.add_shape('UNDERLAY', circle_grid)
# radar = PolyLines(
# SpiralGeometry.from_center_radii_angles(
# Extend([
# ColumnGeometry([
# Repeat(196),
# Repeat(64),
# ]),
# StripGeometry(
# array('h', [30, 0, 15, 60, 45, 120, 5, 180, 45, 240, 60, 300, 30, 360]),
# ),
# ]),
# ),
# Interpolated(viridis, 6),
# )
# surface.add_shape('DRAWING', radar)


def main(surface, working_buffer):


async def init_display():
from devices.st7789 import ST7789
from machine import Pin, SPI
Expand Down
Loading

0 comments on commit 67668de

Please sign in to comment.