WIP
This commit is contained in:
parent
34ac200437
commit
39b0160064
136 changed files with 7129 additions and 1950 deletions
|
|
@ -43,5 +43,4 @@ jobs:
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
run: |
|
run: |
|
||||||
apt update && apt install -y rsync
|
apt update && apt install -y rsync
|
||||||
mkdir -p /pages
|
|
||||||
rsync -a --delete dist/ /pages/fleeting-garden
|
rsync -a --delete dist/ /pages/fleeting-garden
|
||||||
|
|
|
||||||
25
index.html
25
index.html
|
|
@ -41,8 +41,8 @@
|
||||||
</canvas>
|
</canvas>
|
||||||
<p id="canvas-description" class="visually-hidden">
|
<p id="canvas-description" class="visually-hidden">
|
||||||
Fleeting Garden is a pointer-driven WebGPU drawing canvas. Drag or touch the scene
|
Fleeting Garden is a pointer-driven WebGPU drawing canvas. Drag or touch the scene
|
||||||
to paint coloured paths, then use the toolbar to change colours, erase, adjust
|
to paint coloured paths, then use the toolbar to change colours, erase, adjust the
|
||||||
settings, export, restart, or open more information.
|
config overlay, export, restart, or open more information.
|
||||||
</p>
|
</p>
|
||||||
<div class="eraser-preview" aria-hidden="true"></div>
|
<div class="eraser-preview" aria-hidden="true"></div>
|
||||||
<div class="garden-prompt" aria-live="polite"></div>
|
<div class="garden-prompt" aria-live="polite"></div>
|
||||||
|
|
@ -74,18 +74,6 @@
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section
|
|
||||||
id="settings-panel"
|
|
||||||
class="pages hidden settings-page"
|
|
||||||
aria-hidden="true"
|
|
||||||
inert
|
|
||||||
>
|
|
||||||
<section>
|
|
||||||
<div class="settings-content"></div>
|
|
||||||
<button id="apply-defaults" class="large-button">Apply defaults</button>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<div class="toolbar-row" role="toolbar" aria-label="Garden toolbar">
|
<div class="toolbar-row" role="toolbar" aria-label="Garden toolbar">
|
||||||
<button
|
<button
|
||||||
class="previous-vibe vibe-button"
|
class="previous-vibe vibe-button"
|
||||||
|
|
@ -157,10 +145,9 @@
|
||||||
></button>
|
></button>
|
||||||
<button
|
<button
|
||||||
class="settings"
|
class="settings"
|
||||||
aria-label="Settings"
|
aria-label="Show config overlay"
|
||||||
aria-controls="settings-panel"
|
|
||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
title="Settings"
|
title="Show config overlay"
|
||||||
></button>
|
></button>
|
||||||
<button
|
<button
|
||||||
class="sound"
|
class="sound"
|
||||||
|
|
@ -170,8 +157,8 @@
|
||||||
></button>
|
></button>
|
||||||
<button
|
<button
|
||||||
class="export-4k"
|
class="export-4k"
|
||||||
aria-label="Download 4K image"
|
aria-label="Download 4K upscale image"
|
||||||
title="Download 4K image"
|
title="Download 4K upscale of the live simulation"
|
||||||
></button>
|
></button>
|
||||||
<span class="export-status" aria-live="polite"></span>
|
<span class="export-status" aria-live="polite"></span>
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
35
package-lock.json
generated
35
package-lock.json
generated
|
|
@ -9,19 +9,22 @@
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"gl-matrix": "^3.4.4"
|
"tweakpane": "^4.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^10.0.1",
|
"@eslint/js": "^10.0.1",
|
||||||
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
||||||
|
"@tweakpane/core": "^2.0.5",
|
||||||
"@types/node": "^25.6.0",
|
"@types/node": "^25.6.0",
|
||||||
"@vite-pwa/assets-generator": "^1.0.2",
|
"@vite-pwa/assets-generator": "^1.0.2",
|
||||||
|
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
||||||
"@webgpu/types": "^0.1.69",
|
"@webgpu/types": "^0.1.69",
|
||||||
"browserslist": "^4.28.2",
|
"browserslist": "^4.28.2",
|
||||||
"eslint": "^10.3.0",
|
"eslint": "^10.3.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-prettier": "^5.5.5",
|
"eslint-plugin-prettier": "^5.5.5",
|
||||||
"eslint-plugin-unused-imports": "^4.4.1",
|
"eslint-plugin-unused-imports": "^4.4.1",
|
||||||
|
"gl-matrix": "^3.4.4",
|
||||||
"globals": "^17.6.0",
|
"globals": "^17.6.0",
|
||||||
"lightningcss": "^1.32.0",
|
"lightningcss": "^1.32.0",
|
||||||
"npm-check-updates": "^22.1.0",
|
"npm-check-updates": "^22.1.0",
|
||||||
|
|
@ -1560,6 +1563,13 @@
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/@tweakpane/core": {
|
||||||
|
"version": "2.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/@tweakpane/core/-/core-2.0.5.tgz",
|
||||||
|
"integrity": "sha512-punBgD5rKCF5vcNo6BsSOXiDR/NSs9VM7SG65QSLJIxfRaGgj54ree9zQW6bO3pNFf3AogiGgaNODUVQRk9YqQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/@tybys/wasm-util": {
|
"node_modules/@tybys/wasm-util": {
|
||||||
"version": "0.10.1",
|
"version": "0.10.1",
|
||||||
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
|
||||||
|
|
@ -1874,6 +1884,19 @@
|
||||||
"url": "https://github.com/sponsors/antfu"
|
"url": "https://github.com/sponsors/antfu"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@vitejs/plugin-basic-ssl": {
|
||||||
|
"version": "2.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.3.0.tgz",
|
||||||
|
"integrity": "sha512-bdyo8rB3NnQbikdMpHaML9Z1OZPBu6fFOBo+OtxsBlvMJtysWskmBcnbIDhUqgC8tcxNv/a+BcV5U+2nQMm1OQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@vitest/expect": {
|
"node_modules/@vitest/expect": {
|
||||||
"version": "4.1.5",
|
"version": "4.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.5.tgz",
|
||||||
|
|
@ -2740,6 +2763,7 @@
|
||||||
"version": "3.4.4",
|
"version": "3.4.4",
|
||||||
"resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.4.tgz",
|
||||||
"integrity": "sha512-latSnyDNt/8zYUB6VIJ6PCh2jBjJX6gnDsoCZ7LyW7GkqrD51EWwa9qCoGixj8YqBtETQK/xY7OmpTF8xz1DdQ==",
|
"integrity": "sha512-latSnyDNt/8zYUB6VIJ6PCh2jBjJX6gnDsoCZ7LyW7GkqrD51EWwa9qCoGixj8YqBtETQK/xY7OmpTF8xz1DdQ==",
|
||||||
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/glob-parent": {
|
"node_modules/glob-parent": {
|
||||||
|
|
@ -3831,6 +3855,15 @@
|
||||||
"license": "0BSD",
|
"license": "0BSD",
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
|
"node_modules/tweakpane": {
|
||||||
|
"version": "4.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/tweakpane/-/tweakpane-4.0.5.tgz",
|
||||||
|
"integrity": "sha512-rxEXdSI+ArlG1RyO6FghC4ZUX8JkEfz8F3v1JuteXSV0pEtHJzyo07fcDG+NsJfN5L39kSbCYbB9cBGHyuI/tQ==",
|
||||||
|
"license": "MIT",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/cocopon"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/type-check": {
|
"node_modules/type-check": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
||||||
|
|
|
||||||
|
|
@ -38,17 +38,19 @@
|
||||||
"supports webgpu and last 2 years"
|
"supports webgpu and last 2 years"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gl-matrix": "^3.4.4",
|
|
||||||
"@eslint/js": "^10.0.1",
|
"@eslint/js": "^10.0.1",
|
||||||
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
||||||
|
"@tweakpane/core": "^2.0.5",
|
||||||
"@types/node": "^25.6.0",
|
"@types/node": "^25.6.0",
|
||||||
"@vite-pwa/assets-generator": "^1.0.2",
|
"@vite-pwa/assets-generator": "^1.0.2",
|
||||||
|
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
||||||
"@webgpu/types": "^0.1.69",
|
"@webgpu/types": "^0.1.69",
|
||||||
"browserslist": "^4.28.2",
|
"browserslist": "^4.28.2",
|
||||||
"eslint": "^10.3.0",
|
"eslint": "^10.3.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-prettier": "^5.5.5",
|
"eslint-plugin-prettier": "^5.5.5",
|
||||||
"eslint-plugin-unused-imports": "^4.4.1",
|
"eslint-plugin-unused-imports": "^4.4.1",
|
||||||
|
"gl-matrix": "^3.4.4",
|
||||||
"globals": "^17.6.0",
|
"globals": "^17.6.0",
|
||||||
"lightningcss": "^1.32.0",
|
"lightningcss": "^1.32.0",
|
||||||
"npm-check-updates": "^22.1.0",
|
"npm-check-updates": "^22.1.0",
|
||||||
|
|
@ -59,5 +61,8 @@
|
||||||
"vite": "^8.0.10",
|
"vite": "^8.0.10",
|
||||||
"vite-plugin-singlefile": "^2.3.3",
|
"vite-plugin-singlefile": "^2.3.3",
|
||||||
"vitest": "^4.1.5"
|
"vitest": "^4.1.5"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"tweakpane": "^4.0.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
public/audio/piano/A0v12.m4a
Normal file
BIN
public/audio/piano/A0v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/audio/piano/A1v12.m4a
Normal file
BIN
public/audio/piano/A1v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/audio/piano/A2v12.m4a
Normal file
BIN
public/audio/piano/A2v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/audio/piano/A3v12.m4a
Normal file
BIN
public/audio/piano/A3v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/audio/piano/A4v12.m4a
Normal file
BIN
public/audio/piano/A4v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/audio/piano/A5v12.m4a
Normal file
BIN
public/audio/piano/A5v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/audio/piano/A6v12.m4a
Normal file
BIN
public/audio/piano/A6v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/audio/piano/A7v12.m4a
Normal file
BIN
public/audio/piano/A7v12.m4a
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue