mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
try fix for watch led
This commit is contained in:
parent
e51a452b6d
commit
bdb303e54f
@ -22,10 +22,10 @@
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.78337147"
|
||||
inkscape:cx="141.05696"
|
||||
inkscape:cx="123.18549"
|
||||
inkscape:cy="-38.934275"
|
||||
inkscape:window-width="1390"
|
||||
inkscape:window-height="1205"
|
||||
inkscape:window-height="847"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="0"
|
||||
@ -33,8 +33,8 @@
|
||||
<defs
|
||||
id="defs1415">
|
||||
<radialGradient
|
||||
id="Dégradé_sans_nom_3"
|
||||
data-name="Dégradé sans nom 3"
|
||||
id="red_gradient"
|
||||
data-name="red_gradient"
|
||||
cx="635"
|
||||
cy="687"
|
||||
fx="260.17514"
|
||||
@ -43,41 +43,116 @@
|
||||
<stop
|
||||
offset="0.28"
|
||||
stop-color="lime"
|
||||
id="stop1402" />
|
||||
id="stop1402"
|
||||
style="stop-color:#ff0000;stop-opacity:1;" />
|
||||
<stop
|
||||
offset="0.46"
|
||||
offset="0.46000001"
|
||||
stop-color="#00b200"
|
||||
stop-opacity="0.7"
|
||||
id="stop1404" />
|
||||
id="stop1404"
|
||||
style="stop-color:#b20000;stop-opacity:0.69999999;" />
|
||||
<stop
|
||||
offset="0.65"
|
||||
offset="0.64999998"
|
||||
stop-color="#006700"
|
||||
stop-opacity="0.4"
|
||||
id="stop1406" />
|
||||
id="stop1406"
|
||||
style="stop-color:#660000;stop-opacity:0.40000001;" />
|
||||
<stop
|
||||
offset="0.82"
|
||||
offset="0.81999999"
|
||||
stop-color="#002f00"
|
||||
stop-opacity="0.19"
|
||||
id="stop1408" />
|
||||
id="stop1408"
|
||||
style="stop-color:#2f0000;stop-opacity:0.18999998;" />
|
||||
<stop
|
||||
offset="0.94"
|
||||
stop-color="#000d00"
|
||||
stop-opacity="0.05"
|
||||
id="stop1410" />
|
||||
id="stop1410"
|
||||
style="stop-color:#0d0000;stop-opacity:0.05;" />
|
||||
<stop
|
||||
offset="1"
|
||||
stop-opacity="0"
|
||||
id="stop1412" />
|
||||
</radialGradient>
|
||||
|
||||
<filter id="ledcolor">
|
||||
<feColorMatrix in="SourceGraphic" type="matrix"
|
||||
values=" 0 0 0 0 0
|
||||
0 1 0 0 0
|
||||
0 0 0 0 0
|
||||
0 0 0 1 0 "/>
|
||||
|
||||
</filter>
|
||||
<radialGradient
|
||||
id="green_gradient"
|
||||
data-name="green_gradient"
|
||||
cx="635"
|
||||
cy="687"
|
||||
fx="260.17514"
|
||||
r="374.82999"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
offset="0.28"
|
||||
stop-color="lime"
|
||||
id="stop1333" />
|
||||
<stop
|
||||
offset="0.46"
|
||||
stop-color="#00b200"
|
||||
stop-opacity="0.7"
|
||||
id="stop1335" />
|
||||
<stop
|
||||
offset="0.65"
|
||||
stop-color="#006700"
|
||||
stop-opacity="0.4"
|
||||
id="stop1337" />
|
||||
<stop
|
||||
offset="0.82"
|
||||
stop-color="#002f00"
|
||||
stop-opacity="0.19"
|
||||
id="stop1339" />
|
||||
<stop
|
||||
offset="0.94"
|
||||
stop-color="#000d00"
|
||||
stop-opacity="0.05"
|
||||
id="stop1341" />
|
||||
<stop
|
||||
offset="1"
|
||||
stop-opacity="0"
|
||||
id="stop1343" />
|
||||
</radialGradient>
|
||||
<radialGradient
|
||||
id="blue_gradient"
|
||||
data-name="blue_gradient"
|
||||
cx="635"
|
||||
cy="687"
|
||||
fx="260.17514"
|
||||
r="374.82999"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
offset="0.28"
|
||||
stop-color="lime"
|
||||
id="stop1346"
|
||||
style="stop-color:#0000ff;stop-opacity:1;" />
|
||||
<stop
|
||||
offset="0.46000001"
|
||||
stop-color="#00b200"
|
||||
stop-opacity="0.7"
|
||||
id="stop1348"
|
||||
style="stop-color:#0000b2;stop-opacity:0.69999999;" />
|
||||
<stop
|
||||
offset="0.64999998"
|
||||
stop-color="#006700"
|
||||
stop-opacity="0.4"
|
||||
id="stop1350"
|
||||
style="stop-color:#000067;stop-opacity:0.40000001;" />
|
||||
<stop
|
||||
offset="0.81999999"
|
||||
stop-color="#002f00"
|
||||
stop-opacity="0.19"
|
||||
id="stop1352"
|
||||
style="stop-color:#00002f;stop-opacity:0.18999998;" />
|
||||
<stop
|
||||
offset="0.94"
|
||||
stop-color="#000d00"
|
||||
stop-opacity="0.05"
|
||||
id="stop1354"
|
||||
style="stop-color:#00000d;stop-opacity:0.05;" />
|
||||
<stop
|
||||
offset="1"
|
||||
stop-opacity="0"
|
||||
id="stop1356" />
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<g
|
||||
id="Calque"
|
||||
@ -152,7 +227,7 @@
|
||||
id="rect1430" />
|
||||
</g>
|
||||
<g
|
||||
id="light"
|
||||
id="red_light"
|
||||
style="opacity:0">
|
||||
<rect
|
||||
x="293.5"
|
||||
@ -160,10 +235,33 @@
|
||||
width="683"
|
||||
height="334"
|
||||
rx="34.68"
|
||||
style="fill:url(#D%C3%A9grad%C3%A9_sans_nom_3)"
|
||||
filter="url(#ledcolor)"
|
||||
style="fill:url(#red_gradient)"
|
||||
id="rect1433" />
|
||||
</g>
|
||||
<g
|
||||
id="green_light"
|
||||
style="opacity:0">
|
||||
<rect
|
||||
x="293.5"
|
||||
y="520"
|
||||
width="683"
|
||||
height="334"
|
||||
rx="34.68"
|
||||
style="fill:url(#green_gradient)"
|
||||
id="rect1375" />
|
||||
</g>
|
||||
<g
|
||||
id="blue_light"
|
||||
style="opacity:0">
|
||||
<rect
|
||||
x="293.5"
|
||||
y="520"
|
||||
width="683"
|
||||
height="334"
|
||||
rx="34.68"
|
||||
style="fill:url(#blue_gradient)"
|
||||
id="rect1378" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="Textes">
|
||||
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 77 KiB |
@ -1242,16 +1242,16 @@ var ASM_CONSTS = {
|
||||
5256698: ($0, $1) => { document.querySelectorAll("[data-com='" + $0 + "'][data-seg='" + $1 + "']") .forEach((e) => e.style.opacity = 0); },
|
||||
5256816: () => { document.querySelectorAll("[data-com][data-seg]") .forEach((e) => e.style.opacity = 0); },
|
||||
5256908: ($0, $1) => { const classList = document.querySelector('#btn' + $0).classList; const highlight = 'highlight'; $1 ? classList.add(highlight) : classList.remove(highlight); },
|
||||
5257069: ($0, $1) => { let filter = document.getElementById("ledcolor"); let color_matrix = filter.children[0].values.baseVal; color_matrix[1].value = $0 / 255; color_matrix[6].value = $1 / 255; document.getElementById('light').style.opacity = Math.min(255, $0 + $1) / 255; },
|
||||
5257324: () => { Module['audioContext'] = new (window.AudioContext || window.webkitAudioContext)(); },
|
||||
5257411: () => { if (Module['audioContext']) { Module['audioContext'].close(); Module['audioContext'] = null; } },
|
||||
5257510: ($0) => { const audioContext = Module['audioContext']; if (!audioContext) return; if (!(audioContext._oscillator && audioContext._gain)) { const oscillator = audioContext.createOscillator(); const gain = audioContext.createGain(); oscillator.type = 'triangle'; oscillator.connect(gain); gain.connect(audioContext.destination); oscillator.start(0); audioContext._oscillator = oscillator; audioContext._gain = gain; } audioContext._oscillator.frequency.value = 1e6/$0; audioContext._gain.gain.value = 1; },
|
||||
5258006: () => { const audioContext = Module['audioContext']; if (audioContext && audioContext._gain) { audioContext._gain.gain.value = 0; } },
|
||||
5258134: () => { return -new Date().getTimezoneOffset(); },
|
||||
5258178: () => { var len = lengthBytesUTF8(tx) + 1; var s = _malloc(len); stringToUTF8(tx, s, len); return s; },
|
||||
5258275: () => { tx = ""; },
|
||||
5258288: () => { return lat; },
|
||||
5258304: () => { return lon; }
|
||||
5257069: ($0, $1) => { document.getElementById('red_light').style.opacity = $0 / 255; document.getElementById('green_light').style.opacity = $1 / 255; document.getElementById('blue_light').style.opacity = 0 / 255; },
|
||||
5257264: () => { Module['audioContext'] = new (window.AudioContext || window.webkitAudioContext)(); },
|
||||
5257351: () => { if (Module['audioContext']) { Module['audioContext'].close(); Module['audioContext'] = null; } },
|
||||
5257450: ($0) => { const audioContext = Module['audioContext']; if (!audioContext) return; if (!(audioContext._oscillator && audioContext._gain)) { const oscillator = audioContext.createOscillator(); const gain = audioContext.createGain(); oscillator.type = 'triangle'; oscillator.connect(gain); gain.connect(audioContext.destination); oscillator.start(0); audioContext._oscillator = oscillator; audioContext._gain = gain; } audioContext._oscillator.frequency.value = 1e6/$0; audioContext._gain.gain.value = 1; },
|
||||
5257946: () => { const audioContext = Module['audioContext']; if (audioContext && audioContext._gain) { audioContext._gain.gain.value = 0; } },
|
||||
5258074: () => { return -new Date().getTimezoneOffset(); },
|
||||
5258118: () => { var len = lengthBytesUTF8(tx) + 1; var s = _malloc(len); stringToUTF8(tx, s, len); return s; },
|
||||
5258215: () => { tx = ""; },
|
||||
5258228: () => { return lat; },
|
||||
5258244: () => { return lon; }
|
||||
};
|
||||
|
||||
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user