Use the arrow keys to move your submarine through an underwater world. ---|How It Works|--- For all points within your view limit, it calculates its noise value based on the inverse frequency. It then checks if the point's noise value is greater than the surface level, and if it is, then it assigns the point 1, but if not, it assigns it 0. Then, it marches a cube over every point (that can make a cube, that is). It gets the marching cube configuration, and finds the triangulation in a triangulation table. This would result in a blocky-like world, so it interpolates it based on the surface level and point values. The deeper you go, the darker it is. Noise: https://scratch.mit.edu/projects/1205650079/ Marching Cubes Configurations: https://scratch.mit.edu/projects/1205905698/ Sebastian Lague video on this (cleaner explanation): https://www.youtube.com/watch?v=M3iI2l0ltbE&list=PLFt_AvWsXl0ehjAfLFsp1PGaatzAwo0uK&index=22 ---|Notes|--- The project reminds you to use Turbowarp. Here's the link: turbowarp.org/1206206945 Sometimes there are holes in the rocks because the points are on and off in a strange way. This doesn't mean it's not working. The triangles light up based on your submarine's position. ---|Credits|--- Thanks to Sebastian Lague for the algorithm and even the underwater idea! Thanks to this website for the triangulation table! https://gist.github.com/dwilliamson/c041e3454a713e58baf6e4f8e5fffecd Thanks to Pixabay for the music! All the rest is by me. This project took me roughly about a week to make (lots of work spent on the submarine alone), so please don't say mean things about it. Just give nice suggestions, if any. Thank you! :)