2017-08-22 02:49:35 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>intval 3</title>
|
2017-10-22 01:54:17 +00:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="format-detection" content="telephone=no">
|
2017-10-22 02:01:46 +00:00
|
|
|
<meta name = "viewport" content = "width = 320, initial-scale = 1.0, user-scalable = no">
|
2017-10-21 15:46:06 +00:00
|
|
|
<style>
|
|
|
|
html,body{
|
|
|
|
background: #212121;
|
2017-10-22 02:01:46 +00:00
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-10-21 15:46:06 +00:00
|
|
|
}
|
2017-10-22 01:54:17 +00:00
|
|
|
*{
|
|
|
|
color: #fff;
|
|
|
|
font-family: 'Arial Neue', Helvetical, Arial, sans-serif;
|
|
|
|
}
|
2017-10-22 02:01:46 +00:00
|
|
|
body{
|
|
|
|
}
|
2017-10-22 19:35:56 +00:00
|
|
|
#app,
|
|
|
|
#settings{
|
2017-10-24 00:54:03 +00:00
|
|
|
padding: 5px 10% 0 10%;
|
2017-10-22 02:13:38 +00:00
|
|
|
}
|
2017-10-22 19:35:56 +00:00
|
|
|
#settings{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#settings h2{
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2017-10-22 01:22:02 +00:00
|
|
|
/* The switch - the box around the slider */
|
|
|
|
.switch {
|
|
|
|
position: relative;
|
2017-10-22 02:17:32 +00:00
|
|
|
display: block;
|
2017-10-22 01:22:02 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 34px;
|
2017-10-22 02:17:32 +00:00
|
|
|
margin: 0 auto;
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide default HTML checkbox */
|
|
|
|
.switch input {display:none;}
|
|
|
|
|
|
|
|
/* The slider */
|
|
|
|
.slider {
|
2017-10-22 01:44:07 +00:00
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: #20ce45;
|
|
|
|
-webkit-transition: .4s;
|
|
|
|
transition: .4s;
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slider:before {
|
2017-10-22 01:44:07 +00:00
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
height: 26px;
|
|
|
|
width: 26px;
|
|
|
|
left: 4px;
|
|
|
|
bottom: 4px;
|
|
|
|
background-color: white;
|
|
|
|
-webkit-transition: .4s;
|
|
|
|
transition: .4s;
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + .slider {
|
2017-10-22 01:44:07 +00:00
|
|
|
background-color: #f32121;
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input:focus + .slider {
|
2017-10-22 02:13:38 +00:00
|
|
|
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + .slider:before {
|
2017-10-22 01:44:07 +00:00
|
|
|
-webkit-transform: translateX(26px);
|
|
|
|
-ms-transform: translateX(26px);
|
|
|
|
transform: translateX(26px);
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Rounded sliders */
|
|
|
|
.slider.round {
|
2017-10-22 01:44:07 +00:00
|
|
|
border-radius: 34px;
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slider.round:before {
|
2017-10-22 01:44:07 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2017-10-22 19:35:56 +00:00
|
|
|
input[type=number],
|
|
|
|
input[type=text],
|
2017-10-23 04:03:12 +00:00
|
|
|
input[type=password],
|
2017-10-22 19:35:56 +00:00
|
|
|
select{
|
2017-10-22 02:13:38 +00:00
|
|
|
width: 100%;
|
|
|
|
border: 2px solid #fff;
|
2017-10-22 01:44:07 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 18px;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
2017-10-22 02:41:58 +00:00
|
|
|
outline: none;
|
2017-10-22 01:54:17 +00:00
|
|
|
margin: 5px 0;
|
2017-10-22 02:01:46 +00:00
|
|
|
padding: 5px 10px;
|
|
|
|
box-sizing: border-box;
|
2017-10-22 01:44:07 +00:00
|
|
|
}
|
2017-10-22 19:35:56 +00:00
|
|
|
option{
|
|
|
|
color: #212121;
|
|
|
|
}
|
2017-10-22 01:44:07 +00:00
|
|
|
button{
|
2017-10-22 02:13:38 +00:00
|
|
|
width: 100%;
|
2017-10-22 02:01:46 +00:00
|
|
|
border: 2px solid #fff;
|
2017-10-22 01:44:07 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 18px;
|
|
|
|
background: transparent;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
box-shadow: none;
|
2017-10-22 01:54:17 +00:00
|
|
|
outline: none;
|
|
|
|
margin: 5px 0;
|
2017-10-22 02:01:46 +00:00
|
|
|
padding: 5px 0;
|
|
|
|
text-align: center;
|
2017-10-22 01:44:07 +00:00
|
|
|
}
|
|
|
|
button:focus{
|
|
|
|
background-color: #20ce45;
|
|
|
|
border-color: #20ce45;
|
2017-10-22 01:54:17 +00:00
|
|
|
color: #212121;
|
2017-10-22 02:13:38 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
#fwdLabel,#bwdLabel{
|
|
|
|
display: block;
|
|
|
|
line-height: 34px;
|
|
|
|
height: 33px;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
#fwdLabel.selected,
|
|
|
|
#bwdLabel.selected{
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
#fwdLabel{
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
#bwdLabel{
|
2017-10-22 02:17:32 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 10%;
|
2017-10-22 02:13:38 +00:00
|
|
|
}
|
|
|
|
.label{
|
2017-10-22 02:41:58 +00:00
|
|
|
text-align: center;
|
2017-10-22 02:13:38 +00:00
|
|
|
color: #666;
|
2017-10-24 13:56:59 +00:00
|
|
|
margin-top: 6px;
|
|
|
|
margin-bottom: 9px;
|
2017-10-22 01:22:02 +00:00
|
|
|
}
|
2017-11-21 18:50:01 +00:00
|
|
|
.icon{
|
|
|
|
|
2017-10-22 19:35:56 +00:00
|
|
|
}
|
2017-10-23 04:03:12 +00:00
|
|
|
#exposure,
|
|
|
|
#delay{
|
|
|
|
width: 70%;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
#scale,
|
|
|
|
#delayScale{
|
|
|
|
width: 25%;
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
#str{
|
|
|
|
color: #fff;
|
|
|
|
}
|
2017-10-24 00:54:03 +00:00
|
|
|
#counter{
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-10-21 15:46:06 +00:00
|
|
|
</style>
|
2017-08-22 02:49:35 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-10-22 02:01:46 +00:00
|
|
|
<div id="app">
|
2017-10-22 19:35:56 +00:00
|
|
|
<div>
|
|
|
|
<div class="label">Counter</div>
|
2017-10-24 00:41:28 +00:00
|
|
|
<input type="number" id="counter" oninput="setCounter();" value="0" step="1" />
|
2017-10-22 19:35:56 +00:00
|
|
|
</div>
|
2017-10-22 02:01:46 +00:00
|
|
|
<div>
|
2017-10-22 02:13:38 +00:00
|
|
|
<div class="label">Direction</div>
|
2017-10-22 02:17:32 +00:00
|
|
|
<span id="bwdLabel">BACKWARD</span>
|
2017-10-22 02:13:38 +00:00
|
|
|
<span id="fwdLabel" class="selected">FORWARD</span>
|
2017-10-22 02:41:58 +00:00
|
|
|
<label class="switch">
|
|
|
|
<input type="checkbox" id="dir" onclick="setDir();">
|
2017-10-22 02:01:46 +00:00
|
|
|
<span class="slider round"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div>
|
2017-10-23 04:17:02 +00:00
|
|
|
<div class="label">Exposure <span id="str">1/5</span></div>
|
2017-10-23 04:03:12 +00:00
|
|
|
<input type="number" id="exposure" value="630" min="0" oninput="setExposure();" />
|
|
|
|
<select id="scale" onchange="setExposureScale();">
|
|
|
|
<option value="ms" selected>ms</option>
|
|
|
|
<option value="sec">sec</option>
|
|
|
|
<option value="min">min</option>
|
|
|
|
<option value="hour">hour</option>
|
|
|
|
</select>
|
2017-10-22 02:01:46 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2017-10-23 04:03:12 +00:00
|
|
|
<div class="label">Delay</div>
|
2017-10-22 02:01:46 +00:00
|
|
|
<input type="number" id="delay" value="0" min="0" step="1" />
|
2017-10-23 04:03:12 +00:00
|
|
|
<select id="delayScale" onchange="setDelayScale();">
|
|
|
|
<option value="ms" selected>ms</option>
|
|
|
|
<option value="sec">sec</option>
|
|
|
|
<option value="min">min</option>
|
|
|
|
<option value="hour">hour</option>
|
|
|
|
</select>
|
2017-10-22 02:01:46 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2017-10-22 02:13:38 +00:00
|
|
|
<button id="seq">START SEQUENCE</button>
|
2017-10-22 02:01:46 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2017-10-22 02:13:38 +00:00
|
|
|
<button id="frame" onclick="frame();">FRAME</button>
|
2017-10-22 02:01:46 +00:00
|
|
|
</div>
|
2017-10-22 01:44:07 +00:00
|
|
|
</div>
|
2017-10-22 19:35:56 +00:00
|
|
|
<div id="settings">
|
|
|
|
<h2>SETTINGS</h2>
|
|
|
|
<div>
|
2017-10-23 04:03:12 +00:00
|
|
|
<div class="label">Rex-o-fader</div>
|
|
|
|
<select id="angle">
|
2017-10-24 13:56:59 +00:00
|
|
|
<option value="133" selected>0 (Normal)</option>
|
|
|
|
<option value="66">1 Stop</option>
|
|
|
|
<option value="33">2 Stop</option>
|
2017-10-22 19:35:56 +00:00
|
|
|
</select>
|
|
|
|
</div>
|
2017-10-23 16:58:37 +00:00
|
|
|
<h2>BLUETOOTH</h2>
|
|
|
|
<select id="bluetooth">
|
|
|
|
<option>N/A</option>
|
|
|
|
</select>
|
|
|
|
<h2>WIFI</h2>
|
2017-10-23 04:03:12 +00:00
|
|
|
<div>
|
|
|
|
<input type="text" id="ssid" placeholder="Wifi SSID" />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type="password" id="password" placeholder="Wifi Password" />
|
|
|
|
</div>
|
2017-10-22 19:35:56 +00:00
|
|
|
</div>
|
2017-11-21 18:50:01 +00:00
|
|
|
<footer>
|
|
|
|
<img id="settingsIcon" onclick="settingsPage();" class="icon" src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU0IDU0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1NCA1NDsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiPgo8Zz4KCTxwYXRoIGQ9Ik01MS4yMiwyMWgtNS4wNTJjLTAuODEyLDAtMS40ODEtMC40NDctM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yLDAuNjIyLDMuMTQ2LDAuMjk0LDQuMjk0LTAuODU0bDMuNTcxLTMuNTcxYzAuMzA2LTAuMzA1LDAuODAxLTAuMzA1LDEuMTA0LDBsNC41NTMsNC41NTNjMC4zMDUsMC4zMDUsMC4zMDUsMC44LDAsMS4xMDQgICBsLTMuNTcyLDMuNTcxYy0xLjE0OCwxLjE0OC0xLjQ3NiwyLjc5NC0wLjg1NCw0LjI5NGMwLjYyMSwxLjUsMi4w
|
|
|
|
<h1 class="selected"><span onclick="appPage();" class="icon">INTVAL</span></h1>
|
|
|
|
<img src="" id="sequencerIcon" onclick="sequencerPage();" class="icon" />
|
|
|
|
<img id="mscriptIcon" onclick="mscriptPage();" class="icon" src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDUyMi40NjggNTIyLjQ2OSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTIyLjQ2OCA1MjIuNDY5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPg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11-21 22:08:54 +00:00
|
|
|
'use strict';
|
|
|
|
const BOLEX = {
|
2017-10-23 04:03:12 +00:00
|
|
|
angle : 133,
|
2017-10-23 04:17:02 +00:00
|
|
|
prism : 0.8,
|
|
|
|
expected : 630
|
2017-10-23 04:03:12 +00:00
|
|
|
};
|
2017-11-21 22:08:54 +00:00
|
|
|
const STATE = {
|
2017-10-23 04:03:12 +00:00
|
|
|
dir : true,
|
|
|
|
exposure : 630, //always ms
|
|
|
|
delay : 0,
|
|
|
|
scale : 'ms',
|
|
|
|
delayScale : 'ms',
|
|
|
|
counter : 0
|
2017-10-22 19:35:56 +00:00
|
|
|
}
|
2017-11-21 21:34:07 +00:00
|
|
|
//functions
|
2017-10-22 01:54:17 +00:00
|
|
|
var frame;
|
2017-10-22 19:35:56 +00:00
|
|
|
var getState;
|
2017-10-22 01:54:17 +00:00
|
|
|
var setDir;
|
|
|
|
var setExposure;
|
|
|
|
var setDelay;
|
2017-10-24 00:44:35 +00:00
|
|
|
var setCounter;
|
2017-10-23 04:03:12 +00:00
|
|
|
//ms
|
|
|
|
var shutter = function (exposure) {
|
2017-10-23 04:17:02 +00:00
|
|
|
var fraction = BOLEX.expected / 1000;
|
2017-10-23 04:03:12 +00:00
|
|
|
var speed;
|
|
|
|
var corrected;
|
|
|
|
var str;
|
2017-10-23 04:33:02 +00:00
|
|
|
if (exposure > BOLEX.expected) {
|
2017-10-23 04:03:12 +00:00
|
|
|
//if exposure is explicitly set
|
|
|
|
fraction = exposure / 1000;
|
|
|
|
speed = fraction;
|
|
|
|
} else {
|
|
|
|
speed = fraction * (BOLEX.angle / 360);
|
|
|
|
}
|
|
|
|
corrected = speed * BOLEX.prism;
|
|
|
|
if (corrected < 1.0) {
|
|
|
|
//less than a second
|
2017-10-23 04:17:02 +00:00
|
|
|
str = '1/' + Math.round(Math.pow(corrected, -1)) + ' sec';
|
2017-10-23 04:03:12 +00:00
|
|
|
} else if (corrected >= 1.0 && corrected < 60) {
|
|
|
|
//greater than a second, less than a minute
|
|
|
|
str = '' + (Math.round(corrected * 10) / 10) + ' sec'
|
|
|
|
} else if (corrected >= 60 && corrected < 60 * 60) {
|
|
|
|
//greater than a minute, less than an hour
|
|
|
|
str = '' + (Math.round(corrected / 6) / 10) + ' min';
|
|
|
|
} else if (corrected >= 60 * 60 && corrected < 60 * 60 * 24) {
|
|
|
|
//greater than an hour, less than a day
|
|
|
|
str = '' + (Math.round(corrected / (6 * 60)) / 10) + ' hr';
|
|
|
|
} else if (corrected >= 60 * 60 * 24) {
|
|
|
|
//greater than a day
|
|
|
|
str = '' + (Math.round(corrected / (6 * 60 * 24)) / 10) + ' day';
|
|
|
|
}
|
|
|
|
return { speed : speed, str : str }
|
|
|
|
};
|
|
|
|
|
|
|
|
var scaleAuto = function (ms) {
|
|
|
|
if (ms < 1000) {
|
|
|
|
return 'ms'
|
|
|
|
} else if (ms >= 1000 && ms < 1000 * 60) {
|
|
|
|
return 'sec'
|
|
|
|
} else if (ms >= 1000 * 60 && ms < 1000 * 60 * 60) {
|
|
|
|
return 'min'
|
|
|
|
} else if (ms >= 1000 * 60 * 60) {
|
|
|
|
return 'hour'
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
var scaleTime = function (raw, scale) {
|
|
|
|
if (scale === 'ms') {
|
|
|
|
return raw
|
|
|
|
} else if (scale === 'sec') {
|
|
|
|
return raw * 1000;
|
|
|
|
} else if (scale === 'min') {
|
|
|
|
return raw * (1000 * 60);
|
|
|
|
} else if (scale === 'hour') {
|
|
|
|
return raw * (1000 * 60 * 60);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
var setExposureScale = function () {
|
2017-11-21 22:48:30 +00:00
|
|
|
const scale = document.getElementById('scale').value;
|
|
|
|
const elem = document.getElementById('exposure');
|
2017-10-23 04:03:12 +00:00
|
|
|
if (scale === 'ms') {
|
2017-11-21 22:52:26 +00:00
|
|
|
elem.value = STATE.exposure;
|
2017-10-23 04:03:12 +00:00
|
|
|
} else if (scale === 'sec') {
|
2017-11-21 22:48:30 +00:00
|
|
|
elem.value = STATE.exposure / 1000;
|
2017-10-23 04:03:12 +00:00
|
|
|
} else if (scale === 'min') {
|
2017-11-21 22:48:30 +00:00
|
|
|
elem.value = STATE.exposure / (1000 * 60);
|
2017-10-23 04:03:12 +00:00
|
|
|
} else if (scale === 'hour') {
|
2017-11-21 22:48:30 +00:00
|
|
|
elem.value = STATE.exposure / (1000 * 60 * 60);
|
2017-10-23 04:03:12 +00:00
|
|
|
}
|
|
|
|
STATE.scale = scale;
|
|
|
|
};
|
|
|
|
|
|
|
|
var setDelayScale = function () {
|
2017-11-21 23:09:59 +00:00
|
|
|
const scale = document.getElementById('scale').value;
|
|
|
|
const elem = document.getElementsById('delay');
|
2017-10-23 04:03:12 +00:00
|
|
|
if (scale === 'ms') {
|
2017-11-21 23:09:59 +00:00
|
|
|
elem.value = STATE.delay;
|
2017-10-23 04:03:12 +00:00
|
|
|
} else if (scale === 'sec') {
|
2017-11-21 23:09:59 +00:00
|
|
|
elem.value = STATE.delay / 1000;
|
2017-10-23 04:03:12 +00:00
|
|
|
} else if (scale === 'min') {
|
2017-11-21 23:09:59 +00:00
|
|
|
elem.value = STATE.delay / (1000 * 60);
|
2017-10-23 04:03:12 +00:00
|
|
|
} else if (scale === 'hour') {
|
2017-11-21 23:09:59 +00:00
|
|
|
elem.value = STATE.delay / (1000 * 60 * 60);
|
2017-10-23 04:03:12 +00:00
|
|
|
}
|
|
|
|
STATE.delayScale = scale;
|
|
|
|
};
|
|
|
|
|
2017-10-22 02:41:58 +00:00
|
|
|
var setDirLabel = function (dir) {
|
2017-11-21 21:43:56 +00:00
|
|
|
const bwdLabel = document.getElementById('bwdLabel');
|
|
|
|
const fwdLabel = document.getElementById('fwdLabel');
|
2017-10-22 02:41:58 +00:00
|
|
|
if (dir) {
|
2017-11-21 21:43:56 +00:00
|
|
|
bwdLabel.classList.remove('selected')
|
|
|
|
fwdLabel.classList.add('selected')
|
2017-10-22 02:41:58 +00:00
|
|
|
} else {
|
2017-11-21 21:43:56 +00:00
|
|
|
fwdLabel.classList.remove('selected')
|
|
|
|
bwdLabel.classList.add('selected')
|
2017-10-22 02:41:58 +00:00
|
|
|
}
|
|
|
|
};
|
2017-10-22 19:35:56 +00:00
|
|
|
var incCounter = function (val) {
|
2017-11-21 22:08:54 +00:00
|
|
|
const elem = document.getElementById('counter');
|
|
|
|
const current = elem.value;
|
|
|
|
elem.value = (parseInt(current) + val);
|
2017-10-23 04:03:12 +00:00
|
|
|
STATE.counter += val;
|
|
|
|
};
|
|
|
|
var appPage = function () {
|
|
|
|
'use strict';
|
|
|
|
$('#app').show();
|
|
|
|
$('#settings').hide();
|
|
|
|
$('#settingsIcon').removeClass('selected');
|
|
|
|
$('#mscriptIcon').removeClass('selected');
|
|
|
|
$('#bar h1').addClass('selected');
|
2017-10-22 19:35:56 +00:00
|
|
|
};
|
|
|
|
var settingsPage = function () {
|
2017-10-23 04:03:12 +00:00
|
|
|
'use strict';
|
2017-10-22 19:35:56 +00:00
|
|
|
$('#settings').show();
|
|
|
|
$('#app').hide();
|
|
|
|
$('#bar h1').removeClass('selected');
|
|
|
|
$('#mscriptIcon').removeClass('selected');
|
|
|
|
$('#settingsIcon').addClass('selected');
|
|
|
|
};
|
2017-10-22 01:07:45 +00:00
|
|
|
</script>
|
|
|
|
<script>
|
2017-11-21 21:43:56 +00:00
|
|
|
'use strict'
|
|
|
|
const web = {};
|
2017-11-21 21:59:22 +00:00
|
|
|
web._header = new Headers({ 'content-type' : 'application/json' })
|
2017-10-22 01:54:17 +00:00
|
|
|
web.frame = function () {
|
2017-11-21 22:08:54 +00:00
|
|
|
const opts = {
|
2017-10-22 01:54:17 +00:00
|
|
|
method : 'POST',
|
2017-11-21 22:54:56 +00:00
|
|
|
headers : web._header
|
2017-11-21 22:08:54 +00:00
|
|
|
};
|
|
|
|
fetch('/frame', opts)
|
|
|
|
.then(res => {
|
|
|
|
return res.json()
|
|
|
|
})
|
|
|
|
.then(web.frameSuccess)
|
|
|
|
.catch(err => {
|
|
|
|
console.error('Error triggering frame')
|
|
|
|
console.error(err)
|
|
|
|
});
|
2017-10-22 01:54:17 +00:00
|
|
|
}
|
|
|
|
web.frameSuccess = function (res) {
|
2017-11-21 22:08:54 +00:00
|
|
|
document.getElementById('frame').blur();
|
2017-11-21 23:15:46 +00:00
|
|
|
console.log(`Frame ${res.dir ? 'forward' : 'backward'} took ${res.len}ms`)
|
2017-10-22 19:35:56 +00:00
|
|
|
if (res.dir === true) {
|
|
|
|
incCounter(1);
|
|
|
|
} else {
|
|
|
|
incCounter(-1);
|
|
|
|
}
|
2017-10-22 01:54:17 +00:00
|
|
|
};
|
|
|
|
web.setDir = function () {
|
2017-11-21 21:55:44 +00:00
|
|
|
const dir = !document.getElementById('dir').checked;
|
2017-11-21 21:43:56 +00:00
|
|
|
const opts = {
|
2017-11-21 21:38:11 +00:00
|
|
|
method : 'POST',
|
2017-11-21 21:59:22 +00:00
|
|
|
headers : web._header,
|
2017-11-21 21:55:44 +00:00
|
|
|
body : JSON.stringify({ dir : dir })
|
2017-11-21 18:50:01 +00:00
|
|
|
};
|
2017-11-21 21:49:02 +00:00
|
|
|
fetch('/dir', opts)
|
|
|
|
.then(res => {
|
|
|
|
return res.json()
|
|
|
|
})
|
2017-11-21 22:08:54 +00:00
|
|
|
.then(web.setDirSuccess)
|
|
|
|
.catch(err => {
|
2017-11-21 21:49:02 +00:00
|
|
|
console.error('Error setting direction')
|
|
|
|
console.error(err);
|
|
|
|
});
|
2017-10-22 01:54:17 +00:00
|
|
|
};
|
|
|
|
web.setDirSuccess = function (res) {
|
2017-10-23 04:03:12 +00:00
|
|
|
STATE.dir = res.dir;
|
2017-10-22 19:35:56 +00:00
|
|
|
setDirLabel(res.dir);
|
2017-11-21 22:08:54 +00:00
|
|
|
console.log(`setDir to ${res.dir}`);
|
2017-10-22 19:35:56 +00:00
|
|
|
};
|
|
|
|
web.getState = function () {
|
2017-11-21 22:15:13 +00:00
|
|
|
const opts = {
|
|
|
|
method : 'GET'
|
|
|
|
}
|
|
|
|
fetch('/status', opts)
|
2017-11-21 22:08:54 +00:00
|
|
|
.then(res => {
|
2017-11-21 22:48:30 +00:00
|
|
|
return res.json();
|
2017-11-21 22:08:54 +00:00
|
|
|
})
|
|
|
|
.then(web.getStateSuccess)
|
|
|
|
.catch(err => {
|
|
|
|
console.error('Error getting state');
|
|
|
|
console.error(err);
|
|
|
|
});
|
2017-10-22 19:35:56 +00:00
|
|
|
};
|
|
|
|
web.getStateSuccess = function (res) {
|
2017-11-21 22:48:30 +00:00
|
|
|
let exposure;
|
|
|
|
let scale;
|
2017-10-22 23:59:38 +00:00
|
|
|
if (res.frame.dir !== true) {
|
2017-11-21 22:48:30 +00:00
|
|
|
document.getElementById('dir').checked = true;
|
2017-10-23 04:03:12 +00:00
|
|
|
STATE.dir = res.frame.dir;
|
2017-10-22 23:59:38 +00:00
|
|
|
setDirLabel(false);
|
|
|
|
}
|
2017-11-21 22:48:30 +00:00
|
|
|
document.getElementById('counter').value = res.counter;
|
2017-10-24 00:43:16 +00:00
|
|
|
STATE.counter = res.counter;
|
|
|
|
//Exposure
|
2017-10-23 04:03:12 +00:00
|
|
|
if (res.frame.exposure === 0) {
|
2017-10-23 04:17:02 +00:00
|
|
|
res.frame.exposure = BOLEX.expected;
|
2017-10-23 04:03:12 +00:00
|
|
|
}
|
|
|
|
STATE.exposure = res.frame.exposure;
|
|
|
|
exposure = shutter(STATE.exposure);
|
2017-10-23 04:19:48 +00:00
|
|
|
scale = scaleAuto(STATE.exposure);
|
2017-11-21 22:48:30 +00:00
|
|
|
document.getElementById('str').value = exposure.str;
|
|
|
|
document.getElementById('scale').value = scale;
|
2017-10-23 05:20:20 +00:00
|
|
|
setExposureScale();
|
2017-10-23 05:08:18 +00:00
|
|
|
|
2017-11-21 22:48:30 +00:00
|
|
|
document.getElementById('delay').value = res.frame.delay;
|
2017-10-23 04:03:12 +00:00
|
|
|
STATE.delay = res.frame.delay;
|
|
|
|
};
|
|
|
|
web.setExposure = function () {
|
2017-11-21 23:09:59 +00:00
|
|
|
let exposure = document.getElementById('exposure').value;
|
|
|
|
let scaledExposure;
|
|
|
|
let opts
|
2017-10-23 05:24:22 +00:00
|
|
|
if (exposure === '' || exposure === null) {
|
|
|
|
exposure = 0;
|
|
|
|
}
|
2017-11-21 23:09:59 +00:00
|
|
|
scaledExposure = scaleTime(exposure, STATE.scale);
|
|
|
|
opts = {
|
2017-10-23 04:03:12 +00:00
|
|
|
method : 'POST',
|
2017-11-21 23:09:59 +00:00
|
|
|
headers : web._header,
|
2017-11-21 23:12:21 +00:00
|
|
|
body : JSON.stringify({ exposure : scaledExposure })
|
2017-11-21 23:09:59 +00:00
|
|
|
}
|
|
|
|
fetch('/exposure', opts)
|
|
|
|
.then(web.useJson)
|
|
|
|
.then(web.setExposureSuccess)
|
|
|
|
.catch(err => {
|
|
|
|
console.error('Error setting exposure');
|
|
|
|
console.error(err);
|
|
|
|
});
|
2017-10-23 04:03:12 +00:00
|
|
|
};
|
|
|
|
web.setExposureSuccess = function (res) {
|
2017-11-21 23:09:59 +00:00
|
|
|
let exposure;
|
2017-10-23 04:26:53 +00:00
|
|
|
if (res.exposure < BOLEX.expected) {
|
2017-10-23 04:17:02 +00:00
|
|
|
res.exposure = BOLEX.expected;
|
2017-10-23 04:03:12 +00:00
|
|
|
}
|
|
|
|
STATE.exposure = res.exposure;
|
|
|
|
exposure = shutter(STATE.exposure);
|
2017-11-21 23:09:59 +00:00
|
|
|
document.getElementById('str').value = exposure.str;
|
|
|
|
console.log(`setExposure to ${res.exposure}`);
|
2017-10-23 04:03:12 +00:00
|
|
|
};
|
|
|
|
web.setDelay = function () {
|
2017-11-21 23:09:59 +00:00
|
|
|
const delay = document.getElementById('delay').value;
|
|
|
|
const scaledDelay = scaleTime(delay, STATE.delayScale)
|
|
|
|
let opts = {
|
2017-10-23 04:03:12 +00:00
|
|
|
method : 'POST',
|
2017-11-21 23:09:59 +00:00
|
|
|
headers : web._header,
|
|
|
|
body : JSON.stringify({ delay : scaledDelay })
|
|
|
|
}
|
|
|
|
fetch('/delay', opts)
|
|
|
|
.then(web.useJson)
|
|
|
|
.then(web.setDelaySuccess)
|
|
|
|
.catch(err => {
|
|
|
|
console.error('Error setting delay');
|
|
|
|
console.error(err);
|
|
|
|
})
|
2017-10-23 04:03:12 +00:00
|
|
|
};
|
|
|
|
web.setDelaySuccess = function (res) {
|
|
|
|
STATE.delay = res.delay;
|
2017-11-21 23:09:59 +00:00
|
|
|
console.log(`setDelay to ${res.delay}`);
|
2017-10-24 00:41:28 +00:00
|
|
|
};
|
|
|
|
web.setCounter = function () {
|
2017-11-21 23:09:59 +00:00
|
|
|
const counter = document.getElementById('counter').value;
|
|
|
|
const opts = {
|
2017-10-24 00:41:28 +00:00
|
|
|
method : 'POST',
|
2017-11-21 23:09:59 +00:00
|
|
|
headers : web._header,
|
|
|
|
data : JSON.stringify({ counter : counter })
|
|
|
|
}
|
|
|
|
fetch('/counter', opt)
|
|
|
|
.then(web.useJson)
|
|
|
|
.then(web.setCounterSuccess)
|
|
|
|
.catch(err => {
|
|
|
|
console.error('Error setting counter');
|
|
|
|
console.error(err);
|
|
|
|
})
|
2017-10-24 00:41:28 +00:00
|
|
|
};
|
|
|
|
web.setCounterSuccess = function (res) {
|
|
|
|
STATE.counter = res.counter;
|
2017-11-21 23:09:59 +00:00
|
|
|
console.log(`setCounter to ${res.counter}`);
|
2017-10-22 01:54:17 +00:00
|
|
|
};
|
2017-11-21 23:09:59 +00:00
|
|
|
web.useJson = function (res) {
|
|
|
|
return res.json();
|
|
|
|
}
|
2017-10-22 01:54:17 +00:00
|
|
|
web.init = function () {
|
|
|
|
frame = web.frame;
|
2017-10-22 19:35:56 +00:00
|
|
|
getState = web.getState;
|
2017-10-22 01:54:17 +00:00
|
|
|
setDir = web.setDir;
|
|
|
|
setExposure = web.setExposure;
|
2017-10-24 00:41:28 +00:00
|
|
|
setCounter = web.setCounter;
|
2017-10-22 23:59:38 +00:00
|
|
|
|
2017-10-22 19:35:56 +00:00
|
|
|
web.getState();
|
2017-10-22 01:54:17 +00:00
|
|
|
};
|
|
|
|
web.init();
|
2017-10-22 01:07:45 +00:00
|
|
|
</script>
|
|
|
|
<script>
|
2017-10-22 01:54:17 +00:00
|
|
|
var mobile = {};
|
|
|
|
mobile.init = function () {
|
|
|
|
'use strict';
|
|
|
|
};
|
2017-10-22 01:07:45 +00:00
|
|
|
</script>
|
2017-08-22 02:49:35 +00:00
|
|
|
</body>
|
|
|
|
</html>
|