Fix everything?

This commit is contained in:
2026-01-15 12:52:21 +01:00
parent 460b874651
commit caa6ae4432
3 changed files with 98 additions and 39 deletions

View File

@@ -12,15 +12,15 @@ LOOP_DELAY = 0.005 # In seconds
# Testing embedding the mirrors in the world
board = Board()
world = solar.World(board, tilt_deg=15) # The world is tilted 15 degrees around y-axis
world = solar.World(board, tilt_deg=0)
HEIGHT = 30
source = solar.Source(world, pos=(30, 50, 100))
target = solar.Target(world, pos=(0, 0, 40))
source = solar.Source(world, pos=(0, 50, 0))
target = solar.Target(world, pos=(0, 50, 0))
# Create mirrors in a 3x2 grid
for x in range(3):
for x in range(4):
for y in range(2):
mirror = solar.Mirror(world, cluster_x=x, cluster_y=y)
world.add_mirror(mirror)