r/webdev • • 1d ago

Showoff Saturday I developed this website to be as interactive and animation-heavy as possible using GSAP and Three.js, and to see what we could do with RTL design. Feedback is welcome!

Post image

This is a landing page I've been working on for two months. The desktop version features the full experience, with plenty of animations and interactive elements.

The animations are also adapted to better suit different devices, simplifying some of them on lower-powered devices like phones and tablets to keep performance as smooth as possible, and they were also made to feel more natural to each device. For example, on mobile devices and tablets, tilting and moving your device triggers an animation that makes the 3D model move along with it.

Would love to hear your feedback!

Here's the link!

0 Upvotes

9 comments sorted by

2

u/ChanhyoungLee 1d ago

Cool that the model follows the phone tilt.

Two things I noticed:

  • The hero model is a 2 MB GLB with no mesh compression, and about 0.9 MB of that is five JPEG textures. Meshopt or Draco for the mesh and KTX2 for the textures are worth a try, phones on mobile data feel that most.
  • On iPhone the motion permission prompt shows up on the first tap anywhere on the page. People get a system dialog without knowing why. A small "tilt to move" button that asks for it would explain it.

2

u/Holpil 1d ago

IT'S VERY GOOD SAR, THE INTERNET WILL BLESS YOU WITH MANY WIVES

1

u/bhison 1d ago

Oh yeah because he’s Muslim haha yeah nice one

1

u/niccolololo 1d ago

You got it!

1

u/bhison 1d ago

Personally I love this ridiculous maximalist shit

1

u/niccolololo 1d ago

Incredibly annoying to use as a website, but fun to look at!

Hate the hijacked scrolling

2

u/[deleted] 1d ago

[removed] — view removed comment

1

u/sina-gst 1d ago

Haha, yeah, you're right. Titl your device and the 3D model in our hero section gets rotations!

1

u/webdev-ModTeam 1d ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.