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> | |
| <title>Getting started with Three.js : Part3</title> | |
| <link rel="stylesheet" type="text/css" href="css/style.css" /> | |
| <script src="libs/three.min.js"></script> | |
| <script src="libs/stats.min.js"></script> | |
| <script src="libs/Detector.js"></script> | |
| <script src="libs/loaders/BinaryLoader.js"></script> | |
| <script src="js/loader_bin.js"></script> |
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
| window.onload = function() { | |
| // detector | |
| if (!Detector.webgl) Detector.addGetWebGLMessage(); | |
| // main | |
| var container; | |
| var stats; | |
| var mouseX, mouseY; | |
| var camera, scene, renderer, light, sunLight; | |
| var cube; |
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> | |
| <title>Getting started with Three.js</title> | |
| <style> | |
| canvas { width: 100%; height: 100% } | |
| body {background: #333; overflow: hidden;} | |
| #info { color: #ff0; position: absolute; top: 10px; width: 100%; text-align: center; z-index: 100; display:block; } | |
| </style> | |
| </head> |
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
| package | |
| { | |
| import flash.display.BitmapData; | |
| import flash.display.Sprite; | |
| import flash.display.StageAlign; | |
| import flash.display.StageScaleMode; | |
| import flash.display3D.Context3D; | |
| import flash.display3D.Context3DTextureFormat; | |
| import flash.display3D.Context3DTriangleFace; | |
| import flash.display3D.IndexBuffer3D; |
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
| package | |
| { | |
| import flash.display.Bitmap; | |
| import flash.display.InteractiveObject; | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.events.MouseEvent; | |
| import flash.geom.Point; | |
| import flash.geom.Rectangle; | |
| import net.hires.debug.Stats; |
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
| package | |
| { | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.events.MouseEvent; | |
| import flash.geom.Point; | |
| import flash.geom.Rectangle; | |
| import net.hires.debug.Stats; | |
| import org.flintparticles.common.actions.Age; | |
| import org.flintparticles.common.actions.Fade; |
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
| package | |
| { | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.geom.Point; | |
| import flash.geom.Rectangle; | |
| import net.hires.debug.Stats; | |
| import org.flintparticles.common.counters.Steady; | |
| import org.flintparticles.common.displayObjects.RadialDot; | |
| import org.flintparticles.common.initializers.ImageClass; |
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
| package | |
| { | |
| import flash.display.Bitmap; | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| public class Main extends Sprite | |
| { | |
| static public const PIXEL_SIZE:uint = 10; |
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
| package | |
| { | |
| import flash.display.Sprite; | |
| import flash.events.MouseEvent; | |
| import iqcat.utility.TextUtils; | |
| /** | |
| * draw circle | |
| * @author jacky | |
| */ |
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
| package | |
| { | |
| import com.codeazur.as3swf.SWF; | |
| import f.events.LoadEvent; | |
| import f.net.Load; | |
| import flash.display.Loader; | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.utils.ByteArray; | |
| import iqcat.utility.ByteArrayUtils; |