« GWT apps » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
== Tech Intro == |
== Tech Intro == |
||
This page contains links to various MatscApp ([http://www.matscape.com Matscape] Apps). These are [http://en.wikipedia.org/wiki/JavaFX |
This page contains links to various MatscApp ([http://www.matscape.com Matscape] Apps). These are [http://en.wikipedia.org/wiki/JavaFX javaFX] applications developped by the author. |
||
It is possible to launch these apps online in two modes: |
It is possible to launch these apps online in two modes: |
Version du 10 janvier 2015 à 19:32
Tech Intro
This page contains links to various MatscApp (Matscape Apps). These are javaFX applications developped by the author.
It is possible to launch these apps online in two modes:
- embedded: the app is embedded within the browser
- webstart: in a separate window (in 'jnlp' mode)
But in development a third faster mode (standalone mode) is used.
This works with Firefox, Opera, IE, Safari. But Java is no more supported by Google Chrome.
If you want to see the applications, you should accept to trust them (and the author).
When the app is running in webstart or standalone mode, various control actions are possible:
- ctrl-alt-Q exits
- ctrl-alt-M sets/unsets monitoring mode
- ctrl-alt-H halts/resumes animation
- ctrl-alt-F sets/unsets full screen mode
App List
Embedded | WebStart | Description |
---|---|---|
Spiral |
Spiral |
basic animation drawing |
Polyhedron |
Polyhedron |
a study on numerous variants of animated polygons . It shows animated versions of the 5 basic platonic solids described by Pythagoras. |
ZeKlok |
ZeKlok |
a funny clock by Philippe. One of the original feature of ZeKlok is the separation of the inner (night) and outer (day) spires. |
KlokoDream |
KlokoDream |
a funny clock by Paul |
FuzzyCircle |
FuzzyCircle |
The sun seen as a fuzzy circle |
Function |
Function |
Display a function f(t) |
3D-tree |
3D-tree |
a gently growing 3D tree |
Yumans |
Yumans |
Affinities and mutation in human society, a minimal model |
Oscillo |
Oscillo |
simple 2D oscillator |
Fractal |
Fractal |
a fractal moving tree |
Lines |
Lines |
just random moving lines |
Alors |
Alors |
Bubble tests |
Multo |
Multo |
Multiple occurrences of an animated frame |
Password |
Password |
A password control access to an animated app |
Control |
Control |
Show animation control |
Heron |
Heron |
computing the surface of a triangle. The formula used for the computation was found in the first century of our era by Heron, in Alexandria. |
no |
no |
S'il est juste qu'un anniversaire représente un écho temporel remarquable (un nombre entier de rotation autour du soleil depuis l'événement original), il semble que d'autres échos temporels puissent être également déclarés remarquable. C'est le cas pour certains mensiversaires (mois), hebdoversaires (semaines) et diversaires (jours), en particulier lorsque les multiples sont des nombres remarquables. Par exemple 10 000 jours ou 300 mois représentent des échos célébrables d'événements originaux. |
PropJVM |
PropJVM |
display JVM properties |
Tech notes
Technology
The underlying technologies are:
- Java, JavaFX (NetBeans IDE projects)
- a bit of bash and php
- a deployment script (afxDeploy)
- several specialized libraries from Matscape, including animation libraries.
Note that this animations are good examples of JavaFX development and deployment.
Browser support
Depending on OS (windows, MAC, Linux), on browsers (Firefox, Chrome, Opera, IE), and on security settings, some modes may not work...
Software Sources
All MatscApp objects are basically (java) animFXapplic objects.
They are defined as NetBeans projects, in the directory $jnb.
Examples of AnimFXApplic objets are in the AnimFXLab project.
An AnimFXApplic should at least contain:
- package and include statements
- class declaration (extends animFXapplic)
- a defineAnims() method implementation
- a subclass of animPane, with 3 methods at least: draw(), butEvent() and moveEvent().
Password protection
All MatscApp may be password protected. Here are the steps to organize it.
- In the defineAnims() segment of the animFXapplic, initialize the global var passwordApplic.
- The password management is covered by the class mscp.util.password (part of the mslib project). To create, reset or check password, use the bash command : run password . This application provides more explanation on the possible password tasks.
MatscApp deployment
The deployment is realized through the bash script defined withiun the netBeans projects (typically A_deploy.bash).