r/webdesign • • 12d ago

Homepage for a WordPress Plugin

I wanted an animation to conceptualize the purpose of the product using space ship robots and a particle swarm. I thought that would look cool. And I think it is easier to look at than scrolling through some cookie cutter popup cards everyone has seen many times. Hopefully multi-thread optimization allow the site to run fast on your device and browser.

https://cybermaps.dev

3 Upvotes

2 comments sorted by

2

u/Total-Reasonable 12d ago

The "multi-thread optimization" line is the claim I'd push back on. Browsers run JS on one main thread, so a particle swarm only gets faster if the simulation is moved into a Web Worker with OffscreenCanvas, or onto the GPU. Otherwise it competes with scrolling and hurts INP and LCP. I'd cut the particle count on mobile and honor prefers-reduced-motion.

1

u/oreshek 12d ago

I used this guide to move a lot of processing off of the main thread https://kciter.so/posts/the-expensive-main-thread/en/

Will integrate into your suggestions on the next polish pass.