ab7bc9cf426f71c903be31f3ce3198edf27ba47e
Ronin
Ronin is a simple open-source graphic design tool.
Cursor
$replace with Pos.$+shiftreplace with Rect.
Modules
brush
Missing documentation.
Methods
add:x,y&mirror_x,mirror_yAdd a new pointer to the brushremove:Remove last pointerpick:x,ySet brush color to a position's pixel.
Settings
size, default 4color, default #000opacity, default 1
Ports
speed->(0/50) The cursor speed.distance->(0/9999) The cursor distance.->red->(0/255) The brush color value(red).->green->(0/255) The brush color value(green).->blue->(0/255) The brush color value(blue).
frame
Manager for the canvas size
Methods
resize:WxHResize canvas to size.rescale:0.5Rescale canvas to float.crop:X,Y|WxHCrop canvas to rect.clear:Erase entire canvasfill:#f00Fill entire canvas with color
Settings
Ports
line
Drawing lines. Tween expects something in the $&$>>$&$ format.
Methods
stroke:x1,y1&x2,y2Stroke positions.tween:tween:$&$>>$&$ step->thicknessStroke lines between strokes.
Settings
Ports
step->(0/100) The tween line index..->thickness->(1/100) The tween line thickness..
io
File import/export tools.
Methods
load:browserPress enter to open the file browser.draw:X,Y|WxHDraw the loaded image pixels.save:nameExport canvas.
Settings
Ports
path
Trace lines and to draw shapes.
Methods
stroke:x,y&fill:x,y&
Settings
thickness, default 30color, default blackcap, default square
Ports
magnet
Cursor magnetisation settings, changes are reflected on the grid layer.
Methods
lock:10x10Magnetize cursorunlock:Release cursor
Settings
size, default 0step, default 4
Ports
filter
Pixel filter
Methods
balance:#ff0033Filter color balance.
Settings
Ports
License
See the LICENSE file for license rights and limitations (CC).
Languages
JavaScript
91.7%
CSS
5.4%
HTML
2.7%
Shell
0.2%