Skip to content

Instantly share code, notes, and snippets.

@sprhawk
Forked from anonymous/index.html
Created March 13, 2014 17:42
Show Gist options
  • Save sprhawk/9533194 to your computer and use it in GitHub Desktop.
Save sprhawk/9533194 to your computer and use it in GitHub Desktop.
<canvas id="canvas" style="position:absolute; top:0; left:0;"></canvas>
<div id="buffer" style="display:none;">
var camera = {
focus : 400,
self : {
x : 0,
y : 0,
z : 0
},
rotate : {
x : 0,
y : 0,
z : 0
},
up : {
x : 0,
y : 1,
z : 0
},
zoom : 1,
display : {
x : window.innerWidth/2,
y : window.innerHeight/2,
z : 0
}
};
var affine = {
world : {
size : function(p, size) {
return {
x : p.x * size.x,
y : p.y * size.y,
z : p.z * size.z
}
},
rotate: {
x : function(p, rotate) {
return {
x : p.x,
y : p.y*Math.cos(dtr(rotate.x)) - p.z*Math.sin(dtr(rotate.x)),
z : p.y*Math.sin(dtr(rotate.x)) + p.z*Math.cos(dtr(rotate.x))
}
},
y : function(p, rotate) {
return {
x : p.x*Math.cos(dtr(rotate.y)) + p.z*Math.sin(dtr(rotate.y)),
y : p.y,
z : -p.x*Math.sin(dtr(rotate.y)) + p.z*Math.cos(dtr(rotate.y))
}
},
z : function(p, rotate) {
return {
x : p.x*Math.cos(dtr(rotate.z)) - p.y*Math.sin(dtr(rotate.z)),
y : p.x*Math.sin(dtr(rotate.z)) + p.y*Math.cos(dtr(rotate.z)),
z : p.z
}
}
},
position : function(p, position) {
return {
x : p.x + position.x,
y : p.y + position.y,
z : p.z + position.z
}
},
},
view : {
point : function(p) {
return {
x : p.x - camera.self.x,
y : p.y - camera.self.y,
z : p.z - camera.self.z
}
},
x : function(p) {
return {
x : p.x,
y : p.y*Math.cos(dtr(camera.rotate.x)) - p.z*Math.sin(dtr(camera.rotate.x)),
z : p.y*Math.sin(dtr(camera.rotate.x)) + p.z*Math.cos(dtr(camera.rotate.x))
}
},
y : function(p) {
return {
x : p.x*Math.cos(dtr(camera.rotate.y)) + p.z*Math.sin(dtr(camera.rotate.y)),
y : p.y,
z : p.x*-Math.sin(dtr(camera.rotate.y)) + p.z*Math.cos(dtr(camera.rotate.y))
}
},
viewReset : function(p) {
return {
x : p.x - camera.self.x,
y : p.y - camera.self.y,
z : p.z - camera.self.z
}
},
righthandedReversal : function(p) {
return {
x : p.x,
y : -p.y,
z : p.z,
}
}
},
perspective : function(p) {
return {
x : p.x * ((camera.focus-camera.self.z) / ((camera.focus-camera.self.z) - p.z)) * camera.zoom,
y : p.y * ((camera.focus-camera.self.z) / ((camera.focus-camera.self.z) - p.z)) * camera.zoom,
z : p.z * ((camera.focus-camera.self.z) / ((camera.focus-camera.self.z) - p.z)) * camera.zoom,
p : ((camera.focus-camera.self.z) / ((camera.focus-camera.self.z) - p.z)) * camera.zoom,
}
},
display : function(p, display) {
return {
x : p.x + display.x,
y : p.y + display.y,
z : p.z + display.z,
p : p.p,
}
},
process : function(model, size, rotate, position,display) {
var ret = affine.world.size(model, size);
ret = affine.world.rotate.x(ret, rotate);
ret = affine.world.rotate.y(ret, rotate);
ret = affine.world.rotate.z(ret, rotate);
ret = affine.world.position(ret, position);
ret = affine.view.point(ret);
ret = affine.view.x(ret);
ret = affine.view.y(ret);
ret = affine.view.viewReset(ret);
ret = affine.view.righthandedReversal(ret);
ret = affine.perspective(ret);
ret = affine.display(ret, display);
return ret;
}
};
var vertex3d = function(param) {
this.affineIn = new Object;
this.affineOut = new Object;
if(param.vertex !== undefined) {
this.affineIn.vertex = param.vertex;
} else {
this.affineIn.vertex = {x:0,y:0,z:0};
};
if(param.size !== undefined) {
this.affineIn.size = param.size;
} else {
this.affineIn.size = {x:1,y:1,z:1};
};
if(param.rotate !== undefined) {
this.affineIn.rotate = param.rotate;
} else {
this.affineIn.rotate = {x:0,y:0,z:0};
};
if(param.position !== undefined) {
this.affineIn.position = param.position;
} else {
this.affineIn.position = {x:0,y:0,z:0};
};
};
vertex3d.prototype = {
vertexUpdate : function() {
this.affineOut = affine.process(
this.affineIn.vertex,
this.affineIn.size,
this.affineIn.rotate,
this.affineIn.position,
camera.display
);
}
};
var dtr = function(v) {return v * Math.PI/180;};
//cordinate system transformation.
//polar to rectangle.
var polarToRectangle = function(dX, dY, radius) {
var x = Math.sin(dtr(dX)) * Math.cos(dtr(dY)) * radius;
var y = Math.sin(dtr(dX)) * Math.sin(dtr(dY)) * radius;
var z = Math.cos(dtr(dX)) * radius;
return {x:y, y:z, z:x};
};
//rectangle to polar.
var rectangleToPolar = function(x, y, z) {
if(x == 0) var xD = 0.001;
else var xD = x;
if(y == 0) var yD = 0.001;
else var yD = y;
if(z == 0) var zD = 0.001;
else var zD = z;
var radius = Math.sqrt(xD*xD + yD*yD + zD*zD);
var theta = Math.atan(zD / Math.sqrt(xD*xD + yD*yD));
var phi = Math.atan(yD / xD);
return {x:theta*(180/Math.PI), y:phi*(180/Math.PI), r:radius};
};
var closeValue = function(minTime, maxTime) {
this.flag = 0;
this.progress = 0;
this.startTime = 0;
this.durationTime = 0;
this.fromValue = 0;
this.toValue = 0;
this.minValue = 0;
this.maxValue = 1;
this.minDuration = minTime;
this.maxDuration = maxTime;
};
closeValue.prototype = {
init : function() {
this.durationTime = this.minDuration + (this.maxDuration-this.minDuration) * Math.random();
this.startTime = Date.now();
this.progress = Math.min(1, ((Date.now()-this.startTime)/this.durationTime))
this.fromValue = this.toValue;
this.toValue = this.minValue + this.maxValue * Math.random();
this.flag = 1;
return this.fromValue + (this.toValue - this.fromValue) * this.progress;
},
update : function() {
this.progress = Math.min(1, ((Date.now()-this.startTime)/this.durationTime));
if(this.progress== 1) this.flag = 0;
return this.fromValue + (this.toValue - this.fromValue) * this.progress;
},
execution : function() {
if(this.flag == 0) {return this.init()}
else if(this.flag == 1) {return this.update()};
}
};
var strokeColor = "rgba(255,255,255,0.1)";
var backgroundColor = "rgba(0,0,0,1)";
var vibrateFlag = false;
var canvas = document.getElementById("canvas");
var canvasWidth = window.innerWidth;
var canvasHeight = window.innerHeight;
canvas.width = canvasWidth;
canvas.height = canvasHeight;
var ctx = canvas.getContext("2d");
ctx.strokeStyle = strokeColor;
window.onresize = function() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
camera.display.x = window.innerWidth/2;
camera.display.y = window.innerHeight/2;
};
/* class */
var sphere = function(arg) {
this.flag = true;
this.type = "_";
this.particleNum = arg.particleNum;
this.center = {x:0, y:0, z:0};
this.targetCenter = arg.center;
this.radius = 0;
this.targetRadius = arg.radius;
this.degree = new Array();
this.freeDegreeSpeed = new Array();
for(var j=0; j<this.particleNum; j++) {
this.degree[j] = {theta:0, phi:0};
this.freeDegreeSpeed[j] = {theta:1*Math.random()-0.5, phi:1*Math.random()-0.5};
};
this.charsMap = new Object();
for(var i in chars) {
var buffer = document.getElementById(i).getContext("2d").getImageData(0, 0, 100, 100).data;
this.charsMap[i] = new Array();
var self = this;
for(var j=0; j<this.particleNum; j++) {
var redo = function() {
var theta = Math.floor(Math.random()*100);
var phi = Math.floor(Math.random()*100);
if(buffer[(theta*400+(phi*4))] == 0) {
self.charsMap[i].push(
{
theta:theta-50 + 360 * Math.round(Math.random()*2)-1,
phi:phi-50 + 360 * Math.round(Math.random()*2)-1
}
);
} else {
redo();
};
};
redo();
};
};
this.charsMap["@"] = new Array();
for(var i=0; i<this.particleNum; i++) {
this.charsMap["@"][i] = {theta:360*Math.random(), phi:360*Math.random()};
};
this.charsMap["_"] = new Array();
for(var i=0; i<this.particleNum; i++) {
this.charsMap["_"][i] = {theta:0, phi:0};
};
this.veticies = new Array();
for(var i=0; i<this.particleNum; i++) {
this.veticies[i] = new vertex3d({});
};
};
sphere.prototype = {
update : function() {
for(var i=0; i<this.charsMap[this.type].length; i++) {
if(this.degree[i].theta >= 30 && this.degree[i].phi >= 30) {
this.flag = true;
break;
} else {
this.flag = false;
};
};
this.radius = this.radius + (this.targetRadius - this.radius) / 8;
this.center.x = this.center.x + (this.targetCenter.x - this.center.x) / 8;
this.center.y = this.center.y + (this.targetCenter.y - this.center.y) / 8;
this.center.z = this.center.z + (this.targetCenter.z - this.center.z) / 8;
for(var i=0; i<this.charsMap[this.type].length; i++) {
if(this.type === "@") {
this.charsMap[this.type][i].theta += this.freeDegreeSpeed[i].theta;
this.charsMap[this.type][i].phi += this.freeDegreeSpeed[i].phi;
};
this.degree[i].theta =this.degree[i].theta + (this.charsMap[this.type][i].theta-this.degree[i].theta)/(4+20*Math.random());
this.degree[i].phi = this.degree[i].phi + (this.charsMap[this.type][i].phi-this.degree[i].phi)/(4+20*Math.random());
if(vibrateFlag == true) {
var getPosition = polarToRectangle(this.degree[i].theta+90, this.degree[i].phi, this.radius+Math.random()*10);
} else {
var getPosition = polarToRectangle(this.degree[i].theta+90, this.degree[i].phi, this.radius);
};
this.veticies[i].affineIn.vertex = {
x:getPosition.x,
y:getPosition.y,
z:getPosition.z
};
this.center.x
this.veticies[i].affineIn.position = {
x:this.center.x,
y:this.center.y,
z:this.center.z
};
this.veticies[i].vertexUpdate();
};
},
draw : function() {
if(this.flag == true) {
ctx.beginPath();
for(var i=0; i<this.veticies.length; i++) {
for(var j=i; j<this.veticies.length; j++) {
var distance =
(this.veticies[i].affineOut.x-this.veticies[j].affineOut.x)*(this.veticies[i].affineOut.x-this.veticies[j].affineOut.x) +
(this.veticies[i].affineOut.y-this.veticies[j].affineOut.y)*(this.veticies[i].affineOut.y-this.veticies[j].affineOut.y);
if(distance <= this.radius*3) {
ctx.moveTo(
this.veticies[i].affineOut.x,
this.veticies[i].affineOut.y
);
ctx.lineTo(
this.veticies[j].affineOut.x,
this.veticies[j].affineOut.y
);
};
};
};
ctx.closePath();
ctx.stroke();
};
}
};
/* class */
var sphereNum = 20;
var s = new Array();
/*-----------------------------------------------------*/
var setup = function() {
for(var i=0; i<sphereNum; i++) {
s[i] = new sphere({radius:100, particleNum:250, center:{x:70*i - (sphereNum-1)*70/2,y:0,z:0}});
};
};
/*-----------------------------------------------------*/
var update = function() {
for(var i=0; i<sphereNum; i++) {
s[i].update();
};
};
/*-----------------------------------------------------*/
var draw = function() {
for(var i=0; i<sphereNum; i++) {
s[i].draw();
};
};
var chars = {
A : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAoVJREFUeNrsnO2RgkAQRGXrEsAQMAQJgVwMwRgMwVg0BA1BQpAQOErrPsrjdgfKnR3gzW/h5NE99M7iZW3brihZORAAC1jAAhawgAUCYAELWMACFrBAACxgAQtYwAIWCIAFLGABa0DtdrtMXGVZJvyqWfJ9w81mU9e1/PP3+z3P8yUqq2maQaS6ul6vC7Xh+XweeshyYQ2VFcqKfshMGnz3gBtx1O12K4piWcoabahU4pokrBGdbrmwUvV4o7C2221VVdjwJ456YOWPsta2nE0PdrLqxGXNiR82YQVXf8uC5fdRMEYlgZUslK7X665teUYLz8+YGj+k6VldUPKQyr/KWjR1Bj343do96SFJNE2mLEnD8nculAWsgc8yISz9Z6KzJqvfjKylLWdNVvIGD6xX6/nFBayiV2X/ncqT1yYPq36Ufwltdt3jTMnK+CLRHKwX3wFrACxTK0TtqUNw7+vv9wkeorYzpqqsoAp6g1UQhJq4nCkP9pouCEtt/KAKK3hVvanKH7U0e7wtG/aKyFCPb7XqOSmOVKfTSeESnB1ZaWZd6zaM2obnBmsGytILpeNexZKXws6YkrIU7rzCM3E+sBSiKcqy17PKslTgFftaNGA1TeN/a+EZ0/f7vecMh8Mh+Icul0twbWQ9wXfxOvg1qqryn0RyLcfjcfIJXmLA4GhBIpnYTteAJWm9wHqnsiSz0Ng7Y9Fh+V/Fks9hhJ07qricBQ+uBDv1win7tGFJgrVkTbcIWBJlCS0WVF/sHB8dluRWC2FJxDXip7FWYAnvs3C0InRiPHFl/CNqc1MHYAGLAhawgAUsYAGLAhawgAUsYAGLAhawgAUsYAGLAtZb6lOAAQB0jf7CahauSAAAAABJRU5ErkJggg==",
B : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0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pNj7cvXnIc34zgOwzBJkn+4oMkk8vP+9rKl0MqynGxzVKy1yoZhMMM69gTfNI3MhuM4cjdUpe/7NE3B2lBfO261/vZZVVWBtaG4DGYut7DCn+w412AkutWUtm27HkulSL3I+JIpXNnB+tWU/j5R2ih5xFFWpe99ljwJ5nmu+aR3c9arktE8PCtH6/nvhsqRCJZDAQsssMACCywCFlhggQUWWAQssMACCyywCFhg+Yz1prVwVJb3WDbLr6gsKgusV2mahsrSpigKzccM1kPcHB99URQpl8csG1feGrdW/gnNeixGm5ZcGVTW3bVScrlxPUnrsGwYA0uVLMu4G2oHYBzHYKkGYF3X9FkqqbZtzfa2HhhL5ilLqYvj236fRnRkhhIpgy70eFiis+wjl1cBspnLn+bKH1F712eBBRZYYBGwwAILLLDAImCBBRZYYIFFwAILLLDA8iTfAgwAhov2vlCJPZsAAAAASUVORK5CYII=",
E : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQBJREFUeNrs3MENwiAUgGExLsAsrNA3U1foTrBTR6gmJp56kINVy/efPTRf+ghI0rRt20XvdUUACxYsWLBgIYAFCxYsWLAQwIIFCxYsWAhgwYIFa7+ISB+otebNMoawYAkWLFiwYA3S7QefaZqmrt/nnMfFqrUaQ2sWLMGCBQsWLDv479b1n/pj+15KGRcrIrrORoft+I0hLFiwYMESLFiwHHd2Wpal67gzNNY8z8bQmgVLsGDBggULlmCd8bjTdbvzOk4ecCH29/eGz9Z1NYbWLFiwBAsWLFiwRij5ELU3CxYsWLBgIYAFCxYsWLAQwIIFCxYsWAhgwYIF65zdBRgAB2kfVa0J2mAAAAAASUVORK5CYII=",
F : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPJJREFUeNrs3MENgy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8Sq77GpGfDz7eBTQhLJsQ8z8HSRncVYaRXqB3W3RJVj5Ah3PPlabw5s3dr261yEh5TBw/bfnv0x+4mzGlhtammvqpRFLr7clzVH9Fi3cikV7rU5GqS3/raaO8zg38ejwVGcvmEU/5+iyCwyLPAAosACyywwAILLAIssMACCyywCLDAAgsssKYdfwIMALX7wq9Z+viIAAAAAElFTkSuQmCC",
H : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOZJREFUeNrs3MEJwyAYgNEYOlp3cgZ3chZXMeKltFTwUiPlfdefhOShhxCSUGs9NNeJABYsWLBgwUIACxYsWLBgIYAFCxYsWLAQwIIFC9ZnYaKU0ujwNpo5g5VlG8KCJViwYMGCBUuwYMGCBQuWYMGCtVGPfS6llJJzHo12uMKw5tudBW8TWr++F9sQFixYsGAJFixYHndePXtfR7kH6w0rxjia7oBlG8KCBQsWLMGCBQsWLFiCBQsWLFiwBAsWrNsLfkRtZcGCBQsWLASwYMGCBQsWAliwYMGCBQsBLFiwYP1nlwADAIgVIg41FpPaAAAAAElFTkSuQmCC",
I : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNrs3LERACAIBEGx/5LoDS0BAhNnLyba+ZioqqVeGwEsWLBgwYKFABYsWLBgwUIACxYsWLBgIYAFCxasWZkZje4ZLMuCBUuwYMGCBQuWYMGCBQsWLMGCBQsWLFiCBQsWLFiwBAsWLFiwYAkWLFiwYMESLFiwYMGCJViwYMGCBUuwHhQeUVsWLFiwYMFCAAsWLFiwYCGABQsWLFiwEMCCBQvWnx0BBgCIewtNidNjyQAAAABJRU5ErkJggg==",
J : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/g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E8NYsbLDMpytHuvbKla23coRyzlWi7KeG9Z1nXYbUzzWR58JTg1rId8ygwXW+18Cyo0gWOOHqzws8b0HsN44P4I18k4sEiu24SjhKvXNP7Dc27wjlngAHCFcfUrpDxfitHy5XJQXPWJNn1t2yWrbNryUSyvxQexkk3WPVaw/nU7K+vjY+SbrHqv7FlN845yY2eaNsALo8SJUbPOZO9EL6+k7UXmpfaZY//uXEi7xDd3pD6Xi10LawGWNFclSBq60Nu9+3BHbvPjDgoljiY9UYycmPPtxx4pt2DSN0uYTOlcBtw5iuBK+EwvAEttWd6u5Y4nn6oRwlXH5pw9c/OxXPfp8us0Xc63ssBMr/hH1BJMFFlhgUWCBBRZYYIFFgQUWWGCBBRYFFlhggQUWWFTUrwADAHFImBJfDWY7AAAAAElFTkSuQmCC",
L : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMdJREFUeNrs3LENgCAQQFExLsAsLMcINxQrMBPaGxNKgu/XV5CXg5I0xjg014kAFixYsGDBQgALFixYsGAhgAULFixYsBDAggUL1mettTTRMwbLZsESLFiwYMGCJViwYMGCBUuwYMGCBQuWYMGCBQsWLMGCBQsWLFiCBQsWLFiwBAsWrAW71jxWrTXnPDlcSomI/2L13l1DbxYswYIFCxYsWHqXfERts2DBggULFgJYsGDBggULASxYsGDBgoUAFixYsPbsFmAAfSARhDW4TnEAAAAASUVORK5CYII=",
M : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAj9JREFUeNrs3P+NgkAQhmEx14At2IIt0Jw90QItXAuW4G3OxBDgPmc53Rl23/0bSXgy8+3wI3b3+/3Asq0jBGCBBRZYYIEFAVhggQUWWGBBABZYYIEFFlgQgAUWWO1iXa/XLn+lX1lOPgz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qY+af2y73TZNI148juPj8RCfttI/MLnW8XhU1r/b7aotyRTr+XyKL/blclk6lmGsTLGGYTCMVZTj3fB6vYp9vW3bqiszjJV4dzudTpXXtjGMVWwalFiJfe3fJss5VnbJEmMVlRArt487YmsPqXq7ds+3YewDxDXHljVlhUZYscMUY5W1whWxmh+WGKvYhSYu0qLBl1L6vre9CXo1eHHIFZflrjMf636/i69rXLl0rLnEKr9nla8SW/vSDyxut5s45Etu7ekN3nN2bNqzPGfHjlizi1Vmgxe/rpcwO3brWfqRRMqQzytZ+pGExU0wMVnms2OvZJnPjo2Spccqccjnkiw9Vl3X2R3/Mjs23ZTOYnb8S62nir/Mtt/vlYloNLXD4fDSM8d989WH/KHqffNPnx1HUxPnNt8fsrhDVvMCCyywwAILLAossN5TVT/ukCywKLDAAgsssMCiwAILLLDAAosCCyywwAILLAossOrVpwADALAUjuHbFyikAAAAAElFTkSuQmCC",
"!" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAT9JREFUeNrs3MGRgkAUBFDHMgFSIAVSIGuIiRRY7xY4lrs1PezrMwfrVfP5oFj2fb9JXe4IYMGCBQsWLASwYMGCBQsWAliwYMGCBQsBLFiwYH2WdV1LRZ6HwdIsWLAEFixYsGDBEliwYMG6YkrIr5VLKW+P2bZtGAbNutUotJUKwpqm6csDNCuoVj01a55nWEHF6QZrHEcz69ewEqpXct4KO1+1Ej5n0AZ/cqKFTLQgrBORhIHVTbPeTjTNgmVmNV8s/t3qcLI9NH84k9isIxGnYe3YSriFTsQKmU0dY2lW9IpwlEfazHrtUU6ziv+iudpSCgvWpZMy4GteCHiO/7aXy56+vl+Wpe2V0WkICxYsWLAEFixYsGC5kf7TdPEMUrNgwYIFC5bAggULFixYAgsWLFiwYAksWLBg9ZQfAQYAy984l3UoS88AAAAASUVORK5CYII=",
"?" : "data:image/png;base64,iVB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KMgEcII6QjwAjpiYgKkVAdwZyNee9H1c/IeeKPc+rLmqYZEbr4ggAssMACCyywIAALLLDAAgssCMACCyywwAILArDAAuuN4juGRhwOB+fczznk89PpdP3T2WzWfpxMJvP5PGRDm3BxPB5Xq5UQPNTgxWJR13WQBgfDEqbxeDz4GRdFIdbpY8lNSu94fkzkeW7sFQDL47wjE1nKWDL6/M65ZVmaNT6zPBgii910OvV7TZn4ZDAmmGet12vv15Q8Y7PZJIi12+1ecVnJ0VLLs7bbraY9Mv1XVdX+yX6/lyUvnrsYRTW1S4LazTM06ZiwGtyC3TDUDJZu/iVSkn9qNkxJzVk3O757eabym911NikszcPv3Sd+IpYmerGe2UL6DbukNMsyzaLm/W95+cebUrDAAosACyywwAILLAIssMACCyywCLDAAgsssMAiwALrNmz+a/0GWINPlLwxlubh9x4esTlOFBfW4MMwGqzUepam7KT3KK3mfO2jNS0pYDnnlsvl9WwlX2rOXtn0LLsjR/pD8DK7tTffrRC79xjqura4B8vyirYYznsURWHTftPU4UXVgl7KpqLrWa/oXGbdKkChk/Jcu37RsKyiC1BCV1WVFy+5yF8tRsqVrNIdnhyPslwaS4Us+5Uoy3JAfiRDz7LGMFi94b39oLvEP78mPTE/R8AC/PBYNy8YujtBAYqkbiAuLF7+gQUWARZYYIEFFlgEWGCBBRZYYBFggQUWWGB9ZPwKMAAb8Bq6GXjuvQAAAABJRU5ErkJggg==",
"1" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAShJREFUeNrs3EENgzAUBuCxTAkW8IIFLCChWMACEsACFrCAhK7JDsuWMbjRkO8/kcCh+dLX93qhiDHe5FjuCGDBggULFiwEsGDBggULFgJYsGDBggULASxYsGBdM48M17Sua13XP1+FEKqqgvXOMAzTNG05KsOPdF3nzDoqtSwLrP30fd+2rW54aE81TaMb7m+onKvvfKxEM89z6nqp953b43LESj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uFTpxOpzzPi7PhM67NX5MkGY/HcRynaTqZTGx2tLZqWZYBgby3QLbZbGz11hqsqqqewnQz1o7H41BgHQ4HeNY7DoHH0Uj4sN4nZYuXBViIO6YCLpoKGdZ6vTaboNCgWucjzV00kAXT6RRXg23CGRHsjfi1W6J0u92aJXX5A9BsgAp+v99LRspVSSF+QyUYadYzUQphJekPZOoLCUFHdumNLExoJNmtPZTm87mRxn1yw7Ise+/p1PQSoS9p3CdYN9PjeyOrM4r1JjtJ4z7BkuTBe+GpN2yFNrIk7/OyXBoiLFZKWVZ2zxRifDiwjE+k6IYDgKUj0D2D5QgU+7Akq1idcccdzeEWrM6M5s5wcwtWZ3VQr1zlnRvOZrPrUIIDLhYLhwKZ5grYR1+kXTX0uPgXx7HlnQp+SQdJzZOw/mHprFmFAAuklsslYUkNsCSrW4T1a7vd7tk9WYOTDu1ND73xCzdctjJIXkRh6VB1r0NbgkKd52drCvfLpkh46zUhRFEk+dc/3WGbsJ7opRuwWPwjLMJ6nAoIyy15oXdooCiK1Wr1+B4IhfZru1Mp1YN1OUbRe0/7SwksnVnByClP6SwrS1ZPlebnqlujBUDbT0mqYDo7/1RhSZwFqr35iKQEBpoB7oMX1mfgU8nZhM6FZgOE9aEyvNqhJ+2qg3FBhAEY7HGULMvMwtI862ShnmVw2ULz4I4dWFVVGXHGm7wZ8knWN1cu1DKgE7BgyGIvuCRGpcLis3Nl5WZxufizB8oTiS9NU4uLQ86VlcuzWZknB1KDZ6WUsAiLRliERViERViERSMswiIswiIswqIRFmERFmERVtD2I8AAVk+r365MC5oAAAAASUVORK5CYII="
};
var charsLength = 0;
var charCounter = 0;
var bufferImages = {};
var bufferCanvases = {};
for(var i in chars) {
charsLength++;
bufferImages[i] = new Image();
bufferImages[i].src = chars[i];
bufferImages[i].onload = function() {
charCounter++;
if(charCounter === charsLength) {
bufferDraw();
};
};
};
var bufferDraw = function() {
for(var i in chars) {
var canvas = document.createElement("canvas");
canvas.id = i;
document.getElementById("buffer").appendChild(canvas);
document.getElementById(i).getContext("2d").drawImage(
bufferImages[i],
0,
0,
100,
100
);
};
start();
};
var textChanger = function(text, sphereRadius, sphereSpace, unitTime) {
var changeIncrement = 0;
var charNum = text.length;
var center = new Array();
for(var i=0; i<charNum; i++) {
center[i] = {x:sphereSpace*i - sphereSpace*(charNum-1)/2, y:0, z:0};
};
var changer = function() {
setTimeout(function() {
s[changeIncrement].type = text[changeIncrement];
s[changeIncrement].targetCenter = center[changeIncrement];
s[changeIncrement].targetRadius = sphereRadius;
changeIncrement++;
if(changeIncrement < charNum) {
changer();
};
}, unitTime);
};
for(var i=charNum; i<s.length; i++) {
s[i].type = "_";
};
changer();
};
var fullSet = function() {
var alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ__?!1234567890";
var col = 10;
var colUnit = 80;
var rowUnit = 120;
for(var i=0; i<alpha.length; i++) {
s[i].targetCenter = {
x:(i%10)*colUnit - (col-1)*colUnit/2,
y:Math.floor(i/10)*-rowUnit + 180,
z:0
};
s[i].type = alpha[i];
};
};
var textSet = [
{text:"WEBSPHERE", sphereRadius:140, sphereSpace:80, unitTime:100, time:1000},
{text:"THIS_IS", sphereRadius:120, sphereSpace:70, unitTime:120, time:4000},
{text:"EXPERIMENTAL", sphereRadius:120, sphereSpace:70, unitTime:50, time:2000},
{text:"TYPEFACE", sphereRadius:120, sphereSpace:70, unitTime:100, time:4000},
{text:"BASED_ON", sphereRadius:100, sphereSpace:60, unitTime:100, time:3000},
{text:"HELVETICA", sphereRadius:140, sphereSpace:80, unitTime:100, time:2000},
{text:"@@@@@@@@", sphereRadius:60 + Math.random()*60, sphereSpace:200, unitTime:100, time:4000},
{text:"MOVABLE", sphereRadius:120, sphereSpace:70, unitTime:100, time:2000},
{text:"AND", sphereRadius:100, sphereSpace:60, unitTime:150, time:3500},
{text:"PROGRAMABLE", sphereRadius:120, sphereSpace:70, unitTime:50, time:2000},
{text:"!!!!!!!", sphereRadius:100, sphereSpace:60, unitTime:100, time:3500},
{text:"HACK_ME!", sphereRadius:140, sphereSpace:80, unitTime:100, time:2500},
{text:"@@@@@@@@", sphereRadius:60 + Math.random()*60, sphereSpace:200, unitTime:100, time:4000}
];
var textSetChangerIncrement = 0;
var textSetChanger = function() {
setTimeout(function() {
textChanger(
textSet[textSetChangerIncrement].text,
textSet[textSetChangerIncrement].sphereRadius,
textSet[textSetChangerIncrement].sphereSpace,
textSet[textSetChangerIncrement].unitTime
);
textSetChangerIncrement++;
if(textSetChangerIncrement == textSet.length) {
textSetChangerIncrement = 0;
};
textSetChanger();
}, textSet[textSetChangerIncrement].time);
};
var vibrateCV = new closeValue(200, 500);
var invertCV = new closeValue(1000, 1200);
var start = function() {
setup();
setInterval(function() {
if(vibrateCV.execution() > 0.8) {
vibrateFlag = true;
} else {
vibrateFlag = false;
};
if(invertCV.execution() > 0.7) {
strokeColor = "rgba(0,0,0,0.1)";
backgroundColor = "rgba(255,255,255,1)";
} else {
strokeColor = "rgba(255,255,255,0.1)";
backgroundColor = "rgba(0,0,0,1)";
};
ctx.clearRect(0, 0, canvasWidth, canvasHeight);
ctx.fillStyle = backgroundColor;
ctx.fillRect(0, 0, window.innerWidth, window.innerHeight);
ctx.strokeStyle = strokeColor;
update();
draw();
}, 1000/60);
textSetChanger();
};
document.body.onmousemove = function(e) {
camera.rotate.x = e.pageY/window.innerHeight * 180 - 90;
camera.rotate.y = e.pageX/window.innerWidth * 180 - 90;
document.onmousedown = function() {camera.zoom = Math.random()*1+1};
document.onmouseup = function() {camera.zoom = 1};
};
* {margin:0;}
body {background:#000000;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment