4 Commits

Author SHA1 Message Date
61616
19d7c18233 removed source code archive 2022-05-21 19:35:48 -04:00
61616
84aa477af9 1.0.0.1 - fixed timer end message 2022-05-21 19:33:47 -04:00
Nayan Sawyer
0a7a63c3ba update readme 2022-05-20 16:53:20 -04:00
Nayan Sawyer
1a90ebec25 update readme 2022-05-20 16:52:43 -04:00
5 changed files with 28 additions and 9 deletions

View File

@@ -1,3 +1,16 @@
/**
* Nayan Sawyer ns9573@bard.edu
* May 21 2022
* CMSC 141
* Final Project: Base 12 Toolkit
*
* Comments/Reflections: The calculator uses B12Expression, MathPad, B12Button, and MathDisplay.
* The clock app uses Clock, Stopwatch, Timer, and TimeDisplay
*
* Collaboration Statement: I used the processing docs, method relay code by Quark - see https://forum.processing.org/two/discussion/13093/how-to-call-function-by-string-content.html
* and the exp4j library see - https://www.objecthunter.net/exp4j/index.html
*/
import net.objecthunter.exp4j.*; // Math expression evaluation library
// B12NumbersV3 //

View File

@@ -24,7 +24,7 @@ class MathPad{
}
void initialize(){
private void initialize(){
buttons = new Button[0];
// Create numpad buttons
for(int i = 0; i < 12; i++){

View File

@@ -35,7 +35,7 @@ class Timer{
Timer setPos(PVector _pos){pos = _pos.copy(); initialize(); return this;}
Timer setPos(float x, float y){pos = new PVector(x,y); initialize(); return this;}
void initialize(){
private void initialize(){
buttons = new Button[0];
td.setPos(pos.x + 13*4 + 2,pos.y-2);
// Create numpad buttons
@@ -119,11 +119,11 @@ class Timer{
colorMode(RGB,255);
fill(255,0,0);
rectMode(CORNERS);
rect(-13*5,-20,13*5,0);
rect(pos.x - 13*5,pos.y - 20,pos.x + 13*5,pos.y);
fill(0);
textSize(16);
textAlign(CENTER,BOTTOM);
text("Timer Done!",0,0);
text("Timer Done!",pos.x,pos.y);
}
}
}

View File

@@ -3,7 +3,7 @@
Beta version of a clock in base 12.
by Nayan Sawyer
started Mar 2022
version 1.0.0.0 May 20 2022
version 1.0.0.1 May 20 2022
Characters are a variation of Kaktovik Inupiaq numerals
reversed and in base 12 instead of 20. I take no credit
@@ -28,6 +28,12 @@
- Time48 does not check its inputs in some constructors
- renderPriority in Button is only half implemented
- negative signs when timer ends (not urgent)
- B12Digit.setValue() does not check input and only accepts ints
- B12Digit.getValue() returns int not byte
changelog 1.0.0.1
- Some bug fixes, made more things private, and fixed
timer
changelog 1.0.0.0
- Finished project to fully working state. Still lots of

View File

@@ -1,4 +1,6 @@
# B12NumbersBeta1
# B12NumbersV3
Release version 1.0.0.0 now available! see [releases](https://github.com/GShadow5/B12NumbersBeta1/releases) for a download
The characters are designed after the ingenious Kaktovik Iñupiaq numerals, which were created by a group of middle schoolers in Kaktovik Alaska, to represent the base 20 counting system in Iñupiaq, their Inuit language.
I take no credit for the design of the characters. I have merely co-opted the design for the development of this project because it is elegant and convenient to use for compound base number systems, and looks nothing like the Arabic numeral system.
@@ -11,6 +13,4 @@ The time system is now complete with robust syncing and offset features. The bas
Minutes: there are now 48 minutes in an hour
Seconds: there are now 48 seconds in a minute
The number system is such that horizontal ticks on top represent multiples of four, and vertical ticks represent multiples of one. Decimal 11 is 2 horizontal ticks, and 3 vertical ticks. However, since the project is in an alpha state, I will not go into great detail at this point.
The calculator input system is now working. For an early beta demo see [releases](https://github.com/GShadow5/B12NumbersBeta1/releases)
The number system is such that horizontal ticks on top represent multiples of four, and vertical ticks represent multiples of one. Decimal 11 is 2 horizontal ticks, and 3 vertical ticks.