Grow3.js Starter Pen
How do I make an grow3.js starter pen?
What is a grow3.js starter pen? How do you make a grow3.js starter pen? This script and codes were developed by Keegan Brown on 16 October 2022, Sunday.
Grow3.js Starter Pen - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Grow3.js Starter Pen</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body, html { margin: 0; overflow: hidden; width:100%; height:100%; } </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <script src="http://grow3.zyxxy.de/js/lib/three.min.js"></script>
<script src="http://grow3.zyxxy.de/js/lib/Detector.js"></script>
<script src="http://grow3.zyxxy.de/js/lib/TrackballControls.js"></script>
<script src="http://grow3.zyxxy.de/js/lib/THREEx.FullScreen.js"></script>
<script src="http://grow3.zyxxy.de/js/lib/THREEx.WindowResize.js"></script>
<script src="http://grow3.zyxxy.de/js/lib/helvetiker_regular.typeface.js"></script>
<script src="http://grow3.zyxxy.de/js/grow3.min.js"></script> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Grow3.js Starter Pen - Script Codes CSS Codes
body, html { margin: 0; overflow: hidden; width:100%; height:100%; }
Grow3.js Starter Pen - Script Codes JS Codes
source = function (grow3) { with (grow3) { var shrink = 0.996; var mat = new THREE.MeshLambertMaterial({color: 0xeeeeee, specular: 0xffffff}); background(0xffffff); maxDepth(1000); rules({ start: function() { camera(move(15).yaw(-45).pitch(-70)); for (var x=0; x<10; x++) { material(mat).r(rZ(x*36)); } }, r: [ function () { forward(); }, function () { turn(); }, function () { turn2(); }, function () { turn3(); }, function () { turn4(); } ], forward: function() { if (depth%60 == 0) { r(); } else { dbox(); rZ(2).rY(3).rX(4).move(0.1).scale(shrink).forward(); } }, turn: function() { if (depth%60 == 0) { r(); } else { dbox(); rZ(2).rY(-3).rX(4).move(0.1).scale(shrink).turn(); } }, turn2: function() { if (depth%60 == 0) { r(); } else { dbox(); rZ(-2).rY(3).rX(4).move(0.1).scale(shrink).turn2(); } }, turn3: function() { if (depth%60 == 0) { r(); } else { dbox(); rZ(2).rY(3).rX(-4).move(0.1).scale(shrink).turn3(); } }, turn4: function() { if (depth%60 == 0) { r(); } else { dbox(); rY(-2).move(0.1).scale(shrink).turn4(); } }, dbox: function() { cube(scale(0.2, 1, 1)); } }); }
};
document.title = (name || "") + " - grow3.js"
window.onload = function() { var runner = new grow3.Runner(document.body); runner.run(source);
};
Developer | Keegan Brown |
Username | keeganbrown |
Uploaded | October 16, 2022 |
Rating | 3 |
Size | 2,344 Kb |
Views | 12,144 |
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 |
Paint drips up the wall, sometimes. | 2,787 Kb |
Parallaxy Background images | 2,947 Kb |
Trying out GSAP 1.19 | 3,898 Kb |
GreenSock SplitText Contest Entry | 3,389 Kb |
Lava Tiles | 2,809 Kb |
Brute Force Random Traveling Salesman solver | 5,376 Kb |
Meteor Shower | 2,583 Kb |
Particles with GSAP and SketchJS | 3,441 Kb |
Particles, Particles, Particles -- 3 | 2,783 Kb |
OnHover Flipping Tiles | 2,637 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 |
JQuery FullScreen Overlay | _codemics | 2,252 Kb |
A Pen by Huan Nghiem | Nightshade | 10,646 Kb |
Flower expansion | Sreucherand | 3,425 Kb |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
Preloader | Rikki_Sixx | 2,815 Kb |
Exploding Text | Jjmartucci | 4,749 Kb |
Toolbar | Onsen | 5,414 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
A simple log in form made with css | Mayurelbhar | 2,160 Kb |
Hard-Stop Gradients | Mackdoyle | 2,288 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!