not sure what this is, I think I was trying to figure out what a dot product is
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 gifAnimation.*; | |
| GifMaker gifExport; | |
| int loopFrames = 60; | |
| PVector maskOrigin; | |
| Float maskWidth = 250.0; | |
| float orbitWidth = 100.0; | |
| void setup() { | |
| gifExport = new GifMaker(this, "export.gif", 30); |
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 themidibus.*; | |
| MidiBus myBus; | |
| int y = 0; | |
| int vel = 0; | |
| void setup() { | |
| size(1024, 768); | |
| background(0); | |
| myBus = new MidiBus(this, 0, -1); |
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
| void setup() { | |
| size(500, 500); | |
| smooth(); | |
| background(255); | |
| stroke(0); | |
| strokeWeight(1); | |
| HashMap productions = new HashMap(); | |
| productions.put('F', "F-F+F+FF-F-F+F"); | |
| String axiom = "F-F-F-F"; |
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
| package main | |
| import ( | |
| "bufio" | |
| "errors" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
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
| // number of the device to open (see: chuck --probe) | |
| 0 => int device; | |
| // the midi event | |
| MidiIn min; | |
| // the message for retrieving data | |
| MidiMsg msg; | |
| // open the device | |
| if(!min.open(device)) { |
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
| package main | |
| /* | |
| #cgo CFLAGS: -x objective-c | |
| #cgo LDFLAGS: -framework Cocoa | |
| #import <Cocoa/Cocoa.h> | |
| int | |
| StartApp(void) { | |
| [NSAutoreleasePool new]; |
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 rectSize = 30; | |
| int numRects = 40; | |
| float outerRadius = 120; | |
| int aframes = 140; | |
| boolean SAVE_FRAMES = true; | |
| 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
| global tempo | |
| set tempo to 120 | |
| --establish quarter note delay time | |
| global q | |
| set q to 60 / tempo | |
| --establish eighth note delay time | |
| global e | |
| set e to q / 2 |
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
| # sleepy flower girl | |
| (◡ ‿ ◡ ✿) | |
| # y u no | |
| ლ(ಠ益ಠლ) | |
| # smiling breasts | |
| (^人^) | |
| # flipping tables |