Added a light, updated screenshots
This commit is contained in:
rodzic
f2c6ba9a1c
commit
b3a4e43fe0
@ -4,7 +4,12 @@ FourDjs
|
||||
Visualisations of four-dimensional polytopes projected into 3-space, rendered
|
||||
with three.js
|
||||
|
||||
[Basic interactive demo](https://etc.mikelynch.org/fourjs/)
|
||||
|
||||
<img src="https://raw.githubusercontent.com/spikelynch/fourdjs/main/docs/screenshot-24cell.png" width="612" /><br />
|
||||
|
||||
<img src="https://raw.githubusercontent.com/spikelynch/fourdjs/main/docs/screenshot-120cell.png" width="612" /><br />
|
||||
|
||||
<img src="https://raw.githubusercontent.com/spikelynch/fourdjs/main/docs/screenshot-600cell.png" width="612" />
|
||||
|
||||
<img src="https://raw.githubusercontent.com/spikelynch/fourdjs/main/docs/screenshot-24cell.png" width="445" />
|
||||
|
||||
[Basic interactive demo](https://etc.mikelynch.org/fourjs/)
|
BIN
docs/screenshot-120cell.png
Normal file
BIN
docs/screenshot-120cell.png
Normal file
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 1.6 MiB |
Plik binarny nie jest wyświetlany.
Przed Szerokość: | Wysokość: | Rozmiar: 670 KiB Po Szerokość: | Wysokość: | Rozmiar: 565 KiB |
BIN
docs/screenshot-600cell.png
Normal file
BIN
docs/screenshot-600cell.png
Normal file
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 1.9 MiB |
4
main.js
4
main.js
@ -94,6 +94,10 @@ const light = new THREE.PointLight(0xffffff, 2);
|
||||
light.position.set(10, 10, 10);
|
||||
scene.add(light);
|
||||
|
||||
const light2 = new THREE.PointLight(0xffffff, 2);
|
||||
light2.position.set(-10, 5, 10);
|
||||
scene.add(light);
|
||||
|
||||
|
||||
const amblight = new THREE.AmbientLight(0xffffff, 0.5);
|
||||
scene.add(amblight);
|
||||
|
Ładowanie…
x
Reference in New Issue
Block a user