Skip to content

Commit

Permalink
Merge pull request #2 from flo-bit/main
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
flo-bit authored Oct 3, 2024
2 parents 5fe29b2 + 2800468 commit 887b3c7
Show file tree
Hide file tree
Showing 16 changed files with 575 additions and 920 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
old
dist
dist
stuff
Binary file added bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion features.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@
- [ ] noise
- [x] height
- [ ] slope
- [ ] distance
- [ ] different materials
- [ ] make vegetation sway in the wind
- [ ] make all random stuff dependent on seed
- [ ] instanced vegetation

### weather
- [ ] clouds
- [ ] particles (snow, rain, etc)

### water
- [x] moving water
- [ ] option to turn off water
- [ ] water reflections
- [ ] water refractions
- [x] water caustics
Expand All @@ -43,4 +46,4 @@
- [ ] tilt shift

## other
- [ ]
- [ ] walking on planet
15 changes: 14 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
<!doctype html>
<html lang="en">

<head>
<title>three.js scaffold</title>
<script>
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
posthog.init('phc_1Q4q6SdTwvStnxFWbmdOIusLc5ve0u6Fk7WpsHPoAlD',{api_host:'https://eu.i.posthog.com', person_profiles: 'identified_only', persistence: 'memory'})
</script>

<title>tiny planets</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>

<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌎</text></svg>"
/>

<link rel="stylesheet" href="./index.css" />
</head>

Expand All @@ -21,6 +32,8 @@

<canvas id="root"></canvas>

<a class="absolute bottom-2 left-3 text-cyan-400 text-sm font-semibold hover:text-cyan-300 transition-colors duration-100" href="https://flo-bit.dev" target="_blank">made by flo-bit</a>

<script src="src/script.ts" type="module"></script>
</body>
</html>
Loading

0 comments on commit 887b3c7

Please sign in to comment.