This project is a web application that converts SVG files into Blot JavaScript code 😃.
- Upload SVG files
- Preview the uploaded SVG
- Convert SVG to Blot JavaScript code
- Download the converted JavaScript code
- Download polyline data extracted from the SVG
-
Clone the repository:
git clone https://github.com/AL-Sayed1/create_blot cd create_blot
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit application:
streamlit run main.py
-
Open your web browser and go to the URL provided by Streamlit (usually
http://localhost:8501
). -
Upload an SVG file using the file uploader.
-
Preview the SVG on the left side of the interface.
-
Download the converted Blot JavaScript code or the polyline data using the download buttons on the right side of the interface.