Skip to content

Instantly share code, notes, and snippets.

View hurry07's full-sized avatar

Jack hurry07

View GitHub Profile
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
canvas {
border: 1px solid #9C9898;
@hurry07
hurry07 / tools_01_ui.html
Created March 18, 2013 12:25
tool source
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
canvas {
border: 1px solid #9C9898;
/**
* Created with JetBrains WebStorm.
* User: lijie
* Date: 13-3-12
* Time: 下午6:12
* To change this template use File | Settings | File Templates.
*/
/**
* Created with JetBrains WebStorm.
* User: lijie
* Date: 13-3-12
* Time: 下午6:12
* To change this template use File | Settings | File Templates.
*/
/**
* Created with JetBrains WebStorm.
* User: lijie
* Date: 13-3-12
* Time: 下午6:09
* To change this template use File | Settings | File Templates.
*/
function createPlane(path) {
var texture = THREE.ImageUtils.loadTexture(path);
var material = new THREE.MeshLambertMaterial({map: texture });
<!DOCTYPE html>
<html>
<head>
<title>datasource visiul tool</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
color: #808080;
font-family:Monospace;
/**
* Created with JetBrains WebStorm.
* User: lijie
* Date: 13-3-12
* Time: 下午6:30
* To change this template use File | Settings | File Templates.
*/
var container, stats;
var camera, scene, renderer;
var start = Date.now();