π 3D Image Vectorizer is an open-source tool that transforms raster images into scalable 3D vector graphics using Three.js and Vite. This project demonstrates real-time image processing, depth mapping, and smooth vectorization in a browser.
π Read the full article: JSDev Space
- π Upload raster images (PNG, JPG, etc.).
- π¨ Convert images into 3D vector graphics using WebGL.
- πΎ Download vectorized images as PNG.
- β‘ Fast and efficient rendering with Three.js.
- π― Built with TypeScript, Vite, and Tailwind CSS.
git clone https://github.com/yourusername/3d-image-vectorizer.git
cd 3d-image-vectorizernpm installnpm run devOpen http://localhost:5173 in your browser.
To create an optimized build, run:
npm run buildThen serve the production build with:
npm run preview- Click the "Upload Image" button to select an image.
- The image will be vectorized into a 3D representation.
- Use the mouse to rotate and zoom the vectorized model.
- Click "Download" to save the processed image.
- Three.js β 3D rendering engine.
- Vite β Fast development server.
- TypeScript β Type-safe JavaScript.
- Tailwind CSS β Utility-first styling.
This project is licensed under the MIT License.
π¨βπ» Contributions are welcome! Feel free to submit issues and pull requests.
π₯ Star this repo if you find it useful! β