To run the program on intellIJ, you have to add javafx control module to the project: Run > Edit Configurations > VM options > then add
--module-path [PATH OF YOUR JAVAFX LIBRARY]/lib --add-modules javafx.controls
out/artifacts/ASCII_ART_jar
and run run.sh
.