Skip to content

Commit cceeb4a

Browse files
committed
Add Ko-fi donation button to overlay
- Added Ko-fi button on the same row as OK button - Positioned on left side with space-between layout - Set to 28px height with 0.9 opacity for good visibility - Maintains overlay design consistency
1 parent 3d28428 commit cceeb4a

File tree

3 files changed

+36
-9
lines changed

3 files changed

+36
-9
lines changed

README.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Geno-1 : Generative Music Visualizer (Rust + WebGPU + WebAudio)
22

3-
[![Web build and headless test](https://github.com/rgilks/geno-1/actions/workflows/web-ci.yml/badge.svg)](https://github.com/rgilks/geno-1/actions/workflows/web-ci.yml)
3+
[![CI](https://github.com/rgilks/geno-1/actions/workflows/ci.yml/badge.svg)](https://github.com/rgilks/geno-1/actions/workflows/ci.yml)
4+
5+
<div align="center">
6+
<img src="/docs/screenshot.png" alt="rgou Screenshot" width="626" />
7+
<br />
8+
<a href='https://ko-fi.com/N4N31DPNUS' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi2.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
9+
<hr />
10+
</div>
411

512
### Project status
613

@@ -37,6 +44,13 @@ Notes:
3744

3845
- `npm run dev` (builds, serves at http://localhost:8787, and opens the browser)
3946

47+
Additional scripts:
48+
49+
- `npm run clean` (removes build artifacts)
50+
- `npm run nuke` (full reset: removes node_modules, reinstalls, and runs dev)
51+
- `npm run deps` (check for dependency updates)
52+
- `npm run deps:update` (update dependencies and run nuke)
53+
4054
Quick controls (browser):
4155

4256
- A..F: root • 1..7: mode • R: new seq • T: random key+mode • Space: pause/resume • ArrowLeft/Right: tempo • ArrowUp/Down: volume • Enter: fullscreen
@@ -48,17 +62,17 @@ Quick controls (browser):
4862
- Rust: `cargo fmt --check`, `cargo clippy` (deny warnings), `cargo test` (workspace)
4963
- Web: build, serve, and execute the headless browser test
5064

51-
## Git hooks (local safety checks)
65+
### Git hooks (local safety checks)
5266

5367
This repo uses native Git hooks in `.githooks` (no Husky dependency). Enable them once per clone:
5468

55-
```
69+
```bash
5670
git config core.hooksPath .githooks
5771
```
5872

5973
Or run the convenience script (also ensures hooks are executable):
6074

61-
```
75+
```bash
6276
npm run setup
6377
```
6478

@@ -96,7 +110,7 @@ Headless test:
96110

97111
### Continuous Integration
98112

99-
- GitHub Actions workflow runs on push/PR to main:
113+
- GitHub Actions workflow runs on push/PR:
100114
- Builds the web bundle and executes the headless browser test
101115
- On push to `main`, deploys to Cloudflare Workers via Wrangler
102116
- Requires repo secrets: `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID`
@@ -113,10 +127,10 @@ Notes:
113127

114128
- Keeping screenshots/GIFs up to date is intentionally avoided; refer to the live app instead.
115129

116-
### Workspace crates
130+
### Project structure
117131

118-
- `app-core`: shared music generation and state
119-
- `app-web`: web WASM front-end with WebGPU + WebAudio
132+
- `app-web`: single WASM crate with WebGPU + WebAudio
133+
- `src/core/`: music generation and shared state (formerly `app-core` crate)
120134
- `src/render/targets.rs`: HDR/bloom textures create/recreate
121135
- `src/render/post.rs`: post pipelines, uniforms, blit, bind-group rebuild
122136
- `src/render/waves.rs`: waves pass uniforms and pipeline bundle

docs/screenshot.png

167 KB
Loading

index.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,21 @@ <h3>Modes (1..7)</h3>
194194
</div>
195195
</div>
196196
<div
197-
style="display: flex; justify-content: flex-end; margin-top: 8px"
197+
style="
198+
display: flex;
199+
justify-content: space-between;
200+
align-items: center;
201+
margin-top: 8px;
202+
"
198203
>
204+
<a href="https://ko-fi.com/N4N31DPNUS" target="_blank"
205+
><img
206+
height="28"
207+
style="border: 0px; height: 28px; opacity: 0.9"
208+
src="https://storage.ko-fi.com/cdn/kofi2.png?v=6"
209+
border="0"
210+
alt="Buy Me a Coffee at ko-fi.com"
211+
/></a>
199212
<button id="overlay-ok">OK</button>
200213
</div>
201214
</div>

0 commit comments

Comments
 (0)