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
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Nov 01 19:39:44 2014 | |
@author: Peter Farrell | |
Simulation of world, navigating by arrow buttons! | |
""" | |
#from future import __division__ | |
from visual import * | |
import random |
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
//Bees and Bombs | |
//Sept. 26, 2018 | |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} |
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
'''From 1to9puzzle Twitter post | |
https://twitter.com/1to9puzzle/status/1162035008749445120 | |
August 15, 2019''' | |
import copy | |
import time | |
import random | |
starttime = time.time() |
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
/* Copy of Bees and Bombs' sketch | |
https://twitter.com/beesandbombs/status/881857295008882689 | |
*/ | |
var b = 0; //counter for rotation | |
var sz = 500; //size of triangle | |
var linelist = []; | |
var side = 1; //side that's being drawn | |
function setup(){ | |
createCanvas(600,600); |
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
/* Copy of Bees and Bombs' sketch | |
https://twitter.com/beesandbombs/status/881857295008882689 | |
*/ | |
var b = 0; //counter for rotation | |
var sz = 500; //size of triangle | |
var linelist = []; | |
var side = 1; //side that's being drawn | |
function setup(){ | |
createCanvas(600,600); |