Skip to content

ctipper/GesticulateFX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GesticulateFX, a freehand drawing app

An app for sketching freehand diagrams. GesticulateFX is not geared towards graphic design and is intended to be used for more casual scenarios where it is required to be able to sketch an idea with some notation and then to be able to export to a variety of formats.

It supports vector shapes, curve-fitted lines, images may be pasted or imported from shell and there is a mapping component.

To build and run, a JAVAFX_HOME environment variable needs to be set and this uses the latest javafx release. mvn clean compile exec:exec

Platform builds are in the site directory using ant script. This assumes that JDK is in ~/Applications folder.

An ant runner is provided mvn clean package -P ant-builder for app bundle or mvn clean install -P ant-builder for platform installer.

GesticulateFX, sketch freehand diagrams using JavaFX

Possible directions

1 - The branch inputstream represents a naïve implementation of input method event handling for the text editing feature. It currently has no effect, even though a best effort has been made to use patterns from an existing java implementation (not published).

Any help complying with javafx frameworks for IME is appreciated, though I strongly suspect github.com/openjdk/jfx has not envisioned this scenario and that much work needs to be done upstream. Be careful, this branch is unstable due to needs to keep in sync with the code base.

2 - Text editing currently is a very simple implementation. To provide multi-line text blocks with formatting requires a much more robust framework using methods analogous to github.com/ProseMirror/prosemirrror which uses a flattened-node composer which is then serialised both to UI and to backing store. I do not know how to implement this and obviously prosemirror is a robust text editing tool with many capabilities that I do not need to implement. It is also written for the web.

About

An app for sketching freehand diagrams

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages