Built with 💕 using SolidJS.
Inspired by Texture Ripper by Hendrik-Jan Schoenmaker.
Note
This section may be incomplete and will be updated during app development.
TL;DR: Upload an image, draw rectangles, view the result, and download the texture.
Drag and drop an image onto the app to upload it.
The left region is the uploaded image. Draw quads on the image to crop the texture. Press left click to add points, right click to remove the last point. Hold space and move the mouse to pan the image. Hold space and scroll the mouse wheel to zoom in and out.
The right region is the texture. The texture slices will be projected onto the rectangles. Rectangles have a width of a top side of the quad (marked by red arrow) and height of smaller adjacent side. Press the "Download" button to download the texture. Hold space and move the mouse to pan the image. Hold space and scroll the mouse wheel to zoom in and out.
$ npm install
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.
Builds the app for production to the dist
folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Learn more about deploying your application with the documentations.