This is the code for the ray marching code pen: https://codepen.io/NabilNYMansour/pen/JjqoLJe
Raymarching is a technique used in computer graphics to render 3D scenes defined with Signed distance functions instead of the standard polygonal geometry. This is a simplified scene in three.js.
To run this repository:
- Clone the repository
git clone https://github.com/NabilNYMansour/ThreeJS-RayMarcher
- Install the necessary packages and run the local server
yarn && yarn dev
- Open
http://localhost:5173/
on your browser