This file contains hidden or 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
| function updateDisplay(gui) { | |
| for (var i in gui.__controllers) { | |
| gui.__controllers[i].updateDisplay(); | |
| } | |
| for (var f in gui.__folders) { | |
| console.log("🚀 ~ gui.__folders", gui.__folders) | |
| updateDisplay(gui.__folders[f]); | |
| } | |
| } |
This file contains hidden or 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
| function translate3d(dom,x,y,z){ | |
| dom.style.transform = "translate3d("+x+","+y+","+z+")"; | |
| } |
This file contains hidden or 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
| <body onselectstart="return false"> |
This file contains hidden or 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
| <?php | |
| $to = 'heowongeun@gmail.com'; | |
| $name = $_POST['name']; | |
| $company = $_POST['company']; | |
| $email = $_POST['email']; | |
| // Email Submit | |
| // Note: filter_var() requires PHP >= 5.2.0 |
This file contains hidden or 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
| var interval = 1000/30; | |
| var then = Date.now(); | |
| var startTime = then; | |
| var elapsed; | |
| var frameCount = 0; | |
| function animate(){ | |
| now = Date.now(); | |
| elapsed = now - then; |
This file contains hidden or 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
| var frameW = this.compareTargetInfo.width, | |
| frameH = this.compareTargetInfo.height, | |
| aspect = this.targetInfo.aspect, | |
| targetCss = this.targetInfo.css; | |
| if(frameW/aspect < frameH){ | |
| targetCss.width = frameH*aspect; | |
| targetCss.height = frameH; | |
| }else{ | |
| targetCss.width = frameW; |
This file contains hidden or 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
| stats = new Stats(); | |
| stats.domElement.style.position = 'absolute'; | |
| stats.domElement.style.top = '0px'; | |
| document.body.appendChild(stats.domElement); | |
| stats.update(); |
This file contains hidden or 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
| function getRandomImage(tags,callBack){ | |
| $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?", | |
| { tags: tags,tagmode: "any",format: "json" }, | |
| function(data) { | |
| var rnd = Math.floor(Math.random() * data.items.length); | |
| var imgs = []; | |
| for(var i=0; i<data.items.length; i++){ | |
| var url = data.items[i].media.m.replace('_m','_b'); | |
| imgs.push(url); | |
| // var img = document.createElement("img"); |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="initial-scale=1"> | |
| <meta name="description" content=""> | |
| <meta name="copyright" content="" /> | |
| <meta name="description" content="" /> |
This file contains hidden or 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
| )', |
NewerOlder