From 15435341014d2e8d7786ad20549fec79b579de8d Mon Sep 17 00:00:00 2001 From: liquidev Date: Sun, 1 Sep 2024 19:15:41 +0200 Subject: [PATCH] update docs, add favicon to docs template --- docs/rkgk.dj | 1 + docs/system.dj | 4 ++-- template/docs.hbs.html | 13 +++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/rkgk.dj b/docs/rkgk.dj index 658c464..5f1e66c 100644 --- a/docs/rkgk.dj +++ b/docs/rkgk.dj @@ -40,6 +40,7 @@ You can likewise move your viewport by *holding down your middle or right mouse You can also zoom in and out by *scrolling.* Try to familiarize yourself with these controls by drawing some stuff! +You can also invite friends to play around with, by sending them your wall's URL. ## Your brush diff --git a/docs/system.dj b/docs/system.dj index 5f1f7c9..73addd5 100644 --- a/docs/system.dj +++ b/docs/system.dj @@ -309,7 +309,7 @@ This is because it's easier to do math on normalized colors. For example, consider multiplicatively blending two colors. ```haku -; This is how you can multiply two colors together. +-- This is how you can multiply two colors together. mulRgba = \a, b -> rgba (rgbaR a * rgbaR b) (rgbaG a * rgbaG b) (rgbaB a * rgbaB b) (rgbaA a * rgbaA b) ``` @@ -317,7 +317,7 @@ mulRgba = \a, b -> If haku represented colors using an 8-bit `0` to `255` range instead, to multiply two colors together, you would have to divide them by `255` to get them back into the correct range. ```haku -; NOTE: This example does NOT work correctly. +-- NOTE: This example does NOT work correctly. mulRgba = \a, b -> let red = (rgbaR a * rgbaR b) / 255 let green = (rgbaG a * rgbaG b) / 255 diff --git a/template/docs.hbs.html b/template/docs.hbs.html index 5b0d36e..c147f3d 100644 --- a/template/docs.hbs.html +++ b/template/docs.hbs.html @@ -10,6 +10,19 @@ + + + + + + + + + + + + +