Devine Lu Linvega 3ab2d36a46 *
2017-11-16 11:41:23 +13:00
*
2017-11-16 11:41:23 +13:00
2017-09-19 10:08:37 +13:00
2017-09-19 10:08:37 +13:00
2017-09-19 10:08:37 +13:00
2017-08-15 12:38:25 +13:00
*
2017-11-14 10:59:23 +13:00
2017-11-15 19:35:18 +13:00
*
2017-11-16 11:41:23 +13:00

Ronin

Ronin is a simple open-source graphic design tool.

Cursor

  • $ replace with Pos.
  • $+shift replace with Rect.

Modules

brush

Missing documentation.

Methods

  • add:x,y&mirror_x,mirror_y Add a new pointer to the brush
  • remove: Remove last pointer
  • pick:x,y Set brush color to a position's pixel.

Settings

  • size, default 4
  • color, default #000

frame

Manager for the canvas size

Methods

  • resize:WxH Resize canvas to size.
  • rescale:0.5 Rescale canvas to float.
  • crop:X,Y|WxH Crop canvas to rect.
  • clear: Erase entire canvas
  • fill:#f00 Fill entire canvas with color
  • inspect: View canvas details

Settings

io

File import/export tools.

Methods

  • open:browser Press enter to open the file browser.
  • load:browser Press enter to open the file browser.
  • draw:X,Y|WxH Draw the loaded image pixels.
  • save:jpg/png Export canvas.

Settings

path

Trace lines and draw shapes.

Methods

  • stroke:x,y&
  • fill:x,y&
  • svg:M0,0 L100,100

Settings

  • thickness, default 4
  • color, default red
  • cap, default square

magnet

Cursor magnetisation settings, changes are reflected on the grid layer.

Methods

  • lock:10 Magnetize cursor
  • unlock: Release cursor

Settings

  • size, default 0
  • step, default 4

filter

Pixel filter

Methods

  • balance:#ff0033 Filter color balance.
  • saturation:0.5,0.5 Filter color saturation.

Settings

type

Missing documentation.

Methods

  • write:text&x,y|WxH Draw text

Settings

  • color, default #000000
  • font, default Gotham Light
  • anchor, default center

License

See the LICENSE file for license rights and limitations (CC).

Description
Ronin fork
Readme MIT 45 MiB
Languages
JavaScript 91.7%
CSS 5.4%
HTML 2.7%
Shell 0.2%