Skip to content

Instantly share code, notes, and snippets.

View PostArchitekt's full-sized avatar

Dale Adams PostArchitekt

View GitHub Profile
void saveVector() {
PGraphics tmp = null;
if (record) {
tmp = beginRecord(PDF, "render-######.pdf");
}
if (tmp == null) {
H.drawStage();
// Create a symmetrical diamond shaped (sideways square) "snowflake".
// This can be rotated 45° to make a square.
// Create 1/8th of the shape and reflect that for the remaining 7/8ths.
// Make it a repeatable function with a parameter for the center XY.
// New pattern generated on key press.
// Animated GIF generated and saved on form unload.
// ToDo: Store as class? Then it would be copyable...
// Keys:
@PostArchitekt
PostArchitekt / gist:4008279
Created November 3, 2012 18:56
Processing Enabled, No Output Issue #16
toDo
@PostArchitekt
PostArchitekt / AntBuildFail.txt
Created November 3, 2012 07:54
Processing Enabled, No Output Issue #16
dzs-mac-attax-2:Contents Dz$ ant
Buildfile: /Users/Dz/Field/Contents/build.xml
build_apt:
[mkdir] Created dir: /Users/Dz/Field/Contents/core/.apt_generated
[apt] /Users/Dz/Field/Contents/build.xml:27: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Compiling 751 source files to /Users/Dz/Field/Contents/core/.apt_generated
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.