mirror of
https://github.com/opus-tango/B12NumbersV3.git
synced 2026-03-20 12:05:21 +00:00
First file commit
This commit is contained in:
33
B12NumbersV3/B12NumbersV3.pde
Normal file
33
B12NumbersV3/B12NumbersV3.pde
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
B12NumbersV3
|
||||
Beta version of a clock in base 12.
|
||||
by Nayan Sawyer
|
||||
started Mar 2022
|
||||
version 0.1.2 April 4 2022
|
||||
|
||||
Characters are a variation of Kaktovik Inupiaq numerals
|
||||
reversed and in base 12 instead of 20. I take no credit
|
||||
for the design.
|
||||
*/
|
||||
|
||||
public static int DECIMAL = 65;
|
||||
|
||||
Clock clock;
|
||||
|
||||
void setup(){
|
||||
size(400,400);
|
||||
clock = new Clock(new STime48());
|
||||
println("waiting");
|
||||
}
|
||||
|
||||
void draw(){
|
||||
background(196);
|
||||
translate(width/2,height/2);
|
||||
scale(1);
|
||||
point(0,0);
|
||||
clock.display();
|
||||
}
|
||||
|
||||
void mouseClicked(){
|
||||
clock.setTime(new Time48(16,0,0));
|
||||
}
|
||||
Reference in New Issue
Block a user