mirror of https://github.com/espruino/BangleApps
boldclk: Tweak for more efficient rendering, and firmware 2v06
parent
e295f91bc4
commit
56ce4c30e1
|
@ -882,7 +882,7 @@
|
||||||
{ "id": "boldclk",
|
{ "id": "boldclk",
|
||||||
"name": "Bold Clock",
|
"name": "Bold Clock",
|
||||||
"icon": "bold_clock.png",
|
"icon": "bold_clock.png",
|
||||||
"version":"0.02",
|
"version":"0.03",
|
||||||
"description": "Simple, readable and practical clock",
|
"description": "Simple, readable and practical clock",
|
||||||
"tags": "clock",
|
"tags": "clock",
|
||||||
"type":"clock",
|
"type":"clock",
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
0.02: Modified for use with new bootloader and firmware
|
0.02: Modified for use with new bootloader and firmware
|
||||||
|
0.03: Tweak for more efficient rendering, and firmware 2v06
|
||||||
|
|
|
@ -16,11 +16,11 @@ const clock_center = {x:Math.floor((240-1)/2), y:24+Math.floor((239-24)/2)};
|
||||||
// ={ x: 119, y: 131 }
|
// ={ x: 119, y: 131 }
|
||||||
const radius = Math.floor((239-24+1)/2); // =108
|
const radius = Math.floor((239-24+1)/2); // =108
|
||||||
|
|
||||||
let tick0 = Graphics.createArrayBuffer(30,8,1);
|
let tick0 = Graphics.createArrayBuffer(30,8,1,{msb:true});
|
||||||
tick0.fillRect(0,0,tick0.getWidth()-1, tick0.getHeight()-1);
|
tick0.fillRect(0,0,tick0.getWidth()-1, tick0.getHeight()-1);
|
||||||
let tick5 = Graphics.createArrayBuffer(20,6,1);
|
let tick5 = Graphics.createArrayBuffer(20,6,1,{msb:true});
|
||||||
tick5.fillRect(0,0,tick5.getWidth()-1, tick5.getHeight()-1);
|
tick5.fillRect(0,0,tick5.getWidth()-1, tick5.getHeight()-1);
|
||||||
let tick1 = Graphics.createArrayBuffer(8,4,1);
|
let tick1 = Graphics.createArrayBuffer(8,4,1,{msb:true});
|
||||||
tick1.fillRect(0,0,tick1.getWidth()-1, tick1.getHeight()-1);
|
tick1.fillRect(0,0,tick1.getWidth()-1, tick1.getHeight()-1);
|
||||||
|
|
||||||
function big_wheel_x(angle){
|
function big_wheel_x(angle){
|
||||||
|
|
Loading…
Reference in New Issue