spuder / All-Spark-Cube

Software to control an RGB led cube
20 stars 6 forks source link

Greedyness should be dynamic to window size #46

Closed spuder closed 11 years ago

spuder commented 12 years ago

with a 16 x 16 x 16 led cube 2d view on a 1620 x 1050 screen the leds are 10 pixels wide with about 3 pixels in between them. If the mouse is in those 3 pixels then no led will be considered hover over.

Greedyness value in the LedObject class fixes where no leds are hovered over, but causes problems when the leds are made closer together by :

  1. Changing the led count to 32x32x32
    1. Shrinking the window.
spuder commented 11 years ago

Wont fix, this will be in the html5 codebase