-
Notifications
You must be signed in to change notification settings - Fork 0
/
ARindex5.html
65 lines (63 loc) · 2.98 KB
/
ARindex5.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<head>
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-sky color="black" radius="1500"></a-sky>
<a-camera position="0 0 300"
cursor-visible="true"
cursorscale="2"
cursor-color="#0095DD"
cursor-opacity="0.5"></a-camera>
<a-assets>
<img id="sonce-texture" src="laba5/sonce.jpg">
<img id="mercuri-texture" src="laba5/mercuri.jpg">
<img id="venera-texture" src="laba5/venera.jpg">
<img id="zemla-texture" src="laba5/zemla.jpg">
<img id="mars-texture" src="laba5/mars.jpg">
<img id="jupiter-texture" src="laba5/jupiter.jpg">
<img id="saturn-texture" src="laba5/saturn.jpg">
<img id="venus-texture" src="laba5/venus.jpg">
<img id="neptun-texture" src="laba5/neptun.jpg">
</a-assets>
<a-entity geometry="primitive: sphere; radius: 20.510"
material="src: #sonce-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 0; mass: 1.989e30; name: sonce"></a-entity>
<a-entity geometry="primitive: sphere; radius: 2.4397"
material="src: #mercuri-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 57.910e9; mass: 3.285e23; T: 88; name: mercuri"></a-entity>
<a-entity geometry="primitive: sphere; radius: 6.0518"
material="src: #venera-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 108.2e9; mass: 4.876e24; T: 224.7; name: venera"></a-entity>
<a-entity geometry="primitive: sphere; radius: 6.371"
material="src: #zemla-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 149.6e9; mass: 6e24; T: 365; name: zemla"></a-entity>
<a-entity geometry="primitive: sphere; radius: 3.396"
material="src: #mars-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 228.6e9; mass: 6.418e23; T: 687; name: mars"></a-entity>
<a-entity geometry="primitive: sphere; radius: 69.911"
material="src: #jupiter-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 778.6e9; mass: 1.899e27; T: 4329; name: jupiter"></a-entity>
<a-entity geometry="primitive: sphere; radius: 60.268"
material="src: #saturn-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 1433.6e9; mass: 5.68e26; T: 10767; name: saturn"></a-entity>
<a-entity geometry="primitive: sphere; radius: 25.559"
material="src: #venus-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 2876.6e9; mass: 8.68e25; T: 30769; name: venus"></a-entity>
<a-entity geometry="primitive: sphere; radius: 24.764"
material="src: #neptun-texture"
animation="property: rotation: 0 360 0; loop: true; dur: 9000"
planet="dist: 4503.6e9; mass: 1.02e26; T: 60190; name: neptun"></a-entity>
<a-entity main></a-entity>
</a-scene>
</body>
</html>