Skip to content

Instantly share code, notes, and snippets.

@ohmygodwin
ohmygodwin / dabblet.css
Last active December 16, 2015 18:08 — forked from anonymous/dabblet.css
trapezoid
/**
* Rounded Trapezoid
*/
span {
display: block;
z-index: 1;
position: relative;
/* set trapezoid size */
@ohmygodwin
ohmygodwin / dabblet.css
Created May 2, 2013 13:56
Color Calculator
/**
* Color Calculator
*/
.center {
top:50%;
left:50%;
}
/**
* tic tac toe
*/
.new {
font:30px helvetica,sans-serif;
color: white;
width: 308px;
height: 100px;
border-width: 1px;
@ohmygodwin
ohmygodwin / dabblet.css
Created May 8, 2013 15:30
Project Euler Problem 1
/**
* Project Euler Problem 1
*/
h1 {
padding: 50px;
font:30px helvetica,sans-serif;
}
@ohmygodwin
ohmygodwin / dabblet.css
Created May 8, 2013 19:52
Project Euler Problem 2
/**
* Project Euler Problem 2
*/
h1 {
padding: 50px;
font:30px helvetica,sans-serif;
}
@ohmygodwin
ohmygodwin / native_bandcamp
Created September 7, 2013 19:18
music player code for native.fm
<iframe style="border: 0; width: 100%; height: 120px;" src="http://bandcamp.com/EmbeddedPlayer/album=1743812063/size=medium/bgcol=ffffff/linkcol=e86243/transparent=true/" seamless><a href="http://meau.bandcamp.com/album/good-kopp-bad-kopp">Good Kopp Bad Kopp by Koppen</a></iframe>
@ohmygodwin
ohmygodwin / pattern3.java
Last active December 22, 2015 16:48
ICM week 1
int radius = 50;
void setup() {
size(700, 300);
}
void pattern() {
noStroke();
fill(148, 140, 68, 230);
@ohmygodwin
ohmygodwin / SquareSpin.java
Last active December 23, 2015 18:59
Week III of ICM
int count = 0;
SquareSpin[] square = new SquareSpin[300];
void setup() {
size(662, 300);
for (int a = -320; a <= 320; a = a + 40) {
for (int b = -320; b <= 320; b = b + 40) {
square[count] = new SquareSpin(a, b);
count++;
}
@ohmygodwin
ohmygodwin / static.java
Created September 30, 2013 17:20
a static-y animation made in processing
float bbycircle;
float bbycircle2;
float radius;
float gray;
void setup() {
size(662, 300);
}
void draw() {
@ohmygodwin
ohmygodwin / bouncingball.java
Last active December 24, 2015 07:59
i created a pattern animation with a simple bouncing ball algorithm!
float bbycircle;
float bbycircle2;
float speed = 6;
float speed2 = 12;
void setup() {
size(662, 304);
background(255);
}