@20baht/stickers 0.0.0-stage → 0.1.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.
- package/LICENSE +48 -0
- package/README.md +173 -2
- package/dist/all.d.ts +4 -0
- package/dist/all.js +7 -0
- package/dist/element.d.ts +103 -0
- package/dist/element.js +181 -0
- package/dist/graph.d.ts +172 -0
- package/dist/graph.js +374 -0
- package/dist/icons/access-point.d.ts +2 -0
- package/dist/icons/access-point.js +34 -0
- package/dist/icons/ai-agent.d.ts +2 -0
- package/dist/icons/ai-agent.js +50 -0
- package/dist/icons/alarm-clock.d.ts +2 -0
- package/dist/icons/alarm-clock.js +46 -0
- package/dist/icons/all-in-one.d.ts +2 -0
- package/dist/icons/all-in-one.js +37 -0
- package/dist/icons/angpao.d.ts +2 -0
- package/dist/icons/angpao.js +46 -0
- package/dist/icons/badge-reader.d.ts +2 -0
- package/dist/icons/badge-reader.js +51 -0
- package/dist/icons/baht-note.d.ts +2 -0
- package/dist/icons/baht-note.js +42 -0
- package/dist/icons/bamboo.d.ts +2 -0
- package/dist/icons/bamboo.js +57 -0
- package/dist/icons/banana-leaf.d.ts +2 -0
- package/dist/icons/banana-leaf.js +87 -0
- package/dist/icons/banana-tree.d.ts +2 -0
- package/dist/icons/banana-tree.js +75 -0
- package/dist/icons/bear.d.ts +2 -0
- package/dist/icons/bear.js +39 -0
- package/dist/icons/blade-chassis.d.ts +2 -0
- package/dist/icons/blade-chassis.js +43 -0
- package/dist/icons/bond.d.ts +2 -0
- package/dist/icons/bond.js +48 -0
- package/dist/icons/books.d.ts +2 -0
- package/dist/icons/books.js +44 -0
- package/dist/icons/bts-card.d.ts +2 -0
- package/dist/icons/bts-card.js +47 -0
- package/dist/icons/budget-jar.d.ts +2 -0
- package/dist/icons/budget-jar.js +43 -0
- package/dist/icons/cactus.d.ts +2 -0
- package/dist/icons/cactus.js +42 -0
- package/dist/icons/calculator.d.ts +2 -0
- package/dist/icons/calculator.js +46 -0
- package/dist/icons/calendar-month.d.ts +2 -0
- package/dist/icons/calendar-month.js +66 -0
- package/dist/icons/campfire.d.ts +2 -0
- package/dist/icons/campfire.js +63 -0
- package/dist/icons/cctv.d.ts +2 -0
- package/dist/icons/cctv.js +38 -0
- package/dist/icons/certificate.d.ts +2 -0
- package/dist/icons/certificate.js +50 -0
- package/dist/icons/cha-yen.d.ts +2 -0
- package/dist/icons/cha-yen.js +68 -0
- package/dist/icons/chedi.d.ts +2 -0
- package/dist/icons/chedi.js +56 -0
- package/dist/icons/classic-phone.d.ts +2 -0
- package/dist/icons/classic-phone.js +32 -0
- package/dist/icons/clipboard.d.ts +2 -0
- package/dist/icons/clipboard.js +61 -0
- package/dist/icons/cloud.d.ts +2 -0
- package/dist/icons/cloud.js +28 -0
- package/dist/icons/coins.d.ts +2 -0
- package/dist/icons/coins.js +34 -0
- package/dist/icons/compare.d.ts +2 -0
- package/dist/icons/compare.js +33 -0
- package/dist/icons/confetti.d.ts +2 -0
- package/dist/icons/confetti.js +72 -0
- package/dist/icons/convenience-bag.d.ts +2 -0
- package/dist/icons/convenience-bag.js +51 -0
- package/dist/icons/cooling.d.ts +2 -0
- package/dist/icons/cooling.js +46 -0
- package/dist/icons/copy-files.d.ts +2 -0
- package/dist/icons/copy-files.js +37 -0
- package/dist/icons/core-switch.d.ts +2 -0
- package/dist/icons/core-switch.js +48 -0
- package/dist/icons/cron.d.ts +2 -0
- package/dist/icons/cron.js +86 -0
- package/dist/icons/cursor.d.ts +2 -0
- package/dist/icons/cursor.js +27 -0
- package/dist/icons/database.d.ts +2 -0
- package/dist/icons/database.js +24 -0
- package/dist/icons/desktop-tower.d.ts +2 -0
- package/dist/icons/desktop-tower.js +41 -0
- package/dist/icons/disc-image.d.ts +2 -0
- package/dist/icons/disc-image.js +54 -0
- package/dist/icons/dollar-note.d.ts +2 -0
- package/dist/icons/dollar-note.js +44 -0
- package/dist/icons/electric-bill.d.ts +2 -0
- package/dist/icons/electric-bill.js +51 -0
- package/dist/icons/email.d.ts +2 -0
- package/dist/icons/email.js +57 -0
- package/dist/icons/empty-state.d.ts +2 -0
- package/dist/icons/empty-state.js +75 -0
- package/dist/icons/expense.d.ts +2 -0
- package/dist/icons/expense.js +36 -0
- package/dist/icons/export-file.d.ts +2 -0
- package/dist/icons/export-file.js +35 -0
- package/dist/icons/eyedropper.d.ts +2 -0
- package/dist/icons/eyedropper.js +69 -0
- package/dist/icons/face-id.d.ts +2 -0
- package/dist/icons/face-id.js +51 -0
- package/dist/icons/file.d.ts +2 -0
- package/dist/icons/file.js +15 -0
- package/dist/icons/finance-b-coins.d.ts +8 -0
- package/dist/icons/finance-b-coins.js +14 -0
- package/dist/icons/finance-tray.d.ts +11 -0
- package/dist/icons/finance-tray.js +41 -0
- package/dist/icons/fingerprint.d.ts +2 -0
- package/dist/icons/fingerprint.js +45 -0
- package/dist/icons/firewall.d.ts +2 -0
- package/dist/icons/firewall.js +76 -0
- package/dist/icons/floating-ip.d.ts +2 -0
- package/dist/icons/floating-ip.js +59 -0
- package/dist/icons/flower.d.ts +2 -0
- package/dist/icons/flower.js +49 -0
- package/dist/icons/food.d.ts +6 -0
- package/dist/icons/food.js +18 -0
- package/dist/icons/freelance.d.ts +2 -0
- package/dist/icons/freelance.js +51 -0
- package/dist/icons/fuel.d.ts +2 -0
- package/dist/icons/fuel.js +46 -0
- package/dist/icons/goal.d.ts +2 -0
- package/dist/icons/goal.js +51 -0
- package/dist/icons/gold-bar.d.ts +2 -0
- package/dist/icons/gold-bar.js +60 -0
- package/dist/icons/hard-drive.d.ts +2 -0
- package/dist/icons/hard-drive.js +42 -0
- package/dist/icons/highlighter.d.ts +2 -0
- package/dist/icons/highlighter.js +75 -0
- package/dist/icons/home-router.d.ts +2 -0
- package/dist/icons/home-router.js +32 -0
- package/dist/icons/hot-drink.d.ts +2 -0
- package/dist/icons/hot-drink.js +33 -0
- package/dist/icons/hsm.d.ts +2 -0
- package/dist/icons/hsm.js +54 -0
- package/dist/icons/id-card.d.ts +2 -0
- package/dist/icons/id-card.js +36 -0
- package/dist/icons/income.d.ts +2 -0
- package/dist/icons/income.js +28 -0
- package/dist/icons/index.d.ts +187 -0
- package/dist/icons/index.js +370 -0
- package/dist/icons/interest.d.ts +2 -0
- package/dist/icons/interest.js +66 -0
- package/dist/icons/iot-sensor.d.ts +2 -0
- package/dist/icons/iot-sensor.js +35 -0
- package/dist/icons/ip-phone.d.ts +2 -0
- package/dist/icons/ip-phone.js +47 -0
- package/dist/icons/ipad-gen8.d.ts +2 -0
- package/dist/icons/ipad-gen8.js +58 -0
- package/dist/icons/iphone-17.d.ts +2 -0
- package/dist/icons/iphone-17.js +37 -0
- package/dist/icons/iso.d.ts +2 -0
- package/dist/icons/iso.js +3 -0
- package/dist/icons/kanban.d.ts +2 -0
- package/dist/icons/kanban.js +85 -0
- package/dist/icons/kaprao.d.ts +2 -0
- package/dist/icons/kaprao.js +70 -0
- package/dist/icons/key-pair.d.ts +2 -0
- package/dist/icons/key-pair.js +54 -0
- package/dist/icons/key.d.ts +3 -0
- package/dist/icons/key.js +37 -0
- package/dist/icons/keyboard.d.ts +2 -0
- package/dist/icons/keyboard.js +35 -0
- package/dist/icons/kite.d.ts +2 -0
- package/dist/icons/kite.js +53 -0
- package/dist/icons/kvm.d.ts +2 -0
- package/dist/icons/kvm.js +53 -0
- package/dist/icons/lamp.d.ts +2 -0
- package/dist/icons/lamp.js +49 -0
- package/dist/icons/laptop.d.ts +2 -0
- package/dist/icons/laptop.js +44 -0
- package/dist/icons/load-balancer.d.ts +2 -0
- package/dist/icons/load-balancer.js +50 -0
- package/dist/icons/lock-screen.d.ts +2 -0
- package/dist/icons/lock-screen.js +44 -0
- package/dist/icons/long-tail-boat.d.ts +2 -0
- package/dist/icons/long-tail-boat.js +66 -0
- package/dist/icons/lottery.d.ts +2 -0
- package/dist/icons/lottery.js +51 -0
- package/dist/icons/lotus.d.ts +2 -0
- package/dist/icons/lotus.js +70 -0
- package/dist/icons/mac-mini.d.ts +2 -0
- package/dist/icons/mac-mini.js +31 -0
- package/dist/icons/macbook-air.d.ts +2 -0
- package/dist/icons/macbook-air.js +41 -0
- package/dist/icons/mailbox-thai.d.ts +2 -0
- package/dist/icons/mailbox-thai.js +66 -0
- package/dist/icons/mango-sticky-rice.d.ts +2 -0
- package/dist/icons/mango-sticky-rice.js +41 -0
- package/dist/icons/marigold.d.ts +2 -0
- package/dist/icons/marigold.js +69 -0
- package/dist/icons/market-basket.d.ts +2 -0
- package/dist/icons/market-basket.js +69 -0
- package/dist/icons/media-player.d.ts +2 -0
- package/dist/icons/media-player.js +71 -0
- package/dist/icons/metrics.d.ts +2 -0
- package/dist/icons/metrics.js +58 -0
- package/dist/icons/mini-pc.d.ts +2 -0
- package/dist/icons/mini-pc.js +26 -0
- package/dist/icons/modem.d.ts +2 -0
- package/dist/icons/modem.js +37 -0
- package/dist/icons/monitor.d.ts +2 -0
- package/dist/icons/monitor.js +40 -0
- package/dist/icons/monstera.d.ts +2 -0
- package/dist/icons/monstera.js +47 -0
- package/dist/icons/moon.d.ts +2 -0
- package/dist/icons/moon.js +55 -0
- package/dist/icons/motorbike-taxi.d.ts +2 -0
- package/dist/icons/motorbike-taxi.js +42 -0
- package/dist/icons/music-note.d.ts +2 -0
- package/dist/icons/music-note.js +63 -0
- package/dist/icons/nas-2bay.d.ts +2 -0
- package/dist/icons/nas-2bay.js +49 -0
- package/dist/icons/nas.d.ts +2 -0
- package/dist/icons/nas.js +41 -0
- package/dist/icons/nature-iso.d.ts +29 -0
- package/dist/icons/nature-iso.js +74 -0
- package/dist/icons/noodle-soup.d.ts +2 -0
- package/dist/icons/noodle-soup.js +52 -0
- package/dist/icons/notebook.d.ts +2 -0
- package/dist/icons/notebook.js +44 -0
- package/dist/icons/object-drum.d.ts +18 -0
- package/dist/icons/object-drum.js +63 -0
- package/dist/icons/otp.d.ts +2 -0
- package/dist/icons/otp.js +46 -0
- package/dist/icons/over-budget.d.ts +2 -0
- package/dist/icons/over-budget.js +48 -0
- package/dist/icons/pad-see-ew.d.ts +2 -0
- package/dist/icons/pad-see-ew.js +56 -0
- package/dist/icons/palm-tree.d.ts +2 -0
- package/dist/icons/palm-tree.js +52 -0
- package/dist/icons/paper-boat.d.ts +2 -0
- package/dist/icons/paper-boat.js +67 -0
- package/dist/icons/paper.d.ts +3 -0
- package/dist/icons/paper.js +45 -0
- package/dist/icons/password.d.ts +2 -0
- package/dist/icons/password.js +45 -0
- package/dist/icons/patch-panel.d.ts +2 -0
- package/dist/icons/patch-panel.js +41 -0
- package/dist/icons/pdu.d.ts +2 -0
- package/dist/icons/pdu.js +40 -0
- package/dist/icons/phone-topup.d.ts +2 -0
- package/dist/icons/phone-topup.js +55 -0
- package/dist/icons/photo.d.ts +2 -0
- package/dist/icons/photo.js +48 -0
- package/dist/icons/phuang-malai.d.ts +2 -0
- package/dist/icons/phuang-malai.js +59 -0
- package/dist/icons/pie-chart.d.ts +2 -0
- package/dist/icons/pie-chart.js +36 -0
- package/dist/icons/piggy-bank.d.ts +2 -0
- package/dist/icons/piggy-bank.js +64 -0
- package/dist/icons/plant-kit.d.ts +23 -0
- package/dist/icons/plant-kit.js +112 -0
- package/dist/icons/plastic-stool.d.ts +2 -0
- package/dist/icons/plastic-stool.js +67 -0
- package/dist/icons/pointer.d.ts +1 -0
- package/dist/icons/pointer.js +12 -0
- package/dist/icons/pos.d.ts +2 -0
- package/dist/icons/pos.js +59 -0
- package/dist/icons/potted-plant.d.ts +2 -0
- package/dist/icons/potted-plant.js +31 -0
- package/dist/icons/power-pole.d.ts +2 -0
- package/dist/icons/power-pole.js +60 -0
- package/dist/icons/power-station.d.ts +2 -0
- package/dist/icons/power-station.js +56 -0
- package/dist/icons/printer.d.ts +2 -0
- package/dist/icons/printer.js +46 -0
- package/dist/icons/qr-code.d.ts +2 -0
- package/dist/icons/qr-code.js +45 -0
- package/dist/icons/rack.d.ts +2 -0
- package/dist/icons/rack.js +39 -0
- package/dist/icons/rain-cloud.d.ts +2 -0
- package/dist/icons/rain-cloud.js +31 -0
- package/dist/icons/rainbow.d.ts +2 -0
- package/dist/icons/rainbow.js +46 -0
- package/dist/icons/receipt.d.ts +2 -0
- package/dist/icons/receipt.js +56 -0
- package/dist/icons/redmi-note-9s-pro.d.ts +2 -0
- package/dist/icons/redmi-note-9s-pro.js +37 -0
- package/dist/icons/register.d.ts +2 -0
- package/dist/icons/register.js +40 -0
- package/dist/icons/remote-desktop.d.ts +2 -0
- package/dist/icons/remote-desktop.js +62 -0
- package/dist/icons/remote-folder.d.ts +2 -0
- package/dist/icons/remote-folder.js +55 -0
- package/dist/icons/rent.d.ts +2 -0
- package/dist/icons/rent.js +50 -0
- package/dist/icons/rock.d.ts +2 -0
- package/dist/icons/rock.js +80 -0
- package/dist/icons/router.d.ts +2 -0
- package/dist/icons/router.js +59 -0
- package/dist/icons/salary.d.ts +2 -0
- package/dist/icons/salary.js +54 -0
- package/dist/icons/saving-streak.d.ts +2 -0
- package/dist/icons/saving-streak.js +66 -0
- package/dist/icons/scan-slip.d.ts +2 -0
- package/dist/icons/scan-slip.js +53 -0
- package/dist/icons/scissors.d.ts +2 -0
- package/dist/icons/scissors.js +52 -0
- package/dist/icons/server-cabinet.d.ts +2 -0
- package/dist/icons/server-cabinet.js +49 -0
- package/dist/icons/server.d.ts +2 -0
- package/dist/icons/server.js +41 -0
- package/dist/icons/shared.d.ts +8 -0
- package/dist/icons/shared.js +18 -0
- package/dist/icons/shield.d.ts +3 -0
- package/dist/icons/shield.js +28 -0
- package/dist/icons/shooting-star.d.ts +2 -0
- package/dist/icons/shooting-star.js +37 -0
- package/dist/icons/shopping-box.d.ts +2 -0
- package/dist/icons/shopping-box.js +46 -0
- package/dist/icons/sky-kit.d.ts +19 -0
- package/dist/icons/sky-kit.js +72 -0
- package/dist/icons/smart-tv.d.ts +2 -0
- package/dist/icons/smart-tv.js +39 -0
- package/dist/icons/smartphone.d.ts +2 -0
- package/dist/icons/smartphone.js +30 -0
- package/dist/icons/sms.d.ts +2 -0
- package/dist/icons/sms.js +45 -0
- package/dist/icons/snapshots.d.ts +2 -0
- package/dist/icons/snapshots.js +45 -0
- package/dist/icons/snip.d.ts +2 -0
- package/dist/icons/snip.js +63 -0
- package/dist/icons/spirit-house.d.ts +2 -0
- package/dist/icons/spirit-house.js +73 -0
- package/dist/icons/ssl-certificate.d.ts +2 -0
- package/dist/icons/ssl-certificate.js +56 -0
- package/dist/icons/star.d.ts +2 -0
- package/dist/icons/star.js +16 -0
- package/dist/icons/stock.d.ts +2 -0
- package/dist/icons/stock.js +62 -0
- package/dist/icons/storage-array.d.ts +2 -0
- package/dist/icons/storage-array.js +40 -0
- package/dist/icons/storm.d.ts +2 -0
- package/dist/icons/storm.js +43 -0
- package/dist/icons/street-food-cart.d.ts +2 -0
- package/dist/icons/street-food-cart.js +66 -0
- package/dist/icons/street-kit.d.ts +19 -0
- package/dist/icons/street-kit.js +67 -0
- package/dist/icons/street-sign.d.ts +2 -0
- package/dist/icons/street-sign.js +42 -0
- package/dist/icons/studio-monitors.d.ts +2 -0
- package/dist/icons/studio-monitors.js +67 -0
- package/dist/icons/sun.d.ts +2 -0
- package/dist/icons/sun.js +40 -0
- package/dist/icons/support.d.ts +2 -0
- package/dist/icons/support.js +48 -0
- package/dist/icons/switch.d.ts +2 -0
- package/dist/icons/switch.js +34 -0
- package/dist/icons/tablet.d.ts +2 -0
- package/dist/icons/tablet.js +44 -0
- package/dist/icons/tape-library.d.ts +2 -0
- package/dist/icons/tape-library.js +48 -0
- package/dist/icons/temple-donation.d.ts +2 -0
- package/dist/icons/temple-donation.js +60 -0
- package/dist/icons/tent.d.ts +2 -0
- package/dist/icons/tent.js +66 -0
- package/dist/icons/terminal.d.ts +2 -0
- package/dist/icons/terminal.js +56 -0
- package/dist/icons/thai-house.d.ts +2 -0
- package/dist/icons/thai-house.js +85 -0
- package/dist/icons/thai-lantern.d.ts +2 -0
- package/dist/icons/thai-lantern.js +61 -0
- package/dist/icons/thinkpad-l380.d.ts +2 -0
- package/dist/icons/thinkpad-l380.js +54 -0
- package/dist/icons/timer.d.ts +2 -0
- package/dist/icons/timer.js +59 -0
- package/dist/icons/train-ticket.d.ts +2 -0
- package/dist/icons/train-ticket.js +57 -0
- package/dist/icons/trash.d.ts +2 -0
- package/dist/icons/trash.js +62 -0
- package/dist/icons/tree.d.ts +2 -0
- package/dist/icons/tree.js +40 -0
- package/dist/icons/tuk-tuk.d.ts +2 -0
- package/dist/icons/tuk-tuk.js +45 -0
- package/dist/icons/tulip.d.ts +2 -0
- package/dist/icons/tulip.js +56 -0
- package/dist/icons/tunnel.d.ts +2 -0
- package/dist/icons/tunnel.js +50 -0
- package/dist/icons/two-factor.d.ts +2 -0
- package/dist/icons/two-factor.js +81 -0
- package/dist/icons/ups.d.ts +2 -0
- package/dist/icons/ups.js +37 -0
- package/dist/icons/usb-drive.d.ts +2 -0
- package/dist/icons/usb-drive.js +35 -0
- package/dist/icons/verified.d.ts +2 -0
- package/dist/icons/verified.js +32 -0
- package/dist/icons/virtual-machine.d.ts +2 -0
- package/dist/icons/virtual-machine.js +66 -0
- package/dist/icons/volume.d.ts +6 -0
- package/dist/icons/volume.js +35 -0
- package/dist/icons/vpn-gateway.d.ts +2 -0
- package/dist/icons/vpn-gateway.js +51 -0
- package/dist/icons/wake-on-lan.d.ts +2 -0
- package/dist/icons/wake-on-lan.js +40 -0
- package/dist/icons/wallet.d.ts +3 -0
- package/dist/icons/wallet.js +55 -0
- package/dist/icons/water-jar.d.ts +2 -0
- package/dist/icons/water-jar.js +72 -0
- package/dist/icons/wooden-window.d.ts +2 -0
- package/dist/icons/wooden-window.js +65 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -0
- package/dist/iso.d.ts +32 -0
- package/dist/iso.js +64 -0
- package/dist/load.d.ts +199 -0
- package/dist/load.js +199 -0
- package/dist/motions.d.ts +68 -0
- package/dist/motions.js +446 -0
- package/dist/sticker.d.ts +269 -0
- package/dist/sticker.js +1009 -0
- package/package.json +101 -4
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import { file } from './file.js';
|
|
2
|
+
import { trash } from './trash.js';
|
|
3
|
+
import { copyFiles } from './copy-files.js';
|
|
4
|
+
import { compare } from './compare.js';
|
|
5
|
+
import { remoteFolder } from './remote-folder.js';
|
|
6
|
+
import { photo } from './photo.js';
|
|
7
|
+
import { hardDrive } from './hard-drive.js';
|
|
8
|
+
import { usbDrive } from './usb-drive.js';
|
|
9
|
+
import { snip } from './snip.js';
|
|
10
|
+
import { scissors } from './scissors.js';
|
|
11
|
+
import { clipboard } from './clipboard.js';
|
|
12
|
+
import { highlighter } from './highlighter.js';
|
|
13
|
+
import { eyedropper } from './eyedropper.js';
|
|
14
|
+
import { timer } from './timer.js';
|
|
15
|
+
import { snapshots } from './snapshots.js';
|
|
16
|
+
import { remoteDesktop } from './remote-desktop.js';
|
|
17
|
+
import { cursor } from './cursor.js';
|
|
18
|
+
import { keyboard } from './keyboard.js';
|
|
19
|
+
import { terminal } from './terminal.js';
|
|
20
|
+
import { tunnel } from './tunnel.js';
|
|
21
|
+
import { wakeOnLan } from './wake-on-lan.js';
|
|
22
|
+
import { lockScreen } from './lock-screen.js';
|
|
23
|
+
import { aiAgent } from './ai-agent.js';
|
|
24
|
+
import { certificate } from './certificate.js';
|
|
25
|
+
import { sslCertificate } from './ssl-certificate.js';
|
|
26
|
+
import { piggyBank } from './piggy-bank.js';
|
|
27
|
+
import { stock } from './stock.js';
|
|
28
|
+
import { bahtNote } from './baht-note.js';
|
|
29
|
+
import { dollarNote } from './dollar-note.js';
|
|
30
|
+
import { bond } from './bond.js';
|
|
31
|
+
import { goldBar } from './gold-bar.js';
|
|
32
|
+
import { kaprao } from './kaprao.js';
|
|
33
|
+
import { noodleSoup } from './noodle-soup.js';
|
|
34
|
+
import { padSeeEw } from './pad-see-ew.js';
|
|
35
|
+
import { trainTicket } from './train-ticket.js';
|
|
36
|
+
import { tukTuk } from './tuk-tuk.js';
|
|
37
|
+
import { chaYen } from './cha-yen.js';
|
|
38
|
+
import { mangoStickyRice } from './mango-sticky-rice.js';
|
|
39
|
+
import { twoFactor } from './two-factor.js';
|
|
40
|
+
import { otp } from './otp.js';
|
|
41
|
+
import { sms } from './sms.js';
|
|
42
|
+
import { email } from './email.js';
|
|
43
|
+
import { register } from './register.js';
|
|
44
|
+
import { support } from './support.js';
|
|
45
|
+
import { idCard } from './id-card.js';
|
|
46
|
+
import { fingerprint } from './fingerprint.js';
|
|
47
|
+
import { faceId } from './face-id.js';
|
|
48
|
+
import { password } from './password.js';
|
|
49
|
+
import { verified } from './verified.js';
|
|
50
|
+
import { qrCode } from './qr-code.js';
|
|
51
|
+
import { accessPoint } from './access-point.js';
|
|
52
|
+
import { allInOne } from './all-in-one.js';
|
|
53
|
+
import { badgeReader } from './badge-reader.js';
|
|
54
|
+
import { bear } from './bear.js';
|
|
55
|
+
import { bladeChassis } from './blade-chassis.js';
|
|
56
|
+
import { cctv } from './cctv.js';
|
|
57
|
+
import { classicPhone } from './classic-phone.js';
|
|
58
|
+
import { cooling } from './cooling.js';
|
|
59
|
+
import { coreSwitch } from './core-switch.js';
|
|
60
|
+
import { database } from './database.js';
|
|
61
|
+
import { desktopTower } from './desktop-tower.js';
|
|
62
|
+
import { firewall } from './firewall.js';
|
|
63
|
+
import { homeRouter } from './home-router.js';
|
|
64
|
+
import { hsm } from './hsm.js';
|
|
65
|
+
import { iotSensor } from './iot-sensor.js';
|
|
66
|
+
import { ipPhone } from './ip-phone.js';
|
|
67
|
+
import { key } from './key.js';
|
|
68
|
+
import { kvm } from './kvm.js';
|
|
69
|
+
import { laptop } from './laptop.js';
|
|
70
|
+
import { loadBalancer } from './load-balancer.js';
|
|
71
|
+
import { miniPc } from './mini-pc.js';
|
|
72
|
+
import { modem } from './modem.js';
|
|
73
|
+
import { monitor } from './monitor.js';
|
|
74
|
+
import { nas } from './nas.js';
|
|
75
|
+
import { notebook } from './notebook.js';
|
|
76
|
+
import { patchPanel } from './patch-panel.js';
|
|
77
|
+
import { pdu } from './pdu.js';
|
|
78
|
+
import { pos } from './pos.js';
|
|
79
|
+
import { printer } from './printer.js';
|
|
80
|
+
import { rack } from './rack.js';
|
|
81
|
+
import { router } from './router.js';
|
|
82
|
+
import { server } from './server.js';
|
|
83
|
+
import { serverCabinet } from './server-cabinet.js';
|
|
84
|
+
import { shield } from './shield.js';
|
|
85
|
+
import { smartTv } from './smart-tv.js';
|
|
86
|
+
import { smartphone } from './smartphone.js';
|
|
87
|
+
import { storageArray } from './storage-array.js';
|
|
88
|
+
import { switchBox } from './switch.js';
|
|
89
|
+
import { tablet } from './tablet.js';
|
|
90
|
+
import { tapeLibrary } from './tape-library.js';
|
|
91
|
+
import { ups } from './ups.js';
|
|
92
|
+
import { vpnGateway } from './vpn-gateway.js';
|
|
93
|
+
import { wallet } from './wallet.js';
|
|
94
|
+
import { spiritHouse } from './spirit-house.js';
|
|
95
|
+
import { thaiHouse } from './thai-house.js';
|
|
96
|
+
import { woodenWindow } from './wooden-window.js';
|
|
97
|
+
import { waterJar } from './water-jar.js';
|
|
98
|
+
import { streetFoodCart } from './street-food-cart.js';
|
|
99
|
+
import { plasticStool } from './plastic-stool.js';
|
|
100
|
+
import { powerPole } from './power-pole.js';
|
|
101
|
+
import { streetSign } from './street-sign.js';
|
|
102
|
+
import { mailboxThai } from './mailbox-thai.js';
|
|
103
|
+
import { chedi } from './chedi.js';
|
|
104
|
+
import { marigold } from './marigold.js';
|
|
105
|
+
import { phuangMalai } from './phuang-malai.js';
|
|
106
|
+
import { bananaTree } from './banana-tree.js';
|
|
107
|
+
import { bamboo } from './bamboo.js';
|
|
108
|
+
import { longTailBoat } from './long-tail-boat.js';
|
|
109
|
+
import { bananaLeaf } from './banana-leaf.js';
|
|
110
|
+
import { thaiLantern } from './thai-lantern.js';
|
|
111
|
+
import { lotus } from './lotus.js';
|
|
112
|
+
import { sun } from './sun.js';
|
|
113
|
+
import { moon } from './moon.js';
|
|
114
|
+
import { cloud } from './cloud.js';
|
|
115
|
+
import { rainCloud } from './rain-cloud.js';
|
|
116
|
+
import { storm } from './storm.js';
|
|
117
|
+
import { rainbow } from './rainbow.js';
|
|
118
|
+
import { star } from './star.js';
|
|
119
|
+
import { shootingStar } from './shooting-star.js';
|
|
120
|
+
import { rock } from './rock.js';
|
|
121
|
+
import { pottedPlant } from './potted-plant.js';
|
|
122
|
+
import { cactus } from './cactus.js';
|
|
123
|
+
import { monstera } from './monstera.js';
|
|
124
|
+
import { flower } from './flower.js';
|
|
125
|
+
import { tulip } from './tulip.js';
|
|
126
|
+
import { tree } from './tree.js';
|
|
127
|
+
import { palmTree } from './palm-tree.js';
|
|
128
|
+
import { campfire } from './campfire.js';
|
|
129
|
+
import { tent } from './tent.js';
|
|
130
|
+
import { confetti } from './confetti.js';
|
|
131
|
+
import { musicNote } from './music-note.js';
|
|
132
|
+
import { mediaPlayer } from './media-player.js';
|
|
133
|
+
import { paperBoat } from './paper-boat.js';
|
|
134
|
+
import { kite } from './kite.js';
|
|
135
|
+
import { alarmClock } from './alarm-clock.js';
|
|
136
|
+
import { books } from './books.js';
|
|
137
|
+
import { hotDrink } from './hot-drink.js';
|
|
138
|
+
import { lamp } from './lamp.js';
|
|
139
|
+
import { discImage } from './disc-image.js';
|
|
140
|
+
import { keyPair } from './key-pair.js';
|
|
141
|
+
import { metrics } from './metrics.js';
|
|
142
|
+
import { virtualMachine } from './virtual-machine.js';
|
|
143
|
+
import { floatingIp } from './floating-ip.js';
|
|
144
|
+
import { receipt } from './receipt.js';
|
|
145
|
+
import { income } from './income.js';
|
|
146
|
+
import { expense } from './expense.js';
|
|
147
|
+
import { coins } from './coins.js';
|
|
148
|
+
import { calculator } from './calculator.js';
|
|
149
|
+
import { budgetJar } from './budget-jar.js';
|
|
150
|
+
import { pieChart } from './pie-chart.js';
|
|
151
|
+
import { calendarMonth } from './calendar-month.js';
|
|
152
|
+
import { cron } from './cron.js';
|
|
153
|
+
import { kanban } from './kanban.js';
|
|
154
|
+
import { goal } from './goal.js';
|
|
155
|
+
import { overBudget } from './over-budget.js';
|
|
156
|
+
import { savingStreak } from './saving-streak.js';
|
|
157
|
+
import { emptyState } from './empty-state.js';
|
|
158
|
+
import { exportFile } from './export-file.js';
|
|
159
|
+
import { scanSlip } from './scan-slip.js';
|
|
160
|
+
import { interest } from './interest.js';
|
|
161
|
+
import { btsCard } from './bts-card.js';
|
|
162
|
+
import { motorbikeTaxi } from './motorbike-taxi.js';
|
|
163
|
+
import { convenienceBag } from './convenience-bag.js';
|
|
164
|
+
import { electricBill } from './electric-bill.js';
|
|
165
|
+
import { phoneTopup } from './phone-topup.js';
|
|
166
|
+
import { rent } from './rent.js';
|
|
167
|
+
import { marketBasket } from './market-basket.js';
|
|
168
|
+
import { lottery } from './lottery.js';
|
|
169
|
+
import { templeDonation } from './temple-donation.js';
|
|
170
|
+
import { fuel } from './fuel.js';
|
|
171
|
+
import { shoppingBox } from './shopping-box.js';
|
|
172
|
+
import { salary } from './salary.js';
|
|
173
|
+
import { angpao } from './angpao.js';
|
|
174
|
+
import { freelance } from './freelance.js';
|
|
175
|
+
import { macMini } from './mac-mini.js';
|
|
176
|
+
import { thinkpadL380 } from './thinkpad-l380.js';
|
|
177
|
+
import { macbookAir } from './macbook-air.js';
|
|
178
|
+
import { ipadGen8 } from './ipad-gen8.js';
|
|
179
|
+
import { iphone17 } from './iphone-17.js';
|
|
180
|
+
import { redmiNote9sPro } from './redmi-note-9s-pro.js';
|
|
181
|
+
import { nas2bay } from './nas-2bay.js';
|
|
182
|
+
import { powerStation } from './power-station.js';
|
|
183
|
+
import { studioMonitors } from './studio-monitors.js';
|
|
184
|
+
export { file, trash, copyFiles, compare, remoteFolder, photo, hardDrive, usbDrive, snip, scissors, clipboard, highlighter, eyedropper, timer, snapshots, remoteDesktop, cursor, keyboard, terminal, tunnel, wakeOnLan, lockScreen, aiAgent, certificate, sslCertificate, piggyBank, stock, bahtNote, dollarNote, bond, goldBar, kaprao, noodleSoup, padSeeEw, trainTicket, tukTuk, chaYen, mangoStickyRice, twoFactor, otp, sms, email, register, support, idCard, fingerprint, faceId, password, verified, qrCode, accessPoint, allInOne, badgeReader, bear, bladeChassis, cctv, classicPhone, cooling, coreSwitch, database, desktopTower, firewall, homeRouter, hsm, iotSensor, ipPhone, key, kvm, laptop, loadBalancer, miniPc, modem, monitor, nas, notebook, patchPanel, pdu, pos, printer, rack, router, server, serverCabinet, shield, smartphone, smartTv, storageArray, switchBox, tablet, tapeLibrary, ups, vpnGateway, wallet, macMini, thinkpadL380, macbookAir, ipadGen8, iphone17, redmiNote9sPro, nas2bay, powerStation, studioMonitors, receipt, income, expense, coins, calculator, budgetJar, pieChart, calendarMonth, cron, kanban, goal, overBudget, savingStreak, emptyState, exportFile, scanSlip, interest, btsCard, motorbikeTaxi, convenienceBag, electricBill, phoneTopup, rent, marketBasket, lottery, templeDonation, fuel, shoppingBox, salary, angpao, freelance, spiritHouse, thaiHouse, woodenWindow, waterJar, streetFoodCart, plasticStool, powerPole, streetSign, mailboxThai, chedi, marigold, phuangMalai, bananaTree, bamboo, longTailBoat, bananaLeaf, thaiLantern, lotus, sun, moon, cloud, rainCloud, storm, rainbow, star, shootingStar, rock, pottedPlant, cactus, monstera, flower, tulip, tree, palmTree, campfire, tent, confetti, musicNote, mediaPlayer, paperBoat, kite, alarmClock, books, hotDrink, lamp, discImage, keyPair, metrics, virtualMachine, floatingIp, };
|
|
185
|
+
/** The whole set, in catalogue order. */
|
|
186
|
+
export const ICONS = [
|
|
187
|
+
wallet,
|
|
188
|
+
macMini,
|
|
189
|
+
thinkpadL380,
|
|
190
|
+
macbookAir,
|
|
191
|
+
ipadGen8,
|
|
192
|
+
iphone17,
|
|
193
|
+
redmiNote9sPro,
|
|
194
|
+
nas2bay,
|
|
195
|
+
powerStation,
|
|
196
|
+
studioMonitors,
|
|
197
|
+
receipt,
|
|
198
|
+
income,
|
|
199
|
+
expense,
|
|
200
|
+
coins,
|
|
201
|
+
calculator,
|
|
202
|
+
budgetJar,
|
|
203
|
+
pieChart,
|
|
204
|
+
calendarMonth,
|
|
205
|
+
cron,
|
|
206
|
+
kanban,
|
|
207
|
+
goal,
|
|
208
|
+
overBudget,
|
|
209
|
+
savingStreak,
|
|
210
|
+
emptyState,
|
|
211
|
+
exportFile,
|
|
212
|
+
scanSlip,
|
|
213
|
+
interest,
|
|
214
|
+
btsCard,
|
|
215
|
+
motorbikeTaxi,
|
|
216
|
+
convenienceBag,
|
|
217
|
+
electricBill,
|
|
218
|
+
phoneTopup,
|
|
219
|
+
rent,
|
|
220
|
+
marketBasket,
|
|
221
|
+
lottery,
|
|
222
|
+
templeDonation,
|
|
223
|
+
fuel,
|
|
224
|
+
shoppingBox,
|
|
225
|
+
salary,
|
|
226
|
+
angpao,
|
|
227
|
+
freelance,
|
|
228
|
+
spiritHouse,
|
|
229
|
+
thaiHouse,
|
|
230
|
+
woodenWindow,
|
|
231
|
+
waterJar,
|
|
232
|
+
streetFoodCart,
|
|
233
|
+
plasticStool,
|
|
234
|
+
powerPole,
|
|
235
|
+
streetSign,
|
|
236
|
+
mailboxThai,
|
|
237
|
+
chedi,
|
|
238
|
+
marigold,
|
|
239
|
+
phuangMalai,
|
|
240
|
+
bananaTree,
|
|
241
|
+
bamboo,
|
|
242
|
+
longTailBoat,
|
|
243
|
+
bananaLeaf,
|
|
244
|
+
thaiLantern,
|
|
245
|
+
lotus,
|
|
246
|
+
sun,
|
|
247
|
+
moon,
|
|
248
|
+
cloud,
|
|
249
|
+
rainCloud,
|
|
250
|
+
storm,
|
|
251
|
+
rainbow,
|
|
252
|
+
star,
|
|
253
|
+
shootingStar,
|
|
254
|
+
rock,
|
|
255
|
+
pottedPlant,
|
|
256
|
+
cactus,
|
|
257
|
+
monstera,
|
|
258
|
+
flower,
|
|
259
|
+
tulip,
|
|
260
|
+
tree,
|
|
261
|
+
palmTree,
|
|
262
|
+
campfire,
|
|
263
|
+
tent,
|
|
264
|
+
confetti,
|
|
265
|
+
musicNote,
|
|
266
|
+
mediaPlayer,
|
|
267
|
+
paperBoat,
|
|
268
|
+
kite,
|
|
269
|
+
alarmClock,
|
|
270
|
+
books,
|
|
271
|
+
hotDrink,
|
|
272
|
+
lamp,
|
|
273
|
+
key,
|
|
274
|
+
shield,
|
|
275
|
+
bear,
|
|
276
|
+
laptop,
|
|
277
|
+
router,
|
|
278
|
+
server,
|
|
279
|
+
rack,
|
|
280
|
+
miniPc,
|
|
281
|
+
allInOne,
|
|
282
|
+
notebook,
|
|
283
|
+
nas,
|
|
284
|
+
homeRouter,
|
|
285
|
+
database,
|
|
286
|
+
firewall,
|
|
287
|
+
smartphone,
|
|
288
|
+
classicPhone,
|
|
289
|
+
tablet,
|
|
290
|
+
loadBalancer,
|
|
291
|
+
switchBox,
|
|
292
|
+
coreSwitch,
|
|
293
|
+
accessPoint,
|
|
294
|
+
patchPanel,
|
|
295
|
+
modem,
|
|
296
|
+
vpnGateway,
|
|
297
|
+
discImage,
|
|
298
|
+
keyPair,
|
|
299
|
+
metrics,
|
|
300
|
+
virtualMachine,
|
|
301
|
+
floatingIp,
|
|
302
|
+
serverCabinet,
|
|
303
|
+
bladeChassis,
|
|
304
|
+
storageArray,
|
|
305
|
+
tapeLibrary,
|
|
306
|
+
ups,
|
|
307
|
+
pdu,
|
|
308
|
+
kvm,
|
|
309
|
+
cooling,
|
|
310
|
+
desktopTower,
|
|
311
|
+
monitor,
|
|
312
|
+
printer,
|
|
313
|
+
ipPhone,
|
|
314
|
+
cctv,
|
|
315
|
+
badgeReader,
|
|
316
|
+
smartTv,
|
|
317
|
+
pos,
|
|
318
|
+
iotSensor,
|
|
319
|
+
hsm,
|
|
320
|
+
otp,
|
|
321
|
+
sms,
|
|
322
|
+
email,
|
|
323
|
+
register,
|
|
324
|
+
support,
|
|
325
|
+
idCard,
|
|
326
|
+
fingerprint,
|
|
327
|
+
faceId,
|
|
328
|
+
password,
|
|
329
|
+
verified,
|
|
330
|
+
qrCode,
|
|
331
|
+
twoFactor,
|
|
332
|
+
piggyBank,
|
|
333
|
+
stock,
|
|
334
|
+
bahtNote,
|
|
335
|
+
dollarNote,
|
|
336
|
+
bond,
|
|
337
|
+
goldBar,
|
|
338
|
+
kaprao,
|
|
339
|
+
noodleSoup,
|
|
340
|
+
padSeeEw,
|
|
341
|
+
trainTicket,
|
|
342
|
+
tukTuk,
|
|
343
|
+
chaYen,
|
|
344
|
+
mangoStickyRice,
|
|
345
|
+
certificate,
|
|
346
|
+
sslCertificate,
|
|
347
|
+
remoteDesktop,
|
|
348
|
+
cursor,
|
|
349
|
+
keyboard,
|
|
350
|
+
terminal,
|
|
351
|
+
tunnel,
|
|
352
|
+
wakeOnLan,
|
|
353
|
+
lockScreen,
|
|
354
|
+
aiAgent,
|
|
355
|
+
file,
|
|
356
|
+
trash,
|
|
357
|
+
copyFiles,
|
|
358
|
+
compare,
|
|
359
|
+
remoteFolder,
|
|
360
|
+
photo,
|
|
361
|
+
hardDrive,
|
|
362
|
+
usbDrive,
|
|
363
|
+
snip,
|
|
364
|
+
scissors,
|
|
365
|
+
clipboard,
|
|
366
|
+
highlighter,
|
|
367
|
+
eyedropper,
|
|
368
|
+
timer,
|
|
369
|
+
snapshots,
|
|
370
|
+
];
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Drawn for @20baht/stickers: interest; a sprout grows out of a coin pile, leaves open, and it bears a coin.
|
|
2
|
+
import { SNAP, twinkle } from '../motions.js';
|
|
3
|
+
import { ellipse, line, poly, rect } from '../sticker.js';
|
|
4
|
+
import { PILE, stack, STEP } from './finance-b-coins.js';
|
|
5
|
+
import { glow, LINE } from './shared.js';
|
|
6
|
+
const BASE = 110 - STEP * 3;
|
|
7
|
+
const GROW = [
|
|
8
|
+
[10, [100, 8], SNAP],
|
|
9
|
+
[50, [100, 100], 0],
|
|
10
|
+
[150, [100, 100], SNAP],
|
|
11
|
+
[175, [100, 8]],
|
|
12
|
+
];
|
|
13
|
+
const LEAVES = [
|
|
14
|
+
[0, BASE - 60, -1],
|
|
15
|
+
[0, BASE - 100, 1],
|
|
16
|
+
[0, BASE - 140, -1],
|
|
17
|
+
];
|
|
18
|
+
export const interest = {
|
|
19
|
+
name: 'interest',
|
|
20
|
+
frames: 180,
|
|
21
|
+
still: 110,
|
|
22
|
+
line: LINE,
|
|
23
|
+
extrude: PILE,
|
|
24
|
+
layers: [
|
|
25
|
+
{ id: 'root', p: [250, 320], shapes: [] },
|
|
26
|
+
{
|
|
27
|
+
id: 'stem',
|
|
28
|
+
parent: 'root',
|
|
29
|
+
a: [0, BASE],
|
|
30
|
+
p: [0, BASE],
|
|
31
|
+
m: { s: GROW },
|
|
32
|
+
shapes: [{ d: rect(-7, BASE - 176, 14, 176, 7), fill: 'ok', depth: 0.3 }],
|
|
33
|
+
},
|
|
34
|
+
...LEAVES.map(([x, y, dir], i) => ({
|
|
35
|
+
parent: 'stem',
|
|
36
|
+
a: [x, y],
|
|
37
|
+
p: [x, y],
|
|
38
|
+
m: [twinkle(40 + i * 8), twinkle(128 + i * 4, true)],
|
|
39
|
+
shapes: [
|
|
40
|
+
{
|
|
41
|
+
d: poly([
|
|
42
|
+
[x, y],
|
|
43
|
+
[x + dir * 40, y - 34],
|
|
44
|
+
[x + dir * 86, y - 16],
|
|
45
|
+
[x + dir * 44, y + 12],
|
|
46
|
+
], [4, 22, 4, 22]),
|
|
47
|
+
fill: 'ok',
|
|
48
|
+
depth: 0.3,
|
|
49
|
+
},
|
|
50
|
+
{ d: line([x + dir * 10, y - 4], [x + dir * 62, y - 16]) },
|
|
51
|
+
],
|
|
52
|
+
})),
|
|
53
|
+
{
|
|
54
|
+
parent: 'stem',
|
|
55
|
+
a: [0, BASE - 196],
|
|
56
|
+
p: [0, BASE - 196],
|
|
57
|
+
m: [twinkle(66), twinkle(138, true)],
|
|
58
|
+
shapes: [
|
|
59
|
+
{ d: ellipse(0, BASE - 196, 32), fill: 'gold', depth: 0.5 },
|
|
60
|
+
{ d: ellipse(0, BASE - 196, 18) },
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
{ parent: 'root', shapes: stack(0, 110, 4) },
|
|
64
|
+
glow('root', [140, -170], 22, [twinkle(70), twinkle(140, true)]),
|
|
65
|
+
],
|
|
66
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Drawn for @20baht/stickers, modelled in 3d (see iso.ts).
|
|
2
|
+
import { erase, hop, twinkle } from '../motions.js';
|
|
3
|
+
import { arc } from '../sticker.js';
|
|
4
|
+
import { block, dot, faceOf, quad, solid, stroke } from '../iso.js';
|
|
5
|
+
import { glow, LINE } from './shared.js';
|
|
6
|
+
// A small white sensor puck: status light on top, a vent on the front, its readings going out as arcs
|
|
7
|
+
const BOX = block([-80, -80, 0], [160, 0, 0], [0, 160, 0], [0, 0, 72]);
|
|
8
|
+
const top = faceOf(BOX, 'top');
|
|
9
|
+
const front = faceOf(BOX, 'front');
|
|
10
|
+
const WAVES = [36, 62, 88].map((r, i) => ({
|
|
11
|
+
d: arc(0, 0, r, 220, 320),
|
|
12
|
+
trim: erase(30 + i * 6, 96 + i * 6),
|
|
13
|
+
round: true,
|
|
14
|
+
}));
|
|
15
|
+
export const iotSensor = {
|
|
16
|
+
name: 'iot-sensor',
|
|
17
|
+
frames: 180,
|
|
18
|
+
still: 150,
|
|
19
|
+
line: LINE,
|
|
20
|
+
extrude: [0, 0],
|
|
21
|
+
layers: [
|
|
22
|
+
{ id: 'puck', p: [250, 340], m: hop, shapes: [] },
|
|
23
|
+
{
|
|
24
|
+
parent: 'puck',
|
|
25
|
+
shapes: [
|
|
26
|
+
...solid(BOX, { fill: 'grey', top: 'white', front: 'white' }, 14),
|
|
27
|
+
{ d: quad(top, 0.25, 0.25, 0.5, 0.5, 14), fill: 'tint' },
|
|
28
|
+
{ d: dot(top, 0.5, 0.5, 0.1), fill: 'ok' },
|
|
29
|
+
...[0.35, 0.5, 0.65].map((s) => ({ d: stroke(front, [s, 0.3], [s, 0.7]) })),
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
{ parent: 'puck', p: [0, -150], shapes: WAVES },
|
|
33
|
+
glow('puck', [120, -150], 22, [twinkle(48), twinkle(140, true)]),
|
|
34
|
+
],
|
|
35
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Drawn for @20baht/stickers, modelled in 3d (see iso.ts).
|
|
2
|
+
import { twinkle, wiggle } from '../motions.js';
|
|
3
|
+
import { block, dot, faceOf, quad, solid } from '../iso.js';
|
|
4
|
+
import { glow, LINE } from './shared.js';
|
|
5
|
+
// A desk phone: a wedge body whose face leans back, a handset on its cradle at the left, a small screen and keys
|
|
6
|
+
const LEAN = (28 * Math.PI) / 180;
|
|
7
|
+
const W = 260;
|
|
8
|
+
const DEPTH = 190;
|
|
9
|
+
const BASE = block([-W / 2, -DEPTH / 2, 0], [W, 0, 0], [0, DEPTH, 0], [0, 0, 26]);
|
|
10
|
+
// the sloped face: a slab rising from the front edge to the back
|
|
11
|
+
const UP = [0, Math.cos(LEAN) * DEPTH, Math.sin(LEAN) * DEPTH];
|
|
12
|
+
const FACE3 = block([-W / 2, -DEPTH / 2, 26], [W, 0, 0], UP, [0, 0, 12]);
|
|
13
|
+
const face = faceOf(FACE3, 'top');
|
|
14
|
+
// the handset lies along the left of the sloped face
|
|
15
|
+
const SET = block([-W / 2 + 14, -DEPTH / 2 + 20, 48], [56, 0, 0], [0, 150, 70], [0, 0, 26]);
|
|
16
|
+
const keys = [];
|
|
17
|
+
for (let r = 0; r < 3; r++)
|
|
18
|
+
for (let c = 0; c < 3; c++)
|
|
19
|
+
keys.push({ d: dot(face, 0.5 + c * 0.12, 0.18 + r * 0.14, 0.035, 0.05), fill: 'white' });
|
|
20
|
+
export const ipPhone = {
|
|
21
|
+
name: 'ip-phone',
|
|
22
|
+
frames: 180,
|
|
23
|
+
line: LINE,
|
|
24
|
+
extrude: [0, 0],
|
|
25
|
+
layers: [
|
|
26
|
+
{ id: 'ph', p: [250, 320], shapes: [] },
|
|
27
|
+
{
|
|
28
|
+
parent: 'ph',
|
|
29
|
+
shapes: [
|
|
30
|
+
...solid(BASE, { fill: 'deep', top: 'main' }, 3),
|
|
31
|
+
...solid(FACE3, { fill: 'deep', top: 'main' }, 3),
|
|
32
|
+
{ d: quad(face, 0.46, 0.62, 0.42, 0.26, 3), fill: 'tint' },
|
|
33
|
+
...keys,
|
|
34
|
+
{ d: dot(face, 0.36, 0.86, 0.025, 0.04), fill: 'hot' },
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
// the handset rings on its cradle
|
|
38
|
+
{
|
|
39
|
+
parent: 'ph',
|
|
40
|
+
a: [-80, -40],
|
|
41
|
+
p: [-80, -40],
|
|
42
|
+
m: { ...wiggle, k: 0.5 },
|
|
43
|
+
shapes: solid(SET, { fill: 'deep', top: 'main' }, 8),
|
|
44
|
+
},
|
|
45
|
+
glow('ph', [-170, -60], 22, [twinkle(46), twinkle(140, true)]),
|
|
46
|
+
],
|
|
47
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Drawn for @20baht/stickers: an iPad (8th generation) style tablet, upright on a leaned face. No logo.
|
|
2
|
+
import { jolt, press, twinkle } from '../motions.js';
|
|
3
|
+
import { ellipse, rect } from '../sticker.js';
|
|
4
|
+
import { FACE, EXT, glow, LINE } from './shared.js';
|
|
5
|
+
// Portrait with the wide bezel and the round home button; the button presses and the home screen pops in
|
|
6
|
+
const APPS = [
|
|
7
|
+
'main',
|
|
8
|
+
'white',
|
|
9
|
+
'gold',
|
|
10
|
+
'white',
|
|
11
|
+
'ok',
|
|
12
|
+
'main',
|
|
13
|
+
'white',
|
|
14
|
+
'main',
|
|
15
|
+
'gold',
|
|
16
|
+
'ok',
|
|
17
|
+
'white',
|
|
18
|
+
'main',
|
|
19
|
+
];
|
|
20
|
+
export const ipadGen8 = {
|
|
21
|
+
name: 'ipad-gen8',
|
|
22
|
+
frames: 180,
|
|
23
|
+
still: 100,
|
|
24
|
+
line: LINE,
|
|
25
|
+
extrude: EXT,
|
|
26
|
+
layers: [
|
|
27
|
+
{ id: 'tab', p: [250, 255], m: jolt(), shapes: [] },
|
|
28
|
+
{
|
|
29
|
+
id: 'face',
|
|
30
|
+
parent: 'tab',
|
|
31
|
+
tilt: FACE,
|
|
32
|
+
shapes: [
|
|
33
|
+
{ d: rect(-128, -178, 256, 356, 30), fill: 'deep', depth: 0.7 },
|
|
34
|
+
{ d: rect(-110, -144, 220, 284, 6), fill: 'tint' },
|
|
35
|
+
{ d: ellipse(0, -161, 4), fill: 'ink', line: false },
|
|
36
|
+
{ d: rect(-92, 98, 184, 30, 10), fill: 'white', depth: 0.2 },
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
parent: 'face',
|
|
41
|
+
a: [0, 160],
|
|
42
|
+
p: [0, 160],
|
|
43
|
+
m: { ...press, k: 0.25 },
|
|
44
|
+
shapes: [{ d: ellipse(0, 160, 11), fill: 'deep' }],
|
|
45
|
+
},
|
|
46
|
+
...APPS.map((fill, i) => {
|
|
47
|
+
const c = [-66 + (i % 3) * 66, -106 + Math.floor(i / 3) * 52];
|
|
48
|
+
return {
|
|
49
|
+
parent: 'face',
|
|
50
|
+
a: c,
|
|
51
|
+
p: c,
|
|
52
|
+
m: [twinkle(16 + i * 3), twinkle(116 + i * 2, true)],
|
|
53
|
+
shapes: [{ d: rect(c[0] - 17, c[1] - 17, 34, 34, 9), fill, depth: 0.25 }],
|
|
54
|
+
};
|
|
55
|
+
}),
|
|
56
|
+
glow('tab', [150, -200], 24, [twinkle(54), twinkle(140, true)]),
|
|
57
|
+
],
|
|
58
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Drawn for @20baht/stickers: an iPhone 17 style phone seen from the back, on a leaned face. No logo.
|
|
2
|
+
import { twinkle, wiggle } from '../motions.js';
|
|
3
|
+
import { ellipse, rect } from '../sticker.js';
|
|
4
|
+
import { EXT, FACE, glow, LINE } from './shared.js';
|
|
5
|
+
// The back: a tall camera pill with two lenses at the top corner, the flash beside it; it buzzes
|
|
6
|
+
const lens = (y) => [
|
|
7
|
+
{ d: ellipse(-46, y, 20), fill: 'grey', depth: 0.3 },
|
|
8
|
+
{ d: ellipse(-46, y, 11), fill: 'ink', line: false },
|
|
9
|
+
{ d: ellipse(-50, y - 4, 3), fill: 'white', line: false },
|
|
10
|
+
];
|
|
11
|
+
export const iphone17 = {
|
|
12
|
+
name: 'iphone-17',
|
|
13
|
+
frames: 180,
|
|
14
|
+
line: LINE,
|
|
15
|
+
extrude: EXT,
|
|
16
|
+
layers: [
|
|
17
|
+
{ id: 'ph', a: [0, 150], p: [240, 400], m: { ...wiggle, k: 0.6 }, shapes: [] },
|
|
18
|
+
{
|
|
19
|
+
parent: 'ph',
|
|
20
|
+
tilt: FACE,
|
|
21
|
+
shapes: [
|
|
22
|
+
...[-90, -40, 20].map((y) => ({
|
|
23
|
+
d: rect(-98, y, 12, y > 0 ? 60 : 34, 4),
|
|
24
|
+
fill: 'deep',
|
|
25
|
+
depth: 0.8,
|
|
26
|
+
})),
|
|
27
|
+
{ d: rect(-90, -170, 180, 340, 40), fill: 'main', depth: 0.8 },
|
|
28
|
+
{ d: rect(-76, -154, 60, 116, 30), fill: 'deep', depth: 0.4 },
|
|
29
|
+
...lens(-124),
|
|
30
|
+
...lens(-68),
|
|
31
|
+
{ d: ellipse(4, -136, 8), fill: 'white' },
|
|
32
|
+
{ d: ellipse(4, -110, 3), fill: 'ink', line: false },
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
glow('ph', [120, -170], 24, [twinkle(46), twinkle(140, true)]),
|
|
36
|
+
],
|
|
37
|
+
};
|