- Tesla, Inc. Was founded on July 1, 2003, by Elon Musk, Martin Eberhard, [JB Straubel](https://www.google.com/search?client=firefox-b-d&sxsrf=AOaemvIGgoBfaynnDS0mQnYXY6L7nJEHiA:1639279449746&q=JB+Straubel&stick=H4sIAAAAAAAAAOPgE-LUz9U3SCmyNEhR4gIxjaosjIpztNSzk630k0qLM_NSi4vhjPj8gtSixJLM_DyrtPzSvJTUokWs3F5OCsElRYmlSak5O1gZAUNZepJ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Dubiously created by Adrian Cooney | |
* http://dunxrion.github.io | |
*/(function(e){"use strict";function n(e,t){return{string:"+",style:"font-size: 1px; padding: "+Math.floor(t/2)+"px "+Math.floor(e/2)+"px; line-height: "+t+"px;"}}function r(e,t,n,r,o){n=n.toUpperCase();if(n.length<24){var u=Math.max(0,n.length-12),a=70+u*-3;i(e,a,n,r/2,o)}else if(n.length<29)i(e,40,n,r/2,o);else{var f=s(n,27);f.forEach(function(n,s){i(e,40,n,r/2,t=="lower"?o-(f.length-1)*40+s*40:o+s*40)})}}function i(e,t,n,r,i){e.font="bold "+t+"px Impact";e.fillStyle="#fff";e.textAlign="center";e.textBaseline="middle";e.lineWidth=7;e.strokeStyle="#000";e.strokeText(n,r,i);e.fillText(n,r,i)}function s(e,t){var n=[],r=e.split(" "),i=[];for(var s=0,o=r.length;s<o;s++)if((i+r[s]).length<t)i.push(r[s]);else{n.push(i.join(" "));i.length=0;i.push(r[s])}n.push(i.join(" "));return n}var t={"10 Guy":"//i.imgur.com/LaENqOV.jpg","3rd World Success Kid":"//i.imgur.com/WA5duA1.jpg","90's Problems":"//i.imgur.com/tL47qtp.jpg","Aaand It's Gone":"//i.im |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WebGL Renderer | |
{ | |
this.renderer = new WebGLRenderer({antialias: true}); | |
this.renderer.name = "Renderer"; | |
// this.renderer.setClearColor(0x888888); | |
this.renderer.setPixelRatio(window.devicePixelRatio); | |
this.renderer.setSize(this.sceneSpace.clientWidth, this.sceneSpace.clientHeight); | |
this.renderer.outputEncoding = sRGBEncoding; | |
this.renderer.shadowMap.enabled = true; | |
this.renderer.shadowMap.type = PCFSoftShadowMap; |