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
// 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: |
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
// Create a symmetrical diamond shaped (sideways square) snowflake. | |
// 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. | |
// Save as animated GIF |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = true; | |
// The time between GIF frames | |
int frameDelay = 60; |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = false; | |
// The time between GIF frames | |
int frameDelay = 60; |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = false; | |
// The time between GIF frames | |
int frameDelay = 60; |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = true; | |
// The time between GIF frames | |
int frameDelay = 50; |
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
/* | |
~~ Snowball Poem ~~ | |
Snowball (also called a Chaterism): A poem in which each line is a single word, | |
and each successive word is one letter longer. One of the constrained writing | |
techniques invented by the Oulipo (Workshop of Potential Literature). | |
~~ Program Description ~~ | |
This program takes input from the file "input-raw.txt". It examines the file for |
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
// | |
// ASCII 3D | |
// | |
// Idea by Sean Howard: | |
// http://www.squidi.net/three/entry.php?id=83 | |
// | |
// Prototype code by Paul Thompson | |
// | |
//////////////////////////////////////////////////////////////////////////////// |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = false; | |
int gifFrameDelay = 180; | |
int gifFrameCount = 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
#!/bin/bash | |
# http://www.independent.co.uk/news/uk/politics/house-of-lords-is-no-longer-a-place-for-fine-dining-peers-gripe-9102580.html | |
places=( | |
"House of Lords" | |
"Angel of the North" | |
"Jubilee Line" | |
"Wembley Stadium" | |
"Canterbury Cathedral" | |
"Bridge on the River Kwai" |
OlderNewer