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
Gratis
Selengkapnya di bawah ↓
Sudah termasuk
Yang Anda dapat
Terang dan gelapMemakai warna tema Anda
Paket…
Ukuran kode…
Hemat baterai30 fps, diam saat tidak bergerak
Berhenti saat tersembunyiDi luar layar atau tab lain
Kurangi gerakanTenang bagi yang memintanya
Dicek di setiap perubahan
Pengecekan tipeTypeScript strict
Lint dan formatESLint · Prettier
Tes dan buildTangkapan layar terang dan gelap
Audit keamananTanpa advisori tinggi atau kritis
Usia paketSetiap versi sudah publik 7+ hari
CPU saat diamDi bawah setengah core saat diam, ≤ 30 fps
Kode
Ada yang janggal dengan komponen ini? Kirim masukan ›
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.
Memuat…
Cocok untuk
Builds, exports, solving or crunching steps, and any wait where something is being worked out.
Cara kerjanya
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.
Cara memakai
Tautkan style.css dari halaman Anda, lalu tempel markup dari index.html di tempat yang diinginkan.