Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Draw landscapes instead of DiceBear's Shapes style

2a8c7fbf4b2670a386ab2c203db20bb90489263a · Keenan Nemetz · 7d ago · parent 97f77001

Draw landscapes instead of DiceBear's Shapes style

DiceBear ships no landscape style, so the bundle now carries one written
against its core API. The engine that matters is still DiceBear's — the
seeded PRNG, the option handling, the 100×100 box and the circular mask
— while the style is part of Vole and carries this project's licence.
That drops the Shapes licence file and leaves DiceBear's own MIT notice.

The art is one idea: the account's tone is the sky, two or three hills
are the same colour a step darker, and the sun is drawn from Everforest's
cream, yellow or sunset orange. Each hill is a circle whose centre sits
below the box, so only its ridge shows; drawing them back to front with
one step of shade between them is what gives the depth at 17px without
an outline. The sun is placed above the highest ridge, so it is never
lost behind a hill, and a low ridge can swallow its foot like a sunset.

The bundle is now 10KB (4KB gzipped) and an avatar is about 470 bytes
of SVG, down from 18KB and 800 because Shapes was the bigger style. The
server's half is unchanged: the initial on the account's ground is drawn
first and stays if the script never runs.

NOTICE +3−4

@@ -21,11 +21,10 @@ It includes the following third-party components:
21 21 Everforest color palette (server/web/static/everforest.css)
22 22 MIT License. See server/web/static/everforest.LICENSE.
23 23
24 DiceBear avatars (server/web/static/dicebear-avatars.min.js,
24 DiceBear avatar engine (server/web/static/dicebear-avatars.min.js,
25 25 built from scripts/avatars-entry.js)
26 MIT License for the library, CC0 1.0 for the Shapes design. See
27 server/web/static/dicebear.LICENSE and
28 server/web/static/dicebear-shapes.LICENSE.
26 MIT License. See server/web/static/dicebear.LICENSE. The Landscape style in
27 that bundle is part of Vole and carries this project's licence.
29 28
30 29 Lexend font (server/web/static/fonts/lexend-*.woff2)
31 30 SIL Open Font License 1.1. See server/web/static/fonts/OFL-Lexend.txt.