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
function PoseVisualizer(el, width, height) { | |
this.el = el; | |
this.scene = new THREE.Scene(); | |
this.camera = camera = new THREE.PerspectiveCamera( 45, width/height, 1, 10000 ); | |
this.camera.position.z = 1000; | |
this.camera.position.y = 500; | |
this.camera.lookAt( new THREE.Vector3(0, 0, 0) ); |
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
class Game(AnimationClass): | |
def __init__: | |
self.gameObjects = ... | |
def onTimerFired: | |
for obj in self.gameObjects: | |
obj.update() | |
for otherObj in self.gameObjects: | |
if obj == otherObj: continue | |
if obj.collide(otherObj): |
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
class Vector(object): | |
def __init__(self, components): | |
self.components = components | |
self.dims = len(components) | |
def __add__(self, other): | |
self._check_dims(other) | |
return self.__class__([comp1 + comp2 for comp1, comp2 in zip(self.components, other.components)]) | |
def __sub__(self, other): |
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
module ActiveRecord | |
class Schema | |
def self.define(options, &block) | |
instance_eval(&block) | |
end | |
def self.create_table(name, opts, &block) | |
yield StringLogger.new name | |
end | |
def self.method_missing(method, *args, &block) |
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
- Finish volunteer form stuff | |
- Multipage volunteer form | |
- Check links on registration index page | |
- Editing for registrations |