#About exampleName
###Learning Objectives
This openFrameworks Example is designed to demonstrate ...
- How to ...
- The ability of openFrameworks to ...
| // Processing 3.0x code to demonstrate seamless loop of 1D noise | |
| // Inspired by, and created in support of: | |
| // "Drawing from noise, and then making animated loopy GIFs from there" by Etienne Jacob (@n_disorder) | |
| // https://necessarydisorder.wordpress.com/2017/11/15/drawing-from-noise-and-then-making-animated-loopy-gifs-from-there/ | |
| // Note: this program has no dependencies, and does not require SimplexNoise. | |
| // Demo GIF: https://media.giphy.com/media/xUOxeU2ELSPeTbevle/giphy.gif or http://gph.is/2Ah5kqG | |
| PGraphics offscreenImg; | |
| float myScale = 0.01; | |
| float radius = 100.0; |
| var nElements = 7; | |
| var myCounter = 0; | |
| var ping = 0; | |
| function setup() { | |
| createCanvas(600, 500); | |
| } | |
| function draw() { | |
| background((255*(1-(ping*=0.95))), 255,255); |
| // A basic spring in Processing, based on: | |
| // Hooke's law: F = -kx | |
| // Newton's law: F = ma | |
| // For more examples, see this lecture: | |
| // http://cmuems.com/2015c/deliverables/deliverables-10/springs/ | |
| float restLength; | |
| float vx; | |
| float px; |
| float ideal[] = { | |
| 0.092, | |
| 0.518, | |
| 0.846, | |
| 1.000, | |
| 0.960, | |
| 0.850, | |
| 0.740, | |
| 0.640, | |
| 0.550, |
#About exampleName
###Learning Objectives
This openFrameworks Example is designed to demonstrate ...
| // Processing 3.0 program to load a folder of data files, containing colored 3D points. | |
| // The program outputs a folder of images (in "output/" folder) of the colored points. | |
| // Golan Levin (@golan), February 2016, written for Claire Hentschker | |
| // | |
| // The lines of the data files are in the format: | |
| // X Y Z R G B A B C | |
| // The data values are space-separated; see example file below. | |
| /* Sample data file: data/arcade_003251.txt: | |
| -33.92082214 -19.60678101 33.81335068 106 142 217 -0.517697 -0.204671 -0.830723 |
| //-------------------------------------------------------------- | |
| void ofApp::setup() { | |
| uarm.setup("/dev/tty.usbserial-A600CRMU", 9600); | |
| } | |
| //-------------------------------------------------------------- | |
| // x, y, z in cylindrical coordinates, handRot in degrees | |
| void ofApp::setArmTo(int x, int y, int z, int handRot, bool gripper) { | |
| // UArm expects 1 for an open gripper and 2 for a closed gripper | |
| gripper = (int)gripper + 1; |
| aerodrome | |
| animal_boarding | |
| animal_shelter | |
| arts_centre | |
| atm | |
| auditorium | |
| bank | |
| bar | |
| pub | |
| bench |
| Inspired and adapted from Quintessential Careers: | |
| Job-Seeker Action Verbs By Skills Sets | |
| http://www.quintcareers.com/ | |
| Administration and management | |
| advised | |
| approved | |
| authorized | |
| chaired | |
| consolidated |
| Ben Fry on the Infovis Pipeline: | |
| http://golancourses.net/2014/wp-content/uploads/2014/01/Screen-Shot-2014-01-23-at-6.43.44-AM-620x608.png | |
| Some Options for Scraping: | |
| Temboo: https://temboo.com/library/ | |
| Kimono Labs: http://www.kimonolabs.com/ | |
| Beautiful Soup: http://www.crummy.com/software/BeautifulSoup/bs4/doc/ | |
| Processing (XML, JSON) | |