diff --git a/Ejercicio3/molecula.html b/Ejercicio3/molecula.html new file mode 100644 index 0000000000000000000000000000000000000000..b3149c7ccda8f36c7939848c40c8f007587b15c5 --- /dev/null +++ b/Ejercicio3/molecula.html @@ -0,0 +1,82 @@ +<html> + <head> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <title>IGEV</title> + <script type='text/javascript' src='https://www.x3dom.org/download/x3dom.js'> </script> + <link rel='stylesheet' type='text/css' href='https://www.x3dom.org/download/x3dom.css'></link> + </head> + <body> + <h1>Tarea 3</h1> + <p> + Molecula. + </p> + <x3d width='500px' height='500px'> + <scene> + + <transform translation='1.8 .2 0'> + <shape> + <appearance> + <material diffuseColor='0 0 1'></material> + </appearance> + <sphere></sphere> + </shape> + </transform> + <transform translation='0 .2 3.4'> + <shape> + <appearance> + <material diffuseColor='0 0 1'></material> + </appearance> + <sphere></sphere> + </shape> + </transform> + <transform translation='-1.8 .2 0'> + <shape> + <appearance> + <material diffuseColor='0 0 1'></material> + </appearance> + <sphere></sphere> + </shape> + </transform> + + <transform translation='0 1.81 1.3'> + <shape> + <appearance> + <material diffuseColor='1 0 1'></material> + </appearance> + <sphere radius="1.22"></sphere> + </shape> + </transform> + + <Transform translation="1 1 .6" rotation="0 1 0 2.2"> + <Transform rotation="1 0 0 -.9"> + <Shape> + <Appearance> + <Material diffuseColor="#33FF66"></Material> + </Appearance> + <Cylinder radius="0.3" height="0.66"></Cylinder> + </Shape> + </Transform> + </transform> + <Transform translation="0 .9 2.48" rotation="1 0 0 -.9"> + <Shape> + <Appearance> + <Material diffuseColor="#33FF66"></Material> + </Appearance> + <Cylinder radius="0.3" height="0.66"></Cylinder> + </Shape> + </Transform> + <Transform translation="-1 1 .6" rotation="0 1 0 -2.2"> + <Transform rotation="1 0 0 -.9"> + <Shape> + <Appearance> + <Material diffuseColor="#33FF66"></Material> + </Appearance> + <Cylinder radius="0.3" height="0.66"></Cylinder> + </Shape> + </Transform> + </Transform> + + </scene> + </x3d> + </body> +</html>