Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 29 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,43 @@
# DemoFX
Performance test platform for JavaFX.

Performance test platform for JavaFX.
Effects can be layered and scheduled on a timeline.

Videos of the demo effects:

Part I : https://www.youtube.com/watch?v=N1rihYA8c2M
* Part I : https://www.youtube.com/watch?v=N1rihYA8c2M
* Part II: https://www.youtube.com/watch?v=WZf0j4GUFYM
* Part III: https://www.youtube.com/watch?v=9jztG_l8qrk
* Christmas Demo 2017: https://youtu.be/npxfaHAAjBQ
* More Moiré: https://www.youtube.com/watch?v=B48aeSd379w

Part II: https://www.youtube.com/watch?v=WZf0j4GUFYM
Used to discover the best techniques for optimising JavaFX performance on the Raspberry Pi and Desktop.

Part III: https://www.youtube.com/watch?v=9jztG_l8qrk
## Compile

Christmas Demo 2017: https://youtu.be/npxfaHAAjBQ
### Gradle

More Moiré: https://www.youtube.com/watch?v=B48aeSd379w
```
./gradlew jar
```

Used to discover the best techniques for optimising JavaFX performance on the Raspberry Pi and Desktop.
### Maven

Compile with gradle:
```
./gradlew jar
mvn clean package
```

Run with:
## Run

Get the latest OpenFX from [the Gluon website](https://gluonhq.com/products/javafx/),
e.g. in `/opt/javafx-sdk-16`.

![](screenshots/colorbackground-stars.jpg)
![](screenshots/rainbow-bounce.jpg)


```
./run.sh [options]
bash run_on_mac.sh [options]

-e <effects> comma separated list of effects (See SimpleEffectFactory)
-t <seconds> run for t seconds
Expand All @@ -47,9 +60,10 @@ rawplayer, raytrace, rings, rotations, sea, sheet, shift, sierpinski, sinelines,
sprite3d, spritewave, squares, starfield, starfieldsprite, stars, texcube,
texsphere, textbounce, textlabel, textlayers, textring, textwave, textwavesprite,
tiles, triangles, tubestack, tunnel, twister, typetext, vumeter, wordsearch

```

Examples:

```
# Default settings
./run.sh
Expand Down Expand Up @@ -81,14 +95,17 @@ Examples:
#More Moiré scripted demo
./run.sh -s moire -f true -w 1280 -h 720
```

In order to run in another java version, like java 9. JAVA_HOME should be set.
In MAC:

```
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
./run.sh
```

If the frame rate is not vsynced on Ubuntu then run:

```
export _JAVA_OPTIONS="-Dquantum.multithreaded=false"
```
10 changes: 0 additions & 10 deletions build.gradle

This file was deleted.

Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

164 changes: 0 additions & 164 deletions gradlew

This file was deleted.

90 changes: 0 additions & 90 deletions gradlew.bat

This file was deleted.

Loading