Skip to content

Commit 74f95fa

Browse files
committed
intro
1 parent a5b8310 commit 74f95fa

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Create 3D worlds
22

3-
Library of reusable Three.js components.
3+
A library of REUSABLE Three.js components that you can play with.
44

5-
Sakupio sam Three.js primere sa raznih strana i prepravio ih da budu reusable.
5+
Over the years, I have gathered Three.js examples from various sources and modified them to be reusable.
66

7-
Za razliku od ostalih kul Three.js primera koje možete samo gledati, ovde možete kombinovati različite elemente i praviti nove scene. Možete uzeti junaka iz jedne scene, zgrade iz druge, prirodu iz treće, itd.
7+
Unlike other cool Three.js examples that you can just look at, here you can combine different elements and create new scenes. To begin with, you can replace any model or character in these examples.
88

9-
Nadam se da ćete se zabavljati kao ja dok sam ovo pravio.
9+
I hope you will have as much fun as I did making this.
1010

1111
Developed by [mudroljub](https://twitter.com/mudroljub).
1212

@@ -19,12 +19,11 @@ npx live-server
1919

2020
## TODO
2121

22-
- ići redom po html fajlovima, srediti titlove i dodati izvor gde treba
23-
- popraviti lightningStrike
2422
- svući three.js na lokal?
25-
- dokumentovati
2623
- minimalni bekend za statistike / brojač poseta
2724
- testirati na raznim uređajima nakon dizanja na server
25+
- dodati izvor gde treba
26+
- write documentation
2827

2928
## BUGS:
3029

config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default {
2-
volume: 0 // .4
2+
volume: .4
33
}

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ <h1>Create 3D worlds</h1>
9292

9393
<h3>A library of REUSABLE Three.js components that you can play with.</h3>
9494

95-
<p>To begin with, you can replace any model or character in these <b>examples</b>.</p>
95+
<p>Unlike other cool Three.js examples that you can just look at, here you can combine different elements and create new scenes. To begin with, you can replace any model or character in these examples.</p>
9696

97-
<p>But, there's much more besides these examples. Explore the <a href="https://github.com/create-3d-worlds/create-3d-worlds.github.io" target="_blank">source code</a>.</p>
97+
<p>I hope you will have as much fun as I did making this.</p>
9898

99-
<p>Hint: <a href="#games">games</a> are at the bottom ;)</p>
99+
<p>Hint: <a href="#games">GAMES</a> are at the bottom ;)</p>
100100

101101
<h2>Geometry</h2>
102102

utils/light.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ export function lightningStrike(light, scene = defaultScene) {
9595

9696
const distance = randInt(100, 3000)
9797
audio.volume = mapRange(distance, 3000, 100, config.volume / 4, config.volume)
98-
// TODO: fix light
9998
light.intensity = mapRange(distance, 3000, 100, 1.2, 2)
10099

101100
const newColor = new THREE.Color().lerpColors(

0 commit comments

Comments
 (0)