Skip to content

perf(render): replace remaining Math.sin/cos with lutSin/lutCos - #147

Merged
weirdcodesofficial merged 1 commit into
mainfrom
v0.1.1
Aug 18, 2026
Merged

perf(render): replace remaining Math.sin/cos with lutSin/lutCos#147
weirdcodesofficial merged 1 commit into
mainfrom
v0.1.1

Conversation

@weirdcodesofficial

Copy link
Copy Markdown
Owner

All ~25 per-frame trig calls in drawScene() now use the existing
2048-entry radian LUT (Issue #98) instead of Math.sin/cos:

  • drawRingTicks (4 calls)
  • worldSwaansaPulse, swaansaBoost (2 calls)
  • horse wave, outerOrbit pulse (2 calls)
  • gatee/samay arc head + alpha pulse (8 calls)
  • praarabdha purple ring, pickup glow pulse (2 calls)
  • timer pill pulses × 3 (3 calls)

@weirdcodesofficial weirdcodesofficial added this to the v0.1.1 milestone Aug 18, 2026
@weirdcodesofficial weirdcodesofficial self-assigned this Aug 18, 2026
@netlify

netlify Bot commented Aug 18, 2026

Copy link
Copy Markdown

Deploy Preview for moksha-by-weird-codes ready!

Name Link
🔨 Latest commit 1470f30
🔍 Latest deploy log https://app.netlify.com/projects/moksha-by-weird-codes/deploys/6a83fd9487f2840007263e73
😎 Deploy Preview https://deploy-preview-147--moksha-by-weird-codes.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@weirdcodesofficial
weirdcodesofficial merged commit 08b7287 into main Aug 18, 2026
5 checks passed
@weirdcodesofficial
weirdcodesofficial deleted the v0.1.1 branch August 18, 2026 06:37
@weirdcodesofficial
weirdcodesofficial restored the v0.1.1 branch August 24, 2026 16:30
@weirdcodesofficial
weirdcodesofficial deleted the v0.1.1 branch August 28, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant