This is a Python application that uses Pygame to create an interactive drawing environment with menu options for drawing, erasing, exporting coordinates, and hiding the menu.
Ensure you have Python installed (Python 3.x recommended). You can download it from python.org.
Use the following command to install the required dependencies:
pip install pygame
To start the application, run the following command in your terminal or command prompt:
python main.py
- Draw on the screen within a defined perimeter box.
- Erase the drawing.
- Export drawn coordinates to
FlightCoordinates.csv
. - Toggle the menu visibility.
project_directory/
│-- main.py # Main application script
│-- config.py # Configuration settings
│-- draw.py # Drawing utility functions
When exporting, a file FlightCoordinates.csv
will be created with the following format:
"X","Y"
"100","200"
"150","250"
...
- Left Click: Start drawing (if in DRAW mode) or erase (if in ERASE mode).
- Mouse Scroll Up/Down: Zoom in/out.
- Menu Options: Click on menu options to switch between modes.
- Close Button: Exit the application.
This project is for educational purposes. Modify and expand as needed!