Applications
From JCurlWiki
Contents |
JCurlShotPlanner a.k.a. Tactics Demo Application
Download & Launch
the Java Webstart demo application.
Java Webstart will ask three times if you trust the application. This is
- for the application itself (~ 150 K download),
- some 3rdparty libraries I bundled extra to avoid further downloads when the application changes (~ 700 K download)
- the batik svg libraries (~ 250 K download)
So the very first launch will download all the program, 3rdparty and batik libs while subsequent launches will download the program files only and only if there's a new version.
Demo Data
I prepared some situations to download (use File->Open URL or CTRL-SHIFT-O to open them)
- http://www.jcurl.org/demo/hammy-dangerous-draw.jcz
- http://www.jcurl.org/demo/hammy-insane-takeout.jcz
- http://www.jcurl.org/demo/hammy-minimum-takeout.jcz
- http://www.jcurl.org/demo/hammy-scotch-takeout.jcz
- http://www.jcurl.org/demo/hammy-hooligan-takeout.jcz
- http://www.jcurl.org/demo/hammy-raised.jcz
- http://www.jcurl.org/demo/hammy-wicked.jcz
- http://www.jcurl.org/demo/hngrrrr.jcz
What's under the hood
- Physics: rock-ice friction & curl[1], collissions
- Analytic Geometry: curve interpolation with cubic bezier curves, curve distance (with derivative), curve intersection (with derivative), curve transformation (with derivative)
- Numerical Mathematics: root finding (newton & bisection)
- Computer Algebra: maxima calculations
- 2D Graphics: zoomable user interface and a scenegraph
- Imaging: export PNG and SVG
- GUI: swing application framework, full undo/redo support
- Deployment: Java Webstart, pack200 via php on a LAMP (without M) server
- Build: maven
What's not there
- Literature
- Biology
- Business
- Web2.0 / J2EE / Spring / Ruby
- Multitouch
- Action
Nice to have
- selective Undo
- builtin online Collaborative Editing
- support sweeping rocks (lacking physical model)
- manage sets of multiple shots plus slideshow (lacking managing gui)
- annotate or tag shots (lacking managing gui)
- publish or share set of shots online
- animation (replay in realtime or fast motion)
Development Resources
References
Troubleshooting
If the "Launch" link above doesn't launch Java Webstart visit Sun's Webstart demo page and try to launch the applications there. Follow the troubleshooting intructions if necessary and return here when Java Webstart is set up properly.
If you're not sure what this Webstart is all about - there's a nice Wikipedia article.
Unable to launch the application
If you see this dialog, click the "Details" button to see what's wrong.
Unable to load the resource
JWS Cache Manager. |
The "Details" speak of "Unable to load resource".
Cause:
The application wants to load a file that's not there. This is typical after internally reorganising dependencies.
Cure:
Use the Java Webstart Cache Manager to delete all jcurl stuff (URLs starting with http://www.jcurl.org) and launch the desired application again.
Window Frame without Content
A dialog without content comes up.
Cause:
The application wants to use OpenGL but that doesn't work right. It's related to Rendering issues on Vista caused by use of GDI and DDraw on onscreen surfaces
Cure:
Complain to the application publisher to disable OpenGL usage for your platform.

