html
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
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<script src="https://cdn.jsdelivr.net/npm/three@0.145/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.145/examples/js/controls/OrbitControls.js"></script>
</head>
<body>
</body>
<script>
//import * as THREE from 'three';
//import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';
function random(min=0, max) {
return Math.random() * (max - min) + min;
}
let cw=window.innerWidth
let ch=window.innerHeight
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
body,*{
margin:0;
overflow:hidden;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
alert("guys wait for contineous color transition")
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Запуск