mirror of
https://github.com/hex248/tsos.git
synced 2026-02-07 18:23:05 +00:00
requestAnimationFrame loop that tracks elapsed time for wobble animation
This commit is contained in:
@@ -150,8 +150,8 @@ src/
|
||||
|
||||
### Tasks
|
||||
|
||||
- [ ] Create `lib/noise.ts` - export shared simplex instance
|
||||
- [ ] Create `lib/shapes/wobble.ts`:
|
||||
- [x] Create `lib/noise.ts` - export shared simplex instance
|
||||
- [x] Create `lib/shapes/wobble.ts`:
|
||||
- `applyWobble(points, time, amount, noiseScale)` - displace points using noise
|
||||
- [ ] Create `useWobbleAnimation.ts` - RAF loop, tracks elapsed time
|
||||
- [ ] Update `MorphableShape.tsx` to apply wobble each frame
|
||||
|
||||
Reference in New Issue
Block a user