Skip to content

Instantly share code, notes, and snippets.

@studioijeoma
studioijeoma / pjs_cube_pyramid_light_test
Created August 29, 2011 19:47
PJS Cube vs Pyramid Lighting Test
<html>
<head>
<title>Cube vs Pyramid Lighting Test</title>
<script type="text/javascript" src="http://processingjs.org/content/download/processing-js-1.3.0/processing-1.3.0.js"></script>
</head>
<body>
<canvas id="pjsCanvas"></canvas>
<script type="text/javascript">
(function() {
var canvas = document.getElementById('pjsCanvas');
@studioijeoma
studioijeoma / PJS_OPENGL_PGraphics_Test
Created August 29, 2011 22:00
PJS OPENGL PGraphics Test
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Cube vs Pyramid Lighting Test</title>
<script type="text/javascript" src="http://processingjs.org/content/download/processing-js-1.3.0/processing-1.3.0.js"></script>
</head>
<body>
<canvas id="pjsCanvas"></canvas>
<script type="text/javascript">
(function() {
@studioijeoma
studioijeoma / WebGL_Canvas_Texture_Text_Example.html
Created September 1, 2011 18:47
Three.js WebGL Canvas Texture Text Example
<!doctype html>
<html>
<head>
<title>Three.js : WebGL Canvas Texture Text Example</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
body {
@studioijeoma
studioijeoma / gist:1188138
Created September 2, 2011 08:01
flexmotion
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>d3 load treemap json</title>
<meta charset="utf-8">
<style type="text/css">
body {
font-family:Monospace;
background-color:#f0f0f0;
margin:0px;
@studioijeoma
studioijeoma / gist:1189773
Created September 2, 2011 20:16
three.js canvas line gridlayout
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>three.js canvas line gridlayout</title>
<meta charset="utf-8">
<style type="text/css">
body {
font-family:Monospace;
background-color:#000000;
margin:0px;
@studioijeoma
studioijeoma / webgl_canvastext_billboarding.html
Created September 3, 2011 02:04
three.js webgl - canvas text billboarding
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>three.js webgl - canvas text billboarding</title>
<meta charset="utf-8">
<style type="text/css">
body {
font-family:Monospace;
background-color:#000000;
margin:0px;
@studioijeoma
studioijeoma / gist:1695886
Created January 28, 2012 21:55
WheelsOfSteel.pde
import java.util.ArrayList;
float sampleRate;
ArrayList<Float> ttPositions = new ArrayList<Float>();
int ttPositionIndex;
float ttPosition, pttPosition;
@studioijeoma
studioijeoma / WheelsOfSteel.pjs
Created January 28, 2012 21:57
WheelsOfSteel.pjs
// Generated by the Processing.js exporter for Processing IDE.
// https://github.com/fjenett/processingjstool
// this code was autogenerated from PJS
(function($p) {
var sampleRate = 0;
$p.ArrayList<Float> ttPositions = new $p.ArrayList<Float>();
var ttPositionIndex = 0;
#include "cinder/app/AppBasic.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Fbo.h"
#include "cinder/gl/Texture.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class MirroredFboApp : public AppBasic {
@studioijeoma
studioijeoma / Tween_Vec3D.pde
Created May 8, 2013 14:30
Tweening Toxiclibs Vec3D with ijeomamotion using the IProperty interface
import ijeoma.motion.Motion;
import ijeoma.motion.tween.Tween;
import toxi.geom.Vec3D;
Tween t;
PFont f;
Vec3D v1, v2;