r/java • • Jun 09 '26

Created a simple, minimal Canvas Application in JavaFX

Post image

After like a year finally getting back to JavaFX, decided to make an excalidraw inspired app for fun. It's a very minimal canvas app with basic features.

Source code : ExplainFX

Features

  1. Drawing
  2. Create Squares and Circles
  3. Text
  4. Vary stroke size/font size
  5. Copy, paste, duplicate, lock, delete objects
  6. Move the objects once they are drawn
  7. Move camera via mouse

Please let me know if you have any questions!

190 Upvotes

58 comments sorted by

View all comments

Show parent comment

2

u/gufranthakur Jun 10 '26

thats a good idea, i think some apps do that. And I dont know what you mean by AI in this scenario, but you can do this with some programming and algorithms. Maybe for the fonts, a deep learning model would be needed

3

u/hippydipster Jun 10 '26

Traditionally, AI is a very general term. Some things might need pattern matching NNs to detect intent, ocr my crappy handwriting, that sort of thing.

1

u/gufranthakur Jun 10 '26

yep. Nowadays people mostly think of LLM’s. If you ask a new developer to integrate AI functionality, their first instinct will be to add a Gemini API key in their environment files