\.\d*)?" id="m22" value="1" oninput="update(0)"/>
<p class="pi" id="ip1">Quaternion
<br />
<span class="dl">x</span><input type="number" pattern="\d+(\.\d*)?" id="q0" value="0" oninput="update(1)"/>
<span class="dl2">y</span><input type="number" pattern="\d+(\.\d*)?" id="q1" value="0" oninput="update(1)"/>
<span class="dl2">z</span><input type="number" pattern="\d+(\.\d*)?" id="q2" value="0" oninput="update(1)"/>
<span class="dl">w (real part) <input type="number" pattern="\d+(\.\d*)?" id="q3" value="1" oni