Screen relative movements are inaccurate #412
Closed
Comments
|
indeed there's a bug: https://github.com/monome/norns/blob/master/matron/src/hardware/screen.c#L255 this command shouldn't have the 0.5,0.5 offset. and many other similar bugs can be fixed. so the issue is the "center" of the pixel is offset by 0.5,0.5. if you use 0,0 it's the "corner" of the pixel and the color will be darker as a result of anti-aliasing an off-center coordinate. so it seems when typing up the lib i blindly applied this rule to a bunch of stuff that wasn't supposed to have it applied. particularly the _rel commands. |
|
Ah yep I see. Looks like this applies to |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
screen.move_rel(0, 0)causes things to move a little on both axes. It seems like all relative movements are slightly offset.Similar error in
screen.line_rel()The text was updated successfully, but these errors were encountered: