Skip to content

Instantly share code, notes, and snippets.

Avatar
🙀
snafu

Andreas Köberle eskimoblood

🙀
snafu
View GitHub Profile
@eskimoblood
eskimoblood / index.html
Last active Dec 13, 2015
Flower of life
View index.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="https://raw.github.com/bestiejs/lodash/v1.0.0/dist/lodash.min.js"></script>
</head>
<body>
<script>
@eskimoblood
eskimoblood / NoiseWave.js
Created Aug 18, 2011
port of Noise Wave by Daniel Shiffman from processing to plask. Using Sean McCulloughs perlin noise implentation and convert it to work as commonJS module https://gist.github.com/304522 a
View NoiseWave.js
/**
* port of Noise Wave
* by Daniel Shiffman from processing to plask
*
* Using Perlin Noise to generate a wave-like pattern.
*/
var plask = require('plask');
var noise = require('./classicalNoise').noise;
@eskimoblood
eskimoblood / Additive Wave
Created Aug 16, 2011
Converting basic processing sketch by Daniel Shiffman to work with the plask JavaScript framework
View Additive Wave
/**
* Additive Wave
* by Daniel Shiffman.
*
* Create a more complex wave by adding two waves together.
*/
var plask = require('plask');
var xspacing = 8; // How far apart should each horizontal location be spaced
var w; // Width of entire wave
View processing template for eclispe
package ${enclosing_package};
import processing.core.*;
import processing.opengl.*;
import javax.media.opengl.GL;
public class ${primary_type_name} extends PApplet {
static public void main(String args[]) {
PApplet.main(new String[] { /* "--present", */ "${enclosing_package}.${primary_type_name}" });
@eskimoblood
eskimoblood / SunflowApiApi
Created Oct 25, 2010
Simple example of using SunflowApiApi with processing in eclipse
View SunflowApiApi
package yourPackage;
import java.awt.Color;
import org.sunflow.math.Point3;
import org.sunflow.math.Vector3;
import processing.core.*;
import sunflowapiapi.*;
You can’t perform that action at this time.