dsh-fish-ui 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/client.js +29 -29
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # dsh-fish-ui
2
2
 
3
- **Deep Fish UI** — a Catppuccin-themed, dot-matrix theme for the DeepSeek Harness Web UI: a fish drawn in dots on the blank home, aurora light, pointer physics, thinking and text motion, Maple Mono NF CN type, and a switchable **Fish finish** layer.
3
+ **Deep Fish UI** — a Catppuccin-themed, dot-matrix theme for the DeepSeek Harness Web UI: the whale-girl maid drawn in dots on the blank home, aurora light, pointer physics, thinking and text motion, Maple Mono NF CN type, and a switchable **Fish finish** layer.
4
4
 
5
5
  Everything is toggleable from **Settings → Plugins → dsh-fish-ui**, or the **Deep Fish UI** action in the sidebar footer.
6
6
 
7
7
  ## What's inside
8
8
 
9
9
  - **Catppuccin palette**: Latte / Mocha backgrounds, text, borders, sidebar and accents, plus the code and diff palettes.
10
- - **Fish hero**: a dot-matrix fish and wordmark on a blank session, a full-page dot field, a slow bottom wave and pointer ripples.
10
+ - **Whale-girl hero**: the dot-matrix maid portrait and wordmark on a blank session, a full-page dot field, a slow bottom wave and pointer ripples.
11
11
  - **Aurora**: slowly drifting gradient light behind the interface, breathing with the accent colour.
12
12
  - **Pointer physics**: a soft glow that follows the cursor, and a subtle 3D tilt on the composer.
13
13
  - **Thinking & text motion**: replies rise in, reasoning blocks shimmer gently, streaming text keeps a calm breathing rhythm.
