ui: improve buttons text
This commit is contained in:
parent
0e5e93d177
commit
cad3d7705d
|
@ -15,37 +15,38 @@
|
|||
<canvas id='glCanvas' width='640' height='640'></canvas>
|
||||
<div id='ui'>
|
||||
<div class='ui-block'>
|
||||
<button id='s_blackandwhite'>Change Shader to black and white</button>
|
||||
<button id='s_color'>Change Shader to colored</button>
|
||||
<button id='s_grey'>Change Shader to grey</button>
|
||||
<button id='s_texture'>Change Shader to texture</button>
|
||||
<button id='s_sobel'>Change Shader to sobel edge detection</button>
|
||||
<div style='display: inline;'>Change shader: </div>
|
||||
<button id='s_blackandwhite'>Black & White</button>
|
||||
<button id='s_color'>Colored</button>
|
||||
<button id='s_grey'>No texture</button>
|
||||
<button id='s_texture'>Texture</button>
|
||||
<button id='s_sobel'>Sobel Edge Detection</button>
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change distance : </div>
|
||||
<div style='display: inline;'>Change distance: </div>
|
||||
<div style='display: inline;'>Fine: </div>
|
||||
<input type="range" min="1" max="50" value="25" class="slider" id="distancefine">
|
||||
<div style='display: inline;'>Coarse: </div>
|
||||
<input type="range" min="1" max="1000" value="40" class="slider" id="distance">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change circle size : </div>
|
||||
<div style='display: inline;'>Change circle size: </div>
|
||||
<input type="range" min="0" max="50" value="2" class="slider" id="circlesize">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change fov : </div>
|
||||
<div style='display: inline;'>Change fov: </div>
|
||||
<input type="range" min="15" max="150" value="45" class="slider" id="fov">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change base rotation speed : </div>
|
||||
<div style='display: inline;'>Change base rotation speed: </div>
|
||||
<input type="range" min="0" max="5" value="1" step='0.0001' class="slider" id="rotspeed">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change instances number : </div>
|
||||
<div style='display: inline;'>Change instances number: </div>
|
||||
<input type="range" min="1" max="180" value="9" step='1' class="slider" id="instance">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<div style='display: inline;'>Change rotation : </div>
|
||||
<div style='display: inline;'>Change rotation: </div>
|
||||
<div style='display: inline;'>X: </div>
|
||||
<input type="range" min="0" max="6.2830" value="0" step='0.0001' class="slider" id="rotx">
|
||||
<div style='display: inline;'>Y: </div>
|
||||
|
@ -54,19 +55,21 @@
|
|||
<input type="range" min="0" max="6.2830" value="0" step='0.0001' class="slider" id="rotz">
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<button id='o_sphere'>Set object to sphere</button>
|
||||
<button id='o_teapot'>Set object to teapot</button>
|
||||
<button id='o_fox'>Set object to fox</button>
|
||||
<button id='o_mecha'>Set object to mecha</button>
|
||||
<button id='o_racer'>Set object to racer</button>
|
||||
<div style='display: inline;'>Change object: </div>
|
||||
<button id='o_sphere'>Sphere</button>
|
||||
<button id='o_teapot'>Teapot</button>
|
||||
<button id='o_fox'>Fox</button>
|
||||
<button id='o_mecha'>Mecha</button>
|
||||
<button id='o_racer'>Racer</button>
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<button id='t_wall'>Set texture to wall</button>
|
||||
<button id='t_ice'>Set texture to ice</button>
|
||||
<button id='t_noise'>Set texture to noise</button>
|
||||
<button id='t_fox'>Set texture to fox</button>
|
||||
<button id='t_racer'>Set texture to racer</button>
|
||||
<button id='t_racer_wireframe'>Set texture to racer wireframe</button>
|
||||
<div style='display: inline;'>Change texture: </div>
|
||||
<button id='t_wall'>Wall</button>
|
||||
<button id='t_ice'>Ice</button>
|
||||
<button id='t_noise'>Noise</button>
|
||||
<button id='t_fox'>Fox</button>
|
||||
<button id='t_racer'>Racer</button>
|
||||
<button id='t_racer_wireframe'>Racer Wireframe</button>
|
||||
</div>
|
||||
<div class='ui-block'>
|
||||
<a href='https://git.gaetanbrochard.dev/gbrochar/webgl'>This project's git</a>
|
||||
|
|
Loading…
Reference in New Issue