# Ronin ## Basics Ronin is a web based drawing application and visual language. Launch Ronin and press **:**(colon) to display the command prompt. ``` : ``` ### Controls ``` ctrl ; Draw Overlays alt ; Drag Surface shift ; Erase shift+ctrl ; Eyedrop shift+alt ; Move Layer ``` ## Modules ### # Surface Missing documentation. - Parameters: `Rect` `Color` `Bang` - Variables: `layer` ### / FileLoad Missing documentation. - Parameters: `Filepath` `Position` `Rect` - Variables: ### $ FileSave Creates a new window with a image of the resulting canvas in the specified format. - Parameters: `Any` - Variables: `format` ### ^ History Missing documentation. - Parameters: - Variables: ### | Overlay Missing documentation. - Parameters: `Position` `Rect` `Color` - Variables: ### % Render Missing documentation. - Parameters: `Any` - Variables: ### > Brush Missing documentation. - Parameters: `Position` `Rect` `Angle` `Color` `Value` `Bang` - Variables: `natural` `banking` ### . Eraser Missing documentation. - Parameters: `Value` - Variables: ### * Eye Missing documentation. - Parameters: - Variables: ### & Typographe Missing documentation. - Parameters: `Position` `Color` `Value` - Variables: `text` ### _ Stroke Missing documentation. - Parameters: `Any` - Variables: ### + Vector Missing documentation. - Parameters: `Any` - Variables: `fill_color` `stroke_width` `stroke_color` `line_cap` ### ? Help Missing documentation. - Parameters: - Variables: ## Units ``` 5 ; value: 5 5,7 ; position: 5x 7y 7x9 ; rect: 7w 9h #ff0000 ; color: red 0..5 ; random: 0.0-5.0 45' ; degree: 45/365 rate=10 ; variable: rate = 10 ``` ## Presets ### Radial Brush ``` # 8 strands > 600,400 45';> 600,400 90';> 600,400 135';> 600,400 180';> 600,400 225';> 600,400 270';> 600,400 315' # 6 strands > 600,400 60';> 600,400 120';> 600,400 180';> 600,400 240';> 600,400 300' ``` ### Symmetry Brush ``` # XY > 400x 3 # Angular brushes > 400x 1,1;> 400x 2,2;> 400x 3,3; > 1,1;> 2,2;> 3,3; ``` ### Angular Brush ``` # Light > 1,1;> 2,2;> 3,3;> 4,4 # Hard > 2,2;> 4,4;> 6,6;> 8,8 # Symmetric Light > 1,1 600x;> 2,2 600x;> 3,3 600x;> 4,4 600x ``` ## Templates ### Watermark ``` # 1280x720 ; / ../assets/photo.jpg 1280x 0,0 ; / ../assets/logo.png 60x60 20,640 ``` ## vectors ### Ronin Logo ``` + M150,53 A-96,97 0 0,0 246,150 M150,246 A97,-96 0 0,0 53,150 M53,101 A-48,-48 0 0,0 101,53 M246,101 A48,-48 0 0,1 198,53 M53,198 A-48,48 0 0,1 101,246 M246,198 A48,48 0 0,0 198,246 stroke_width=45 line_cap=square stroke_color=black ``` ### A Circle ``` + M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0 ``` ### Many Circles ``` + M 64, 64 m -50, 0 a 50,50 0 1,0 100,0 a 50,50 0 1,0 -100,0;+ M 64, 64 m -45, 0 a 45,45 0 1,0 90,0 a 45,45 0 1,0 -90,0;+ M 64, 64 m -40, 0 a 40,40 0 1,0 80,0 a 40,40 0 1,0 -80,0;+ M 64, 64 m -35, 0 a 35,35 0 1,0 70,0 a 35,35 0 1,0 -70,0;+ M 64, 64 m -30, 0 a 30,30 0 1,0 60,0 a 30,30 0 1,0 -60,0;+ M 64, 64 m -25, 0 a 25,25 0 1,0 50,0 a 25,25 0 1,0 -50,0;+ M 64, 64 m -20, 0 a 20,20 0 1,0 40,0 a 20,20 0 1,0 -40,0;+ M 64, 64 m -15, 0 a 15,15 0 1,0 30,0 a 15,15 0 1,0 -30,0;+ M 64, 64 m -10, 0 a 10,10 0 1,0 20,0 a 10,10 0 1,0 -20,0;+ M 64, 64 m -5, 0 a 5,5 0 1,0 10,0 a 5,5 0 1,0 -10,0 ```