package/client.js CHANGED
@@ -25,13 +25,13 @@ window.__ModuleLoader__.load({
25
25
  /* ------------------------------------------------------------ hero mascot */
26
26
 
27
27
  /** Dot grid sampled from the mascot artwork: one hex digit per cell. */
28
- const FISH_COLUMNS = 104
29
- const FISH_ROWS = 73
30
- const FISH_GRID = '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066666666666666660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666666666666600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666666666666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000666666666660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066666666600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066666666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbbbbbbbbbbb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbbbb7777777777777bbbbb00000000000000004400000000000000000000000000000000000000000000000000000000000bbbb77777777777777777777777bbbb00000000000000000000000000000000000000000000000000000000000000000000000bbb77777779999999999999977777777bbb0000000000000044400000000000000000000000000000000000000000000000000bb7777779999999999999999999999777777bbb000000000000444000000000000000000000000000000000000000000000000bb77777799999999999999999999999999977777bbb000000000000000000000000000000000000000000000000000006600000bb77777999999999999999999999999999999977777bb0000044400000000000000000000000000000000000000000000666000bb7777999999999999999999999999999990999997777bb00044440000000000000000000000000000000000000000000066666bb777799999999999999999999999999990000099997777bb000040000000000000000000000000000000000000000000006666bb7777999999999999999999999999999900000099999777bb000000000000000000000000000000000000000000000000006666bb77799999999999999999999999999999000000999997777bb0000000000000000000000000000000000000000000000000666bb777799999999999999999999999999999990009999999777bb0000000000000000000000000000000000000000000000000666bb777799999999999999999999999999999999999999999777bb0000000000000000000000000000000000000000000000000666bb777799999999999999999999999999999999999999999770000000000000000000000000000000000000000000000000000666bb7777999999999999999999999999999999999999999997700000000000000000000000000000000000000000000000000006666bb77779999999999999999999999999999999999999997777bb00000000000000000000000000000000000000000000000006666bb7777999999999999999999999999999999999999997777bb0000000000000000000000000000000000000000000000000066660bb777799999999999999999999999999999999999997777bb00000000000000000000000000000000000000000000000000666000bb7777999999999999999999999999999999999977777bb0000000000000000000000000000000000000000000000000006600000bb77777999999999999999999999999999999977777bb000000000000000000000000000000000000000000000000000000000000bbb7777799999999999999999999999999977777bb0000000000000000000000000000000000000000000000000000000000000000bb7777779999999999999999999999777777bbb0000000000000000000000000000000000000000000000000000000000000000000bbb77777777999999999999977777777bbb00000000000000000000000000000000000000000000000000000000000000000000006bbbb77777777777777777777777bbb000000000000000000000000000000000000000000000000000000000000000000000000066666bbbbb777777777777bbbbbb000000000000000000000000000000000000000000000000000000000000000000000000000066666660000bbbbbbbbbbb0000000000000000000000000000000000000000000000000000000000000000000000000000000000666666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006666000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
28
+ const GIRL_COLUMNS = 104
29
+ const GIRL_ROWS = 73
30
+ const GIRL_GRID = '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000121100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013133112320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000163116400000264223200000000000000000000000000000000000000000000000000000000000000000000000000000000000326000001000000a800134000000000000000000000000000000000000000000000000000000000000000000000000000000002500000001200020000000014000000000000000000000000000000000000000000000000000000000000000000000000000000353000310023201320020000050000000000000000000000000000000000000000000000000000000000000000000000000000003000003310000000001300001b33300000000000000000000000000000000000000000000000000000000000000000000000000100010110035457764200000022002400000000000000000000000000000000000000000000000000000000000000000000000030000300006aba999accb820022000003000000000000000000000000000000000000000000000000000000000000000000000031000000224abbaa976778bca300200008900000000000000000000000000000000000000000000000000000000000000000000a1031005789787777898777679c8000000055000000000000000000000000000000000000000000000000000000000000000000b800220a98b96777777788777777ab30001008100000000000000000000000000000000000000000000000000000000000000007f00002b97b97777777777777777768c402100460000000000000000000000000000000000000000000000000000000000000000ef4000a9699777777777777778777677b600000a2000000000000000000000000000000000000000000000000000000000000000820107a68978777777777777778766788b30000c220000000000000000000000000000000000000000000000000000000000000300003b77887877777777877777787677889220af30300000000000000000000000000000000000000000000000000000000000130000897787787777777797754778877779960025d002000000000000000000000000000000000000000000000000000000000040000297777778777875878a777677977777981000870300000000000000000000000000000000000000000000000000000000003101069878778777865578779777778977778a70105a0300000000000000000000000000000000000000000000000000000000000c60288778778877744778855977777987777994004b0401000000000000000000000000000000000000000000000000000000008d00596788777777757878880497777897777888009a059800000000000000000000000000000000000000000000000000000002e00077578878668777777899203987779777778931ea57780000000000000000000000000000000000000000000000000000000aa004956788784587777777894246988789787788648688681000000000000000000000000000000000000000000000000000000ec00784679878439877777868710049888a74778877667da30000000000000000000000000000000000000000000000000000002fe20964779878408877777856800005878836877877749dd800000000000000000000000000000000000000000000000000000003c01857679879305977777762910000327985487876a7bbad90000000000000000000000000000000000000000000000000000000e00778679878433887877782610001620864877786aecbaad700000000000000000000000000000000000000000000000000002dda47786798787005868867755205cffde4587778887bbbaaad7000000000000000000000000000000000000000000000000004dccdb677778979300076788777604fc5d48fa77778868aaaaaaad50000000000000000000000000000000000000000000000003c2bcc9677778976300046677777704cb7ca0b96777796bbaaaaaaad400000000000000000000000000000000000000000000000a91ebb8777777974300002477776460abe8a02387877889acbaaaaabc2000000000000000000000000000000000000000000000009edba77777779812039a7038678400687660058787689703accbaaabc1000000000000000000000000000000000000000000000004ba977777778900dffab603624520073430087886599c00037bccbabc000000000000000000000000000000000000000000000000ba878787778908c9c89b001100000121104789756a9a900000369ccdb0000000000000000000000000000000000000000000000aca88969777893f26bbe91000111111111347a8649a98b8100000015afc000000000000000000000000000000000000000000006caa8996a877786f01a6562011111111222237a669aa888cb7414600000aa0000000000000000000000000000000000000000002daaa89b6a96777b9502742111111000111110586999998799047558778698000000000000000000000000000000000000000000bbaabaa969a77778600022011110012201100177aa7999777a400000210210000000000000000000000000000000000000000009caaadc6078b877779501112111036666010028aaa76a9a777880000000000000000000000000000000000000000000000000006daabda144a7aa778777401211105a434201000bb996699a86778400000000000000000000000000000000000000000000000005daaca4002aa7898789777532111014343101009d987769aa9677781000000000000000000000000000000000000000000000003dbcc700006c99788977a8473001110011001009db877768a9976767700000000000000000000000000000000000000000000000ddc8200005c9998789a868acb20000000011004cbb777667a9a8676786000000000000000000000000000000000000000000000bb600008867aa88977899967abc8310000000235baa7774678a99666759600000000000000000000000000000000000000000000d6269893007b9787778a788779aabcba52213425cb898536889997667509700000000000000000000000000000000000000000000562020000b97788889a967898989bb65444433278aa7647798998666810780000000000000000000000000000000000000000000000000007b7777225bca7768b989b802333331015c977677a889966777004830000000000000000000000000000000000000000000000000b7778410007c8676898ac502122222203c9877669a88a97878400096000000000000000000000000000000000000000000000006878861220003957889984001019491111ba986569a99aa447781000991000000000000000000000000000000000000000000006878785022000047576608100107e1e6000069a5458bb82000777600008a300000000000000000000000000000000000000000498787787113a00017454607a8bbac969b676067264478200000576840000995000000000000000000000000000000000000005996888788620aa0100835b607edbbdb687bdcccc6295362000000576682000198520000000000000000000000000000000000587204876892004b00214834a904fcbba9677bcbacb07a844500000098666700006965300000000000000000000000000000005740001977799000ad000077446b00cdcbada09caaae702977662001009a7666600029706200000000000000000000000000000970000088768a8102ce200085448d101cbabd706eaabb002d967885300005966665101881060000000000000000000000000001a70000078777999206cda0028435c6002babcc201dcbb7002bea6889940006a8766662588303500000000000000000000000000990000079776898a609bce005634ac006fbabbb010bbbac7002de22878a810398875555779200710000000000000000000000007a50000797777989911bbbc006348f9003bdcac60e57cabcf6008d80877984607988755545700073000000000000000000000003995003897776987a503daae81659df6000047dc30005dbbb81002dd27777906259888854545510850000000000000000000000078894688777679789006caad9593aed0001100c901001cd2000000af8677771b429888885455566740000000000000000000000098777787777787789308cab97820df4001000021000008400011004c7778726d60398888974454566400000000000000000000019665687777678778787aab768300eb00010001011200100120000158857a20cf702987876985445768740000000000000000003666668777777877767bcab8679002f40001000100013500001000000af752005f706a7789008a53450488500000000000000038867667877787787777bbab9776bb02e00000000000009e000010000002fa00009d6099877930099634303783000000000000189402766787789778778baaaa89769fa2d000000000000000000000000000dc0006dc6059877870079973530486000000000005a4000766687889777777baaaaa8b757e52d000000000000100100000000000ad003fbc606787778008889745106700000000008a1000676568888877787abaaaaa9aa77901f3000000000001001000000000008c000acba3777877900977896550070000000008b00001756568888877787baaaaaaa9baba00f8002210000000000000000000009b000cbab967678785787788966305000000007a4000046466588888777769cbaaaaaaaabd10be1123232100106a001000000000c800ccaaaa767677788777a258556400000004980000065466579888777765acbbaaaaabbcc04f9012222321107c011011122005f200dbaaab96776777777880086561000000078700001654465688887775665bbbbaaaaabcd009f702222223221012233323321ec02bcbaaaab86776777788000475620'
31
31
  const GIRL_LINES = '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001221000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050551247200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e601e8000001b624620000000000000000000000000000000000000000000000000000000000000000000000000000000000061f000000000000ff00068000000000000000000000000000000000000000000000000000000000000000000000000000000004b000000004000300000000090000000000000000000000000000000000000000000000000000000000000000000000000000006c5000600015100520030000080000000000000000000000000000000000000000000000000000000000000000000000000000005000005700000000000400000f55700000000000000000000000000000000000000000000000000000000000000000000000000100020000012125521100000021002800000000000000000000000000000000000000000000000000000000000000000000000070000600003fea779dfff910011000005000000000000000000000000000000000000000000000000000000000000000000000050000000112deb98422225efe10010000ff00000000000000000000000000000000000000000000000000000000000000000000f006000259b233233353322239fb000000099000000000000000000000000000000000000000000000000000000000000000000fd00110f95f52223222233323323cf1000000f000000000000000000000000000000000000000000000000000000000000000007f00001f82a43333333332333333324f2010005c0000000000000000000000000000000000000000000000000000000000000000ff1000f9254333333333333333333223f400000f1000000000000000000000000000000000000000000000000000000000000000f10008e23433333333333333323322333f10000f110000000000000000000000000000000000000000000000000000000000000300001f3333333333333332322234223335d110ff10400000000000000000000000000000000000000000000000000000000000060000983333333333333353222323422326920012f0010000000000000000000000000000000000000000000000000000000000700001d33333333334223239232232632323990000da0300000000000000000000000000000000000000000000000000000000004000059333333333322223337333323523324b70002f0100000000000000000000000000000000000000000000000000000000000f901b5333323333212233322b333326323336c1001f010000000000000000000000000000000000000000000000000000000000cf002b22333332332224343601a333236233237800bf02ee00000000000000000000000000000000000000000000000000000001f00085233324224333332369101a43326323334910fb246d0000000000000000000000000000000000000000000000000000000ff002c22333262273333333492116b733342333452152332b0000000000000000000000000000000000000000000000000000000ff00791234337119333333327a0002c533a31233332223f810000000000000000000000000000000000000000000000000000001ff10d22234338108633332422d00002735612433323313cf300000000000000000000000000000000000000000000000000000001f00a22235339102933322321f0000011287223333273743f80000000000000000000000000000000000000000000000000000000f005242343381118533222618000002104213333324f8433f400000000000000000000000000000000000000000000000000001ff813332243288004825322522102fffff1253323333654344f2000000000000000000000000000000000000000000000000001fc9d823332342b100082453224601fd2f13f9333233234333344f20000000000000000000000000000000000000000000000001f16683233323634100013233324901f72c90f82333342894333335f100000000000000000000000000000000000000000000000f90f453233323751100001163242270bdf3c011423323347e9433336f100000000000000000000000000000000000000000000000dfd4432333326801018d201b46b200572260025333233201afc84349f0000000000000000000000000000000000000000000000001a4323333334900fff7c2017129100b1110083432243f00013dfd97bf000000000000000000000000000000000000000000000000b5333233233806f3a36f000100000010002547322739900000128ffff0000000000000000000000000000000000000000000000cb533325322361f12ccfb0000000000000124b3225733e7000000002bff000000000000000000000000000000000000000000002f4433327322342f00e2251000000000111116b22584333ff9204a00000ff0000000000000000000000000000000000000000001f54433a2642323c9201a1100000000000001023243333325b03d86fced4fe000000000000000000000000000000000000000000f943548724822224200011000000001100000043662334223d100000100100000000000000000000000000000000000000000008e444ff2023932322b20000100002babe00001896932434322780000000000000000000000000000000000000000000000000002f548fa0119276333225100110009f214200000ea33224353222a200000000000000000000000000000000000000000000000002f66eb1001b72343235325211000005343000008f3332234432224a0000000000000000000000000000000000000000000000001fbdf300002e333333239322100000000000000af932222363422226a00000000000000000000000000000000000000000000000fff5100002f434333383238ff10000000000001f8722322353532223b8000000000000000000000000000000000000000000000ff20000ff45b5333323433228bf5100000000112e73232123343422222e900000000000000000000000000000000000000000000f515fef1003a3233223533322389dfff41102612fa33321233335222420fb00000000000000000000000000000000000000000000591010000f622557477323343333be36255411134662222343333222800cf0000000000000000000000000000000000000000000000000005f2236112ff922238333c601111111002f4332227333522246003f10000000000000000000000000000000000000000000000000f3337100006f52323437f201011111101f43322245338836491000fb000000000000000000000000000000000000000000000005623440110001d2253675100000c1f0000fa542224767ef1175b0000ff0000000000000000000000000000000000000000000004734352011000015242207000004f1f2000027d2125df9100065780000ff1000000000000000000000000000000000000000002e9343376001f00009121203b3dd8f324d222022121169100000272a10000ff3000000000000000000000000000000000000006ff2633269710ff0000c12f303fc66e72338eceef21c21410000002622b10001fa6100000000000000000000000000000000009fc1026323a1001f00102c11da02f744332237754ce03f6214000000e9222900005d46200000000000000000000000000000009f50000b3228a000cf0000b7112f00fc444d803a444f30172225100000fe222470001c70a100000000000000000000000000000fc00000b522398001ff1000d2126f000c444f302f444c001f6236a2100002922246000bc00d0000000000000000000000000000fc000008822246a102efb001d112f20018447f100f8463001ff9256ab20003c42224712ab102900000000000000000000000000ff000008b322354b20899f005511af005f9446c000b644d2001ff11536fc001c542222257e100f00000000000000000000000009f200009b3223536a10d46d006113f8001ffa4e20f22c45df7007f303328815056353222129000e3000000000000000000000001d92001aa3222433a201f44f30325ff2000013ff10002faafa0001ff12322904129334422222400d500000000000000000000000995a12a7222234338002e44f62c18ff0000000fd00000ff1000000cf3233440f2195334421223659100000000000000000000000c6322452222243337103a4632910ff100000001000000d200012001f2337712f2018333493112123610000000000000000000000c222242222233333232558325100ff00010000000400000010000025322f10ff201933432ca211287dc200000000000000000017322243222323333229a463228001f10001000000002700000000000df321002f202b323900ae212201cd60000000000000002fd6622243223323332375443222cf01f0000100010000ff000010000001fb00006f20b8322b100ab212101be10000000000000ff3016223322352333237444434225fb1f000000001000000000010000000ff0002fe20284228600598212101f8000000000007f500083223333432333364443439222f21f000000001000000000000000000ef001f9c20235324b008538313009d0000000000ef0000772223333332233554443434422500f1000000000000000000000000009f00089641323422a009234922400e000000000df00001922224333322233a44344443448900f900140000000000000000000000df000d547522233252242246a24109000000009f1000056242253333222323c4433444444f00ff001324200000cf000000000000fa00fc4446222223255222c12b229300000001eb000008312223433322232249444444445cf01fb00111241000df000000133002f100f64446322222322228900c32900000000ab80000082112224333223222244444444448f007f701111224110001246323310ff01fd44444832222322248000172810'
32
32
 
33
33
  /** Grid aspect (width / height), used to keep the portrait undistorted. */
34
- const GIRL_ASPECT = FISH_COLUMNS / FISH_ROWS
34
+ const GIRL_ASPECT = GIRL_COLUMNS / GIRL_ROWS
35
35
 
36
36
  /** Wordmark set in dots on the left: two lines, sampled from live text. */
37
37
  const LOCKUP_LINES = ['deepseek', 'harness']
@@ -87,11 +87,11 @@ window.__ModuleLoader__.load({
87
87
  for (let index = 0; index < cells.length; index += 1) {
88
88
  const weight = Number.parseInt(cells[index], 16)
89
89
  if (!(weight > 0)) continue
90
- const row = Math.floor(index / FISH_COLUMNS)
91
- const column = index % FISH_COLUMNS
90
+ const row = Math.floor(index / GIRL_COLUMNS)
91
+ const column = index % GIRL_COLUMNS
92
92
  dots.push({
93
- u: (column + 0.5) / FISH_COLUMNS,
94
- v: (row + 0.5) / FISH_ROWS,
93
+ u: (column + 0.5) / GIRL_COLUMNS,
94
+ v: (row + 0.5) / GIRL_ROWS,
95
95
  a: weight / 15,
96
96
  phase: Math.random() * TAU,
97
97
  speed: 0.5 + Math.random() * 0.8,
@@ -106,7 +106,7 @@ window.__ModuleLoader__.load({
106
106
  * @returns dots in normalised space.
107
107
  */
108
108
  function mascotDots() {
109
- if (dotModel === undefined) dotModel = decodeGrid(FISH_GRID)
109
+ if (dotModel === undefined) dotModel = decodeGrid(GIRL_GRID)
110
110
  return dotModel
111
111
  }
112
112
 
@@ -120,22 +120,22 @@ window.__ModuleLoader__.load({
120
120
  */
121
121
  function invertedDots() {
122
122
  if (lineModel !== undefined) return lineModel
123
- const total = FISH_COLUMNS * FISH_ROWS
123
+ const total = GIRL_COLUMNS * GIRL_ROWS
124
124
  const occupied = new Uint8Array(total)
125
125
  const weight = new Float32Array(total)
126
- for (let index = 0; index < FISH_GRID.length && index < total; index += 1) {
127
- const value = Number.parseInt(FISH_GRID[index], 16)
126
+ for (let index = 0; index < GIRL_GRID.length && index < total; index += 1) {
127
+ const value = Number.parseInt(GIRL_GRID[index], 16)
128
128
  if (!(value > 0)) continue
129
129
  occupied[index] = 1
130
130
  weight[index] = value / 15
131
131
  }
132
- const rowFirst = new Int32Array(FISH_ROWS).fill(-1)
133
- const rowLast = new Int32Array(FISH_ROWS).fill(-1)
134
- const columnFirst = new Int32Array(FISH_COLUMNS).fill(-1)
135
- const columnLast = new Int32Array(FISH_COLUMNS).fill(-1)
136
- for (let row = 0; row < FISH_ROWS; row += 1) {
137
- for (let column = 0; column < FISH_COLUMNS; column += 1) {
138
- if (occupied[row * FISH_COLUMNS + column] === 0) continue
132
+ const rowFirst = new Int32Array(GIRL_ROWS).fill(-1)
133
+ const rowLast = new Int32Array(GIRL_ROWS).fill(-1)
134
+ const columnFirst = new Int32Array(GIRL_COLUMNS).fill(-1)
135
+ const columnLast = new Int32Array(GIRL_COLUMNS).fill(-1)
136
+ for (let row = 0; row < GIRL_ROWS; row += 1) {
137
+ for (let column = 0; column < GIRL_COLUMNS; column += 1) {
138
+ if (occupied[row * GIRL_COLUMNS + column] === 0) continue
139
139
  if (rowFirst[row] < 0) rowFirst[row] = column
140
140
  rowLast[row] = column
141
141
  if (columnFirst[column] < 0) columnFirst[column] = row
@@ -143,16 +143,16 @@ window.__ModuleLoader__.load({
143
143
  }
144
144
  }
145
145
  const dots = []
146
- for (let row = 0; row < FISH_ROWS; row += 1) {
147
- for (let column = 0; column < FISH_COLUMNS; column += 1) {
146
+ for (let row = 0; row < GIRL_ROWS; row += 1) {
147
+ for (let column = 0; column < GIRL_COLUMNS; column += 1) {
148
148
  if (row < columnFirst[column] || row > columnLast[column]) continue
149
149
  if (column < rowFirst[row] || column > rowLast[row]) continue
150
- const index = row * FISH_COLUMNS + column
150
+ const index = row * GIRL_COLUMNS + column
151
151
  const alpha = occupied[index] === 1 ? 1 - weight[index] : 1
152
152
  if (alpha < 0.45) continue
153
153
  dots.push({
154
- u: (column + 0.5) / FISH_COLUMNS,
155
- v: (row + 0.5) / FISH_ROWS,
154
+ u: (column + 0.5) / GIRL_COLUMNS,
155
+ v: (row + 0.5) / GIRL_ROWS,
156
156
  a: alpha,
157
157
  phase: Math.random() * TAU,
158
158
  speed: 0.5 + Math.random() * 0.8,
@@ -390,16 +390,16 @@ window.__ModuleLoader__.load({
390
390
  // and the space above the composer (the pair hangs above it instead of
391
391
  // being covered by it).
392
392
  const availW = limit * 0.94
393
- const pairCells = LOCKUP_COLUMNS + FISH_COLUMNS - 30
393
+ const pairCells = LOCKUP_COLUMNS + GIRL_COLUMNS - 30
394
394
  const bandTop = composerTop > 140 ? composerTop : height * 0.86
395
- const heightPitch = Math.max(1, bandTop - 8) / FISH_ROWS
395
+ const heightPitch = Math.max(1, bandTop - 8) / GIRL_ROWS
396
396
  let pitch = Math.min(DOT_PITCH, availW / pairCells, heightPitch)
397
397
  let showText = true
398
398
  if (pitch < TEXT_MIN_PITCH) {
399
399
  // Only when the type would fall below the readable floor: drop the
400
400
  // wordmark and keep the portrait as large as it can be.
401
401
  showText = false
402
- pitch = Math.min(DOT_PITCH, availW / FISH_COLUMNS, heightPitch)
402
+ pitch = Math.min(DOT_PITCH, availW / GIRL_COLUMNS, heightPitch)
403
403
  }
404
404
  if (pitch < 2.2) {
405
405
  context.setTransform(dpr, 0, 0, dpr, 0, 0)
@@ -408,8 +408,8 @@ window.__ModuleLoader__.load({
408
408
  }
409
409
  const blockW = LOCKUP_COLUMNS * pitch
410
410
  const blockH = LOCKUP_ROWS * pitch
411
- const portraitW = FISH_COLUMNS * pitch
412
- const portraitH = FISH_ROWS * pitch
411
+ const portraitW = GIRL_COLUMNS * pitch
412
+ const portraitH = GIRL_ROWS * pitch
413
413
  const overlap = Math.max(8, pitch * 30)
414
414
  const pairW = blockW + portraitW - overlap
415
415
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-fish-ui",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
- "description": "Deep Fish UI — a Catppuccin-themed, dot-matrix DSH theme: fish hero artwork, aurora background, pointer physics, thinking/text motion, Maple Mono NF CN type and fish-finish toggles.",
5
+ "description": "Deep Fish UI — a Catppuccin-themed, dot-matrix DSH theme with the whale-girl maid hero artwork, aurora background, pointer physics, thinking/text motion, Maple Mono NF CN type and fish-finish toggles.",
6
6
  "license": "MIT",
7
7
  "author": "Guocheng Song",
8
8
  "repository": {