diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-12-11 11:02:39 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-12-11 11:02:39 -0500 |
| commit | 92d03be7004e7fa7fea7be6910c3c0be830a774e (patch) | |
| tree | eb7ac4ab6593fd6214963e5764b88bc4bca3e837 /proposal.html | |
| download | minecraftjs-92d03be7004e7fa7fea7be6910c3c0be830a774e.tar.gz minecraftjs-92d03be7004e7fa7fea7be6910c3c0be830a774e.tar.bz2 minecraftjs-92d03be7004e7fa7fea7be6910c3c0be830a774e.zip | |
Diffstat (limited to 'proposal.html')
| -rw-r--r-- | proposal.html | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/proposal.html b/proposal.html new file mode 100644 index 0000000..c69114a --- /dev/null +++ b/proposal.html @@ -0,0 +1,145 @@ +<html> + <head> + <title>my very super duper cool proposal</title> + <style> +html { + background-color: black; + color:yellow; + font-family: sans-serif; + padding: 1rem; +} +a, button { + all: unset; + display: inline-block; + color:yellow; + border: 1px solid; + border-radius: 10px; + margin: .5rem 0; + margin-right: 1rem; + padding: .5rem; +} + +a:hover, button:hover { + background-color: #313244; + color: #a6adc8; + cursor: pointer; +} + + +.trail { + position: absolute; + z-index: 9999; + pointer-events: none; +} + + </style> + </head> + <body> + <h1>the proposal</h1> + <marquee>itz super kewl</marquee> + + <h2>group</h2> + me (freya) + + <h2>description</h2> + I, as I have done a few times before now, and I enjoy doing, would like to make a minecraft (legaly distinct) clone! (ik, so very unique, no one has done that before) + <br><br> + The component of this "clone" are described below + + <h3>part one (first milestone)</h3> + basic chunk rendering & textures + <ul> + <li>Chunks are generated (simple noise/height map), no greedy meshing yet, possibly fixed map + <li>Textures are loading, but no simple lighting, just ambient. Textures may be stolen from mojang. + <li>Player can move around + </ul> + + <h3>part twooooo (the second stone of mile)</h3> + <ul> + <li>Greedy meshing for chunks + <li>Simple lighting for chunks + <li>Player collision + <li>Procedural generation is fully working + <li>Textures are no longer stolen from mojang + </ul> + + <h3>other possible additions</h3> + These can be thought as "stretch goals" + <ul> + <li>Music (likely using browser audio system) + <li>Place and break blocks + <li>Game UI + </ul> + + Please let me know if you would like any of these to be a requirement :) + + <h2>johnvertize</h2> + <marquee>scream into the void</marquee> + <iframe src="https://john.citrons.xyz/embed?ref=freya.cat" style="margin-left:auto;display:block;margin-right:auto;max-width:732px;width:100%;height:94px;border:none;"></iframe> + + <div class="buttons"> + <picture> + <source type="image/webp" srcset="https://freya.cat/public/buttons/eyes.webp?timestamp=1716556123" media="(prefers-reduced-motion: reduce)"> + <source type="image/png" srcset="https://freya.cat/public/buttons/eyes.png?timestamp=1716556123" media="(prefers-reduced-motion: reduce)"> + <source type="image/gif" srcset="https://freya.cat/public/buttons/eyes.gif?timestamp=1716556123"> + <img src="https://freya.cat/public/buttons/eyes.png?timestamp=1716556123" alt="Best viewed with eyes" title="Best viewed with eyes" width="88" height="30"> + </picture> + <picture> + <source type="image/webp" srcset="https://freya.cat/public/buttons/vim.webp?timestamp=1716556123" media="(prefers-reduced-motion: reduce)"> + <source type="image/png" srcset="https://freya.cat/public/buttons/vim.png?timestamp=1716556123" media="(prefers-reduced-motion: reduce)"> + <source type="image/gif" srcset="https://freya.cat/public/buttons/vim.gif?timestamp=1716556123"> + <img src="https://freya.cat/public/buttons/vim.png?timestamp=1716556123" alt="Edited with VIM" title="Edited with VIM" width="88" height="30"> + </picture> + <picture> + <source type="image/webp" srcset="https://freya.cat/public/buttons/gnu-linux.webp?timestamp=1716556123"> + <source type="image/png" srcset="https://freya.cat/public/buttons/gnu-linux.png?timestamp=1716556123"> + <img src="https://freya.cat/public/buttons/gnu-linux.png?timestamp=1716556123" alt="Made with GNU/Linux" title="Made with GNU/Linux" width="88" height="30"> + </picture> + <script> + alert('welcome') + + // thank u ryan, very cool + + var trailLength = 12; + var path = []; + var delay = 100; + var lastX = 0; + var lastY = 0; + + function createMouseTrail() { + for (var i = 0; i < trailLength; i++) { + var div = document.createElement('div'); + div.setAttribute('class', 'trail'); + div.style.top = '-200px'; + div.style.left = '-200px'; + div.style.backgroundImage = 'url(https://www.rochesterapex.com/css/cursor.gif)'; + div.style.backgroundSize = 'cover'; + div.style.width = '11px'; + div.style.height = '19px'; + document.body.appendChild(div); + path.push(div); + } + } + + var lastX = 0; + var lastY = 0; + + function moveTrail(e) { + if (lastX !== e.pageX || lastY !== e.pageY) { + for (let i = 0; i < path.length; i++) { + setTimeout(function() { + path[i].style.top = (e.pageY) + 'px'; + path[i].style.left = (e.pageX) + 'px'; + }, i * delay); + } + } + + lastX = e.pageX; + lastY = e.pageY; + } + + document.addEventListener('mousemove', moveTrail); + createMouseTrail(); + </script> + </body> +</html> |