Debug graphics
When you transfer a beautiful and slender mathematical model to the real world of the code, unpleasant surprises is waiting for you. Such, for example, as unprecise calculations with floating point. Ways to fight this problem have long been known, but to choose the right one, you need to formulate the problem in specific conditions. And sometimes it's better to build a visual debugging model than to study an array of digits in the debugger.
This is how my model looks. This is for debugging the coordinates of the subpixel grid to the nearest pixel. The centers of the red circles are points on the straight line with subpixel precision, the white segments from the centers are the direction and size of the rounding.
Get Odanako! | オダナコ!
Odanako! | オダナコ!
Vector-based pixel art editor
More posts
- v. 0.2.5.2545-alphaMay 15, 2018
- v. 0.2.5.2519-alpha (Weekly)Apr 07, 2018
- Back to work!Mar 31, 2018
- Some minor technical problemsMar 20, 2018
- v. 0.2.5.2492-alpha (Weekly)Mar 09, 2018
- v. 0.2.4.2450-alpha (Weekly)Mar 04, 2018
- v. 0.2.3.2380-alpha (Weekly)Feb 24, 2018
- v. 0.2.0.2326-alpha (first Linux release)Feb 17, 2018
- v. 0.1.0.2270-alpha (first public release)Feb 11, 2018
Leave a comment
Log in with itch.io to leave a comment.