A small one-color puzzle cube in 3D whose layers twist a quarter turn in turn, top, right, bottom and left, each with a little spring.
React + HTML
חינם
עוד למטה ↓
מובנה
מה מקבלים
בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
חבילות…
גודל הקוד…
חסכוני בסוללה30 fps, במנוחה כשהכול דומם
נעצר כשהוא מוסתרמחוץ למסך או בלשונית אחרת
הפחתת תנועהרגוע למי שמבקש
נבדק בכל שינוי
בדיקת טיפוסיםTypeScript strict
Lint ועיצוב קודESLint · Prettier
בדיקות ובנייהצילומי מסך בהיר וכהה
בדיקת אבטחהללא התראות חמורות או קריטיות
גיל החבילותכל גרסה פומבית 7 ימים לפחות
מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps
קוד
יש בעיה ברכיב הזה? שליחת משוב ›
twist-cube-loaderHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
טוען…
מתאים ל
Builds, exports, solving or crunching steps, and any wait where something is being worked out.
איך זה עובד
One layer of the cube turns a quarter turn and springs into place, then the next layer goes; the faces shade as they turn toward the light. With reduced motion it stays still and gently pulses.
איך משתמשים
קשרו את style.css מהעמוד שלכם, ואז הדביקו את הקוד מ-index.html במקום שבו הוא צריך להופיע.