arantius
289253a87e
Create README.md
2024-03-18 13:46:09 -04:00
Anthony Lieuallen
d4efeaf887
remove testing comment copy of code
2022-11-22 08:53:31 -05:00
Anthony Lieuallen
6a9fa5b7cb
use cx/cy rather than magic number
2022-11-22 08:52:08 -05:00
Anthony Lieuallen
c514277e31
Dynamic stylesheet workaround.
...
Apparently Safari doesn't support `SVGStyleElement.sheet`. And we don't
need that separate sheet anyway, so reduce to one and just use
`document.styleSheets[0]`.
Fixes #1
2022-11-22 08:47:41 -05:00
Anthony Lieuallen
620260f852
Maybe fix Safari.
...
I don't have a Mac but https://news.ycombinator.com/item?id=33693607
says it's about this terminal comma.
2022-11-21 11:53:03 -05:00
Anthony Lieuallen
9b72b0bf93
keep preview when clicking there
2022-11-21 10:10:37 -05:00
Anthony Lieuallen
98a6c30465
Tweak about.
2022-11-21 10:03:15 -05:00
Anthony Lieuallen
43e75f5e17
Tweak wheel to fit colors.
...
Combine synonyms to one (RGB) color. Tweak the hue/saturation distribution of the wheel to account for (e.g. shades of grey) different colors with the same H/S but different V.
2022-11-21 09:59:47 -05:00
Anthony Lieuallen
e7e13160d9
Less stroke shape jitter.
2022-11-21 08:48:01 -05:00
Anthony Lieuallen
4a8345cf99
verbiage
2022-11-20 23:34:06 -05:00
Anthony Lieuallen
4ef8979c2c
index.html
...
symlink
2022-11-20 23:34:06 -05:00
Anthony Lieuallen
1c5a1a45a5
license, cleanup
2022-11-20 23:34:03 -05:00
Anthony Lieuallen
97c4c4f92c
all (?) colors
2022-11-20 21:21:50 -05:00
Anthony Lieuallen
3284ef29d8
Clip in CSS.
...
Not SVG, so clicks outside the circle (but in the SVG box) cancel a locked color. Hover in that area also behaves as expected.
2022-11-20 20:18:38 -05:00
Anthony Lieuallen
5df5b46587
About.
2022-11-20 20:16:00 -05:00
Anthony Lieuallen
64922129d2
renderWheel()
2022-11-20 20:02:35 -05:00
Anthony Lieuallen
a6d9f01ec8
Hex code in preview
2022-11-20 19:54:28 -05:00
Anthony Lieuallen
2ac28c5523
Preview the color on hover, lock it by clicking.
2022-11-20 19:51:45 -05:00
Anthony Lieuallen
53f5afab4b
Stroke hovered color.
2022-11-20 19:50:27 -05:00
Anthony Lieuallen
69d5b416ed
tidy
2022-11-20 17:34:51 -05:00
Anthony Lieuallen
5ae3142d19
hover
2022-11-20 17:31:27 -05:00
Anthony Lieuallen
b54fe7529e
circle-masked voronoi diagram
2022-11-20 17:28:42 -05:00
Anthony Lieuallen
41b16b561a
stroke on hover
2022-11-20 17:01:19 -05:00
Anthony Lieuallen
c21e95d9c4
color wheel direction
2022-11-20 17:01:07 -05:00
Anthony Lieuallen
9932f1bbea
initial commit
...
list of (some?) colors; SVG embedded in HTML; JS generated dots
2022-11-20 16:54:54 -05:00