grzesta05 / Optics

Optics task created for Motorola Science Cup 2023
4 stars 0 forks source link

Render element on canvas (Create branch from Toolbar) #8

Closed grzesta05 closed 9 months ago

grzesta05 commented 9 months ago

Render simple image on canvas, if it is in range. Use width and height, scaleMultiplier and centerCursor properties in SimulationBoard component to calculate that.

You can already add render function to abstract class SimulationObject.

Try to render Laser object with some dummy image @grzesta05 will replace later