cloudhead / rx

👾 Modern and minimalist pixel editor
https://discord.gg/xHggPjfsS9
GNU General Public License v3.0
3.11k stars 109 forks source link

Add ability to draw "angle snapped" lines #104

Closed JEphron closed 3 years ago

JEphron commented 3 years ago

Adds a new parameter to the line mode,:brush/set line s <angle>, which causes drawn lines to snap to increments of the given angle.

https://user-images.githubusercontent.com/1817241/106367265-2ceae300-62f6-11eb-92bb-7de51cf46c71.mov

cloudhead commented 3 years ago

Awesome. Works great!

For a nice mapping:

:map <shift> :brush/set line 45 {:brush/unset line}