update default brush
I started updating the docs but v2 is really not ready for general use yet (we're missing lists!)
This commit is contained in:
parent
084012d65f
commit
bf37d7305c
11
docs/rkgk.dj
11
docs/rkgk.dj
|
@ -23,12 +23,11 @@ Or tangled into text, if you're reading this on a mobile device.
|
||||||
In case you edited anything in the input box on the right, paste the following text into it before continuing:
|
In case you edited anything in the input box on the right, paste the following text into it before continuing:
|
||||||
|
|
||||||
```haku
|
```haku
|
||||||
; This is your brush.
|
-- This is your brush.
|
||||||
; Feel free to edit it to your liking!
|
-- Try playing around with the numbers,
|
||||||
(stroke
|
-- and see what happens!
|
||||||
8 ; thickness
|
|
||||||
(rgba 0.0 0.0 0.0 1.0) ; color
|
stroke 8 (rgba 0 0 0 1) (vec 0 0)
|
||||||
(vec)) ; position
|
|
||||||
```
|
```
|
||||||
|
|
||||||
rakugaki is a drawing program for digital scribbles and other pieces of art.
|
rakugaki is a drawing program for digital scribbles and other pieces of art.
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
const defaultBrush = `
|
const defaultBrush = `
|
||||||
; This is your brush.
|
-- This is your brush.
|
||||||
; Feel free to edit it to your liking!
|
-- Try playing around with the numbers,
|
||||||
(stroke
|
-- and see what happens!
|
||||||
8 ; thickness
|
|
||||||
(rgba 0.0 0.0 0.0 1.0) ; color
|
stroke 8 (rgba 0 0 0 1) (vec 0 0)
|
||||||
(vec)) ; position
|
|
||||||
`.trim();
|
`.trim();
|
||||||
|
|
||||||
export class BrushEditor extends HTMLElement {
|
export class BrushEditor extends HTMLElement {
|
||||||
|
|
Loading…
Reference in a new issue