*
This commit is contained in:
parent
18d74479a2
commit
35cd4c5983
11
README.md
11
README.md
@ -2,6 +2,7 @@
|
|||||||
Ronin is a simple open-source graphic design tool.
|
Ronin is a simple open-source graphic design tool.
|
||||||
|
|
||||||
<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW.jpg' width='600'/>
|
<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW.jpg' width='600'/>
|
||||||
|
|
||||||
## Modules
|
## Modules
|
||||||
## brush
|
## brush
|
||||||
### Settings
|
### Settings
|
||||||
@ -12,11 +13,11 @@ Ronin is a simple open-source graphic design tool.
|
|||||||
### Methods
|
### Methods
|
||||||
|
|
||||||
### Ports
|
### Ports
|
||||||
- `->speed` *false,true* **0/50** The cursor speed.
|
- `speed->` (I:*false* 0, O:*true* 50), The cursor speed.
|
||||||
- `->distance` *false,true* **0/null** The cursor distance.
|
- `distance->` (I:*false* 0, O:*true* 9999), The cursor distance.
|
||||||
- `->red` *true,true* **0/255** The brush color value(red).
|
- `->red->` (I:*true* 0, O:*true* 255), The brush color value(red).
|
||||||
- `->green` *true,true* **0/255** The brush color value(green).
|
- `->green->` (I:*true* 0, O:*true* 255), The brush color value(green).
|
||||||
- `->blue` *true,true* **0/255** The brush color value(blue).
|
- `->blue->` (I:*true* 0, O:*true* 255), The brush color value(blue).
|
||||||
|
|
||||||
## eraser
|
## eraser
|
||||||
### Settings
|
### Settings
|
||||||
|
@ -26,7 +26,7 @@ function Docs()
|
|||||||
{
|
{
|
||||||
html = "# Ronin\n";
|
html = "# Ronin\n";
|
||||||
html += "Ronin is a simple open-source graphic design tool.\n\n";
|
html += "Ronin is a simple open-source graphic design tool.\n\n";
|
||||||
html += "<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW.jpg' width='600'/>\n";
|
html += "<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW.jpg' width='600'/>\n\n";
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ function Docs()
|
|||||||
for(port_name in ports){
|
for(port_name in ports){
|
||||||
var port = ports[port_name];
|
var port = ports[port_name];
|
||||||
console.log(ports);
|
console.log(ports);
|
||||||
html += "- `->"+port.name+"` *"+port.input+","+port.output+"* **"+port.value+"/"+port.max+"** "+port.docs+".\n";
|
html += "- `"+(port.input ? '->' : '')+""+port.name+""+(port.output ? '->' : '')+"` (I:*"+port.input+"* "+port.value+", O:*"+port.output+"* "+port.max+"), "+port.docs+".\n";
|
||||||
}
|
}
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ function Brush()
|
|||||||
this.ports = {};
|
this.ports = {};
|
||||||
|
|
||||||
this.ports.speed = new Port("speed",false,true,0,50,"The cursor speed");
|
this.ports.speed = new Port("speed",false,true,0,50,"The cursor speed");
|
||||||
this.ports.distance = new Port("distance",false,true,0,null,"The cursor distance");
|
this.ports.distance = new Port("distance",false,true,0,9999,"The cursor distance");
|
||||||
this.ports.red = new Port("red",true,true,0,255,"The brush color value(red)");
|
this.ports.red = new Port("red",true,true,0,255,"The brush color value(red)");
|
||||||
this.ports.green = new Port("green",true,true,0,255,"The brush color value(green)");
|
this.ports.green = new Port("green",true,true,0,255,"The brush color value(green)");
|
||||||
this.ports.blue = new Port("blue",true,true,0,255,"The brush color value(blue)");
|
this.ports.blue = new Port("blue",true,true,0,255,"The brush color value(blue)");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user