Added blue colour theme and updated the documentation

pull/709/head
adrian w kirk 2021-03-26 02:27:24 +00:00
parent 90094e483f
commit e6522d58dc
2 changed files with 23 additions and 4 deletions

View File

@ -6,7 +6,18 @@ The Sweep Clock provides a clock with a perfectly smooth sweep second hand with
## Usage
Use Button 1 (the top right button) to change the numeral types (currently European and Roman)
Use Button 1 (the top right button) to change the numeral type
| Button 1 | | |
| ---- | ---- | ---- |
| <img src="./numeral-01.jpg" alt="Western" style="zoom:50%;" /> | <img src="./numeral-02.jpg" alt="Roman" style="zoom:50%;" /> | <img src="./numeral-03.jpg" alt="No Digits" style="zoom:50%;" /> |
Button 3 (bottom right button) is used to change the colour
| Button 3 | | |
| ---- | ---- | ---- |
| <img src="./color-01.jpg" style="zoom:50%;" /> | <img src="./color-02.jpg" style="zoom:50%;" /> | <img src="./color-03.jpg" style="zoom:50%;" /> |
## Further Details
@ -14,8 +25,8 @@ For further details of design and working please visit [The Project Page](https:
## Requests
[Reach out to Adrian](https://www.github.com/awkirk71) if you have feature requests or notice bugs.
Reach out to adrian@adriankirk.com if you have feature requests or notice bugs.
## Creator
Made by [Adrian Kirk](https://www.github.com/awkirk71).
Made by [Adrian Kirk](mailto:adrian@adriankirk.com)

View File

@ -5,7 +5,7 @@
*/
const screen_center_x = g.getWidth()/2;
const screen_center_y = g.getHeight()/2;
const screen_center_y = 10 + g.getHeight()/2;
require("FontCopasetic40x58Numeric").add(Graphics);
@ -41,6 +41,14 @@ const color_schemes = [
minute_hand: [1.0,1.0,1.0],
hour_hand: [1.0,1.0,1.0],
numeral:[1.0,1.0,1.0]
},
{
name: "blue",
background : [0.4,0.7,1.0],
second_hand: [0.5,0.5,0.5],
minute_hand: [1.0,1.0,1.0],
hour_hand: [1.0,1.0,1.0],
numeral:[1.0,1.0,1.0]
}
];