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
| --# Main | |
| -- Formation | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| physics.gravity(0,0) | |
| touches = {} | |
| items = {} | |
| ships = {} |
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
| --# Main | |
| -- IsoSphere | |
| -- Use this function to perform your initial setup | |
| function setup() | |
| parameter.integer("Divisions", 0,5,1, createSphere) | |
| parameter.number("H",-10,10,0) | |
| R = 0 | |
| end |
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
| --# Main | |
| -- Grass | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| R,H = 40,1 | |
| base = mesh() | |
| base.vertices = { | |
| vec3(-1,0,-1), vec3(1,0,-1), |
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
| --# Main | |
| -- Slices | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| parameter.number("Limit",0,1,.1) | |
| parameter.integer("LowSlice",-80,80,-80) | |
| parameter.integer("HighSlice",-80,80,80) | |
| R = 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
| // | |
| // ImageTools.h | |
| // FaceDetection | |
| // | |
| // Created by Tobias Teleman on fredag 12 april 2013 | |
| // Copyright (c) Tobias Teleman. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
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
| --# Main | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| sky = Skybox() | |
| forward, right, up = vec3(0,0,-1), vec3(1,0,0), vec3(0,1,0) | |
| rays = {} | |
| -- creating some random triangles to hit | |
| tris = {} |
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
| --# Main | |
| -- Terrain | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| forward, right, up = vec3(0,0,1), vec3(-1,0,0), vec3(0,1,0) | |
| t = Terrain() | |
| A = 0 | |
| end |
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
| --# Main | |
| -- Terrain | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| forward, right, up = vec3(0,0,1), vec3(-1,0,0), vec3(0,1,0) | |
| pos = vec3(0,100,0) | |
| t = Terrain() | |
| A = 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
| --# Main | |
| -- Infinite Grid | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| g = Grid() | |
| end | |
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
| --# Main | |
| function setup() | |
| parameter.boolean("FILL") | |
| parameter.integer("RANGE", 1,20,3) | |
| parameter.boolean("LINE") | |
| parameter.boolean("FOV") | |
| parameter.boolean("MOVE") | |
| hs = Hexagons():createMesh():set(0,0,color(207, 67, 67)) | |
| u = Unit(hs:pos(0,0)) |