TEMARI Sphere
How do I make an temari sphere?
Inspired by Japanese TEMARI. https://www.flickr.com/photos/nanaakua/sets/72157617114284128/. What is a temari sphere? How do you make a temari sphere? This script and codes were developed by Keisuke Takahashi on 19 November 2022, Saturday.
TEMARI Sphere - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>TEMARI Sphere</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="temari"> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in twist red"></div> <div class="in twist green"></div>
</div>
<div class="temari sc"> <div class="in twist red"> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> </div> <div class="in twist blue"> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> </div> <div class="in twist pink"> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> </div> <div class="in twist gold"> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> </div> <div class="in twist green"> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> </div> <div class="in twist black"> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> <div class="in"></div> </div>
</div> <script src="js/index.js"></script>
</body>
</html>
TEMARI Sphere - Script Codes CSS Codes
body { margin: 0; padding: 0; background-color: #110; overflow: hidden;
}
.temari,
.temari *,
.temari ::before,
.temari ::after { box-sizing:border-box;
}
.temari { font-size: 4vw; float: left; width: 10em; height: 10em; position: relative; margin: 1em; color: #fff; transform-style: preserve-3d; -webkit-animation:slow 20s linear infinite; animation:slow 20s linear infinite;
}
.temari:after { -webkit-animation: 1s linear 0s normal none infinite running slow; animation: 1s linear 0s normal none infinite running slow; background-color: rgba(0, 0, 0, 0.2); border-radius: 50%; content: ""; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%;
}
@-webkit-keyframes slow { from { transform:rotateX(0turn) rotateY(0turn) rotateZ(0.1turn); } to { transform:rotateX(0turn) rotateY(1turn) rotateZ(0.1turn); }
}
@keyframes slow { from { transform:rotateX(0turn) rotateY(0turn) rotateZ(0.1turn); } to { transform:rotateX(0turn) rotateY(1turn) rotateZ(0.1turn); }
}
.in { transform-style: preserve-3d; position: absolute; width: 100%; height: 100%; top: 0; left: 0; color: inherit; border:0.1em solid currentcolor; border-radius:50%;
}
.in:nth-child(1) {transform:rotateY(30deg);}
.in:nth-child(2) {transform:rotateY(60deg);}
.in:nth-child(3) {transform:rotateY(90deg);}
.in:nth-child(4) {transform:rotateY(120deg);}
.in:nth-child(5) {transform:rotateY(150deg);}
.in:nth-child(6) {transform:rotateY(180deg);}
.in.red {transform:rotateX(90deg);color: #d00;}
.in.blue {transform:rotateX(0deg);color: #66d;}
.in.pink {transform:rotateX(180deg);color:#d66;}
.in.gold {transform:rotateX(270deg);color: #fc0;}
.in.green {transform:rotateY(90deg);color: #6d6;}
.in.black {transform:rotateY(270deg);color:#222;}
.sc .twist .in { border-width: 1vw;
}
.sc .twist.in { border-width: 0;
}
.sc .twist .in:nth-child(1) {transform:scale(0.2) translateZ(4.9em);}
.sc .twist .in:nth-child(2) {transform:scale(0.3) translateZ(4.8em);}
.sc .twist .in:nth-child(3) {transform:scale(0.4) translateZ(4.6em);}
.sc .twist .in:nth-child(4) {transform:scale(0.5) translateZ(4.4em);}
.sc .twist .in:nth-child(5) {transform:scale(0.6) translateZ(4.1em);}
.sc .twist .in:nth-child(6) {transform:scale(0.7) translateZ(3.6em);}
TEMARI Sphere - Script Codes JS Codes
/* Inspired by Japanese TEMARI. https://www.flickr.com/photos/nanaakua/sets/72157617114284128/
*/
Developer | Keisuke Takahashi |
Username | ksksoft |
Uploaded | November 19, 2022 |
Rating | 3 |
Size | 2,369 Kb |
Views | 14,168 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS Slot Machine | 3,111 Kb |
Pure css thumbnails hover 2 | 1,940 Kb |
Flexbox layout patterns | 2,546 Kb |
Gooey text melt away... | 2,420 Kb |
Pure CSS Drawer Menu | 2,472 Kb |
Pure CSS Slide Panel | 2,463 Kb |
SVG Concentrated Linework | 1,806 Kb |
Real eye with CSS Sfumato | 2,734 Kb |
One div DORAEMON | 2,448 Kb |
Table-cell with gutter | 1,923 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Cloud upload | Jaflo | 2,774 Kb |
Hoi hoi | JohnTheCat | 7,248 Kb |
Pagepilling.js | Blossk | 6,554 Kb |
HexMaze | Cantelope | 4,825 Kb |
HTM5 picture dropzone | Jaysalvat | 2,576 Kb |
12 DAYS OF XMAS | Proto78 | 2,313 Kb |
Rrremark.com Overlay Highlighter | Derickruiz | 4,438 Kb |
Formations | Cantelope | 5,731 Kb |
Lightrays v2 | Sinthetyc | 2,903 Kb |
Toggle Time | Petebot | 5,345 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!