This file contains hidden or 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
| float[] x = new float[50]; | |
| float[] y = new float[50]; | |
| void setup() { | |
| size(450,450); | |
| smooth(); | |
| noStroke(); | |
| // reset all the numbers in both arrays | |
| for(int i = 0; i<x.length; i++) { |
This file contains hidden or 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
| import de.looksgood.ani.*; | |
| float x, y, diameter; | |
| AniSequence sequence; | |
| void setup() { | |
| size(512,512); | |
| smooth(); | |
| noStroke(); | |
| textAlign(CENTER); |
This file contains hidden or 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
| import ddf.minim.analysis.*; | |
| import ddf.minim.*; | |
| Minim minim; | |
| AudioPlayer jingle; | |
| FFT fftLin; | |
| PFont font; | |
| void setup() |
This file contains hidden or 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
| function onOpen() { | |
| var menuEntries = [ {name: "Create Diary Doc from Sheet", functionName: "createDocFromSheet"}]; | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| ss.addMenu("Fitness Diaries", menuEntries); | |
| } | |
| function createDocFromSheet(){ | |
| var templateid = "1O4afl8SZmMxMFpAiN16VZIddJDaFdeRBbFyBtJvepwM"; // get template file id | |
| var FOLDER_NAME = "Fitness Diaries"; // folder name of where to put completed diaries | |
| // get the data from an individual user |
This file contains hidden or 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
| PShape starcubes; | |
| float delta = 0.0; | |
| void setup() { | |
| size(640, 360, P3D); | |
| starcubes = loadShape("scificubes.obj"); | |
| } | |
| void draw() { | |
| background(102); |
This file contains hidden or 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
| /** | |
| * Ignore Styles. | |
| * Illustration by George Brower. | |
| * | |
| * Shapes are loaded with style information that tells them how | |
| * to draw (the color, stroke weight, etc.) The disableStyle() | |
| * method of PShape turns off this information. The enableStyle() | |
| * method turns it back on. | |
| */ |
This file contains hidden or 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
| int square_top_x = 10; | |
| int square_top_y = 20; | |
| int square_bot_x = 100; | |
| int square_bot_y = 200; | |
| void setup() | |
| { | |
| size(500, 500); | |
| } |
This file contains hidden or 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
| float circle_size = 50; | |
| void setup() | |
| { | |
| size(600, 600); | |
| } | |
| void draw() | |
| { | |
| background(0); |
This file contains hidden or 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
| <html> | |
| <head> | |
| <script> | |
| var ARIS = {}; | |
| </script> | |
| </head> | |
| <body> | |
| <div> | |
| <button id="giveWinToken">You Win X!</button> | |
| </div> |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>name</key> | |
| <string>Monokai</string> | |
| <key>settings</key> | |
| <array> | |
| <dict> | |
| <key>settings</key> |