« GWT apps » : différence entre les versions

De Lillois Fractale Wiki
Aller à la navigation Aller à la recherche
Contenu ajouté Contenu supprimé
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 5 : Ligne 5 :
== App List ==
== App List ==


[[Spiral (app)|'''Spiral''']] : 


[[Polyhedron (app)|'''Polyhedron''']] : a study on numerous variants of animated polygons

[[ZeKlok (app)|'''ZeKlok''']] : a funny clock

[[Heron (app)|'''Heron''']] : computing the surface of a triangle

[[Versary (app)|'''Versary''']]: an extended variartion of birthday and birtday reminder

<br>


{| cellspacing="1" cellpadding="1" border="1" width="800"
{| cellspacing="1" cellpadding="1" border="1" width="800"
Ligne 28 : Ligne 18 :
| a funny clock by Philippe. One of the original feature of ZeKlok is the separation of the inner (night) and outer (day) spires. <br>
| a funny clock by Philippe. One of the original feature of ZeKlok is the separation of the inner (night) and outer (day) spires. <br>
|-
|-
| KlokoDream]<br>
| [http://m3m.homelinux.org/fx/klokoDream KlokoDream]<br>
| a funny clock by Paul<br>
| a funny clock by Paul<br>
|-
|-

Version du 4 janvier 2015 à 19:19

Tech Intro

This page contains links to various MatscApp (Matscape Apps). These are java FX applications developped by the author.

App List

Spiral
basic animation drawing
Polyhedron
a study on numerous variants of animated polygons . It shows animated versions of the 5 basic platonic solids described by Pythagoras.
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
a funny clock by Paul
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.
Properties
display JVM properties

Tech notes

Modes

The apps are accessible in 2 modes:

  • The webstart mode opens a separate (nearly standalone) window
  • The embedded mode opens a new browser page (this may take some time to load)

During the development, the apps are tested in standalone mode.

Technology

The underlying technologies are:

  • Java, JavaFX (NetBeans IDE projects)
  • a bit of bash and php
  • 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.

  1. In the defineAnims() segment ofg the animFXapplic, initialize the global var passwordApplic.
  2. 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 fx bash script.