Playground

This is my SVG playground.
If there is something I want to try out or study then this is the place you will find it.
Some of these things might fanish or become projects of their own.
JavaScript classes used in the examples are either stored inside the files themselfes or can be found in the "ext" folder of the jsolait distribution.

EventFilter

My suggestion for an EventFilter.

constrained attributes

An example for attribute constraining.

grouped focus controll

A little focuse controll study.

SVG 1.2 network impl.

The raw sockets connection impl. for SVG 1.2.
This will only run in Batik!

SuperFormula

This uses Johan Gielis' superformula to create paths
To make it easy one can use namespaced elements in the document to specify the parameters for the formula.

SuperFormula animation

An animation using the superformula.

SuperFormula editor

An editor for the SuperFormula.

BNF visualization

This is a little BNF parser which visualizes the rules using rail diagrams.
To make it simple the user just has to add a <bnf:rail></bnf:rail> element containing the BNF data.
The parser is just an afternoon hack. Lots of cut and paste code, especially in the visualization part. Not pretty, but it works. :)
If I have the time I might keep working on it and turn it into an actual project.

BNF editor

This one just uses the BNF parser and a textbox to allow input of BNF.
The notation understood by the parser is actually a variation of BNF:
NonTerminals are just words
Terminals mut be in quotes "" or ''.
alternatives are written as [alt1 | alt2 | alt3]. you can also leave out the |
to create groups use ( ... )
A ? behind a terminal, nonterminal or a group specifies 1 or no occurences
A + behind a terminal, nonterminal or a group specifies 1 or more occurences
A * behind a terminal, nonterminal or a group specifies 0 or more occurences
A rule must end with a ".".