2026-05-19 · ملاحظات التطوير · حُدّث في 2026-09-14 · 阿格(niego)
منظور السفر — مشهد هاتف بطبقات وبارالاكس
CSS 3D · طبقات PNG · بارالاكس مؤشر
تصف هذه الصفحة تجربة بارالاكس أصلية في original/travel-through/: ثلاث طبقات PNG (هاتف، زجاج، شخصية أمامية) تتحرك بمقدار مختلف عند تحريك المؤشر. بلا WebGL — فقط transform في CSS وتنعيم عبر requestAnimationFrame.
عرض مباشر
parallax_phone_scene.html — ثلاث طبقات وبارالاكس مؤشر منعّم.الطبقات (من الخلف للأمام)
- 0.15 —
Mobile-phone-background.png - 0.38 —
Glass-cover.png(mix-blend-mode: screen) - 0.70 —
Penetrating-characters.png
يُطبَّع موضع المؤشر نحو المركز؛ cx += (mx - cx) * 0.07 وamplitude = 28 بكسل. النص خارج الإطار المضمّن يساعد الفهرسة على موضوعات مثل بارالاكس CSS وواجهة بطبقات.
الأسئلة الشائعة
What is this?
A small front-end study: three PNG layers (phone backplate, glass cover, foreground character) shift at different rates as the pointer moves.
Does it use WebGL?
No. Plain CSS transform plus requestAnimationFrame, so it stays light and broadly compatible.
Can I embed it?
Yes. There is an embeddable demo, and the layer breakdown is documented in the archive folder.