Skip to content

amp-m9/figures

Repository files navigation

Figures

bann err

Figure drawing class application written in Java using JavaFX for the UI. Will use an image folder the user points to as image source. Still in early alpha.

Once acquired you can also get some free reference photos (some NSFW) from reference.pictures/free/ to use with the app.


Screenshots

Start screen

image

Session

image

Session: grid on

image

Session: grayscale mode

image

Pause screen

image

Break screen

image

Download

You can simply download the app for your platform from the releases page if on Linux/Windows, alternatively you can build it yourself.

NOTE LINUX USERS: If on Linux you have to mark it as executable in the terminal in order to use it by running

sudo chmod +x figures_linux_x64

where you have downloaded the executable.

Once acquired you can also get some free reference photos (some NSFW) from reference.pictures/free/ to use with the app.

Build with maven and warp-packer.

prerequisites

Get warp-packer and store it in the root folder of the project.

Linux/MacOS

Then run the following, replacing [PLATFORM] with one of the following options:

  • linux-x64
  • macos-x64(untested)
mvn clean javafx:jlink
mkdir release
./warp-packer --arch [PLATFORM] -i ./target/figures/ --exec bin/figures --output ./release/figures

Windows

Windows install requires a bit more work.

  • Run mvn clean javafx:jlink
  • modify target\figures\bin\figures.bat.
    • replace "%DIR%\java" at the start of the last line with start "" "%DIR%\javaw" making sure it says javaw and not java
    • add && exit 0 to the end of the last line.
    • last line should now read as follows/similar
      start "" "%DIR%\javaw" %JLINK_VM_OPTIONS% -m xyz.andrick.figures/xyz.andrick.figures.FiguresApplication %* && exit 0
  • run the following
    mkdir release
    warp-packer --arch windows-x64 -i ./target/figures/ --exec bin/figures.bat --output ./release/figures.exe

now find figures.exe in the releases foler of the project :)