Medals and achievements
Silver and gold medals for small feats and discoveries across the site.
I added achievements to give the site's little discoveries a record of their own. Looking closely at a figurine, trying every accent colour or finding a secret earns a medal whose shape reflects what you just did.
From action to achievement
An achievement unlocks the first time you complete its action and earns one or two Smole Coins. A notification can then show the medal, the achievement title and the reward. The button at the top of the page unlocks a dedicated achievement, then replays the notification as a demo without adding more coins.
In Your space, achievements you have yet to unlock come with a hint. Secret achievements keep even their titles hidden until you unlock them. Progress is saved in the browser on the device you're using.
One shape, two ways to render it
I took inspiration from gym badges, with a distinct silhouette and a stone set in a metal frame. The star goes with the figurines and the green clover rewards collecting the chameleons. Silver frames mark common achievements and gold frames mark rare ones.
The outline, setting and cut of the stone are defined once. The SVG uses that data to draw a front view with fixed highlights and shaded facets. The notification builds a Three.js model from the same shapes and falls back to SVG when 3D is unavailable.
The comparison shows the same four medals tilted in 3D on the left and face-on in SVG on the right.