Fix physics depending on fps
This commit is contained in:
22
index.html
22
index.html
@@ -40,7 +40,8 @@
|
||||
<button class="collapsible">Parameters</button>
|
||||
<div class="paramContent">
|
||||
<div class="paramPanel">
|
||||
<h3>Light direction</h3>
|
||||
<h3>Light</h3>
|
||||
<h4>Direction</h4>
|
||||
<p>
|
||||
x:
|
||||
<input type="range" min="-100" max="100" value="50" class="slider" id="lightx" />
|
||||
@@ -56,12 +57,25 @@
|
||||
<p>
|
||||
<div id="lightDirVec"></div>
|
||||
</p>
|
||||
</div>
|
||||
<div class="paramPanel">
|
||||
<h3>Ambiant light</h3>
|
||||
<h4>Ambiant light amount</h4>
|
||||
<p>
|
||||
<input type="range" min="0" max="100" value="50" class="slider" id="ambiant" />
|
||||
</p>
|
||||
<h4>Sky color</h4>
|
||||
<p>
|
||||
r:
|
||||
<input type="range" min="0" max="255" value="115" class="slider" id="skyr" />
|
||||
</p>
|
||||
<p>
|
||||
g:
|
||||
<input type="range" min="0" max="255" value="191" class="slider" id="skyg" />
|
||||
</p>
|
||||
<p>
|
||||
b:
|
||||
<input type="range" min="0" max="255" value="255" class="slider" id="skyb" />
|
||||
</p>
|
||||
<p>
|
||||
<div id="skyColor"></div>
|
||||
</div>
|
||||
<div class="paramPanel">
|
||||
<h3>Physics</h3>
|
||||
|
Reference in New Issue
Block a user