https://github.com/doppelgunner/shapedrawing
A simple drawing program using shapes from awt package
https://github.com/doppelgunner/shapedrawing
awt doppelgunner drawing graphics graphics2d java shape youtube
Last synced: about 1 month ago
JSON representation
A simple drawing program using shapes from awt package
- Host: GitHub
- URL: https://github.com/doppelgunner/shapedrawing
- Owner: doppelgunner
- Created: 2017-02-12T02:59:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T11:01:58.000Z (about 9 years ago)
- Last Synced: 2025-02-27T21:52:04.656Z (over 1 year ago)
- Topics: awt, doppelgunner, drawing, graphics, graphics2d, java, shape, youtube
- Language: Java
- Size: 250 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShapeDrawing
A simple drawing program using shapes from awt package
Watch [youtube demo](https://youtu.be/oTU7bWZ3zPg)
## Run & Compile
* **Compile** - javac -cp ".;ImageTracer.jar;" CartoonDrawing.java
* **Run** - java -cp ".;ImageTracer.jar;" CartoonDrawing
* **Compile jar (sample)** - jar cvfm CartoonDrawing.jar Manifest.txt -C:/Users/username/Desktop/CartoonDrawing/ .
## Important
* Use data.txt to change the save/load path and image path
## Samples (original(far left) - then drawings)







## Samples SVG types using ImageTracer




## Important Controls
* **[F]** - toggle draw or fill shape
* **[H]** - toggle hide or show image
* **[J]** - toggle hide or show drawing
* **[Z]** - undo(becareful no redo yet)
* **[Q]** - change shape to draw
* **[Mouse Wheel]** - stroke of the line of shape
* **[Left click mouse]** - draw
* **[middle click mouse]** - ctrlPoint1 - for curves
* **[right click mouse]** - ctrlPoint2 - for curves
* **[SPACE]** - to add shape to memory
* **[S]** - save current work(memory) to filepath - replace previous
* **[L]** - load from file path previous work
* **[P]** - save to png image format
* **[O]** - save to svg image format(may produce low quality results)
## References
* [ImageTracer by jankovicsandras](https://github.com/doppelgunner/ShapeDrawing/blob/master/images/VSpecial_drawing.PNG)