From bf37d7305c545b9fc0995c277195bfa624635aee Mon Sep 17 00:00:00 2001 From: liquidev Date: Sun, 1 Sep 2024 10:09:23 +0200 Subject: [PATCH] update default brush I started updating the docs but v2 is really not ready for general use yet (we're missing lists!) --- docs/rkgk.dj | 11 +++++------ static/brush-editor.js | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/rkgk.dj b/docs/rkgk.dj index cf30edf..e258df6 100644 --- a/docs/rkgk.dj +++ b/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: ```haku -; This is your brush. -; Feel free to edit it to your liking! -(stroke - 8 ; thickness - (rgba 0.0 0.0 0.0 1.0) ; color - (vec)) ; position +-- This is your brush. +-- Try playing around with the numbers, +-- and see what happens! + +stroke 8 (rgba 0 0 0 1) (vec 0 0) ``` rakugaki is a drawing program for digital scribbles and other pieces of art. diff --git a/static/brush-editor.js b/static/brush-editor.js index a36a174..9b4a0d6 100644 --- a/static/brush-editor.js +++ b/static/brush-editor.js @@ -1,10 +1,9 @@ const defaultBrush = ` -; This is your brush. -; Feel free to edit it to your liking! -(stroke - 8 ; thickness - (rgba 0.0 0.0 0.0 1.0) ; color - (vec)) ; position +-- This is your brush. +-- Try playing around with the numbers, +-- and see what happens! + +stroke 8 (rgba 0 0 0 1) (vec 0 0) `.trim(); export class BrushEditor extends HTMLElement {