A Pen by Admiral Potato

Size
1,957 Kb
Views
6,072

How do I make an a pen by admiral potato?

What is a a pen by admiral potato? How do you make a a pen by admiral potato? This script and codes were developed by Admiral Potato on 10 December 2022, Saturday.

A Pen by Admiral Potato Previews

A Pen by Admiral Potato - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Admiral Potato</title>
</head>
<body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://admiralpotato.github.io/js/npos3d/build/npos3d.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

A Pen by Admiral Potato - Script Codes JS Codes

//Please excuse the fact that I do not declare the variables which I would like to have accessible globally
n = NPos3d;
s = new n.Scene();
Norb = function(args) { var t = this, type = 'Norb'; if(t.type !== type){throw type + ' constructor requires the use of the `new` keyword.';} args = args || {}; t.offset = args.offset; n.blessWith3DBase(t,args); s.add(t);
};
Norb.prototype = { type: 'Norb', shape: n.Geom.cube, update: function() { var t = this, fac; t.rot[0] += deg; t.rot[1] += deg; fac = 1 + Math.sin(tau / divisor * (t.offset + (time/100))); t.scale[0] = t.scale[1] = t.scale[2] = fac; }
};
time = 0;
date = 0;
timeUpdater = {update:function(){date = new Date(); time = date.getTime();}};
s.add(timeUpdater);
myNorbs = [];
divisor = 20;
spacing = 40;
for(i = 0; i < divisor; i += 1){ myNorbs.push(new Norb({ pos: [(spacing * i) - (((divisor - 1) * spacing) / 2),0,0], color: 'hsl('+(10 * i)+',100%,50%)', offset: i }));
}
A Pen by Admiral Potato - Script Codes
A Pen by Admiral Potato - Script Codes
Home Page Home
Developer Admiral Potato
Username AdmiralPotato
Uploaded December 10, 2022
Rating 3
Size 1,957 Kb
Views 6,072
Do you need developer help for A Pen by Admiral Potato?

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!

Admiral Potato (AdmiralPotato) Script Codes
Create amazing art & images with AI!

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!