Software:Visual Graphics

From HandWiki

}}

Visual Graphics is an open-source application framework licensed under the MIT License. The aim of Visual Graphics is to be able to create and distribute full featured Desktop like applications for Web browsers. It is written entirely in JavaScript and utilises WebGL to draw its user interface. It is being developed by Markus Moenig.

Purpose and abilities

Visual Graphics aims to be able to generate applications for web browsers which behave like applications typically employed in a Desktop based environment. It provides a JavaScript based API for development as well as tools to publish finished applications to the World Wide Web.

Visual Graphics supplies a range of widgets which can be arranged in layouts.

As Visual Graphics utilises WebGL it is able to draw complex user interfaces in up to 60 fps.

Structure of a Visual Graphics application

The main entry point of a Visual Graphics application is the vgMain() function which is called by the Visual Graphics framework. A "Hello, World!" program in Visual Graphics looks like this:

function vgMain( workspace, argc, arg )
{
    var label=VG.UI.Label( "Hello World!");
    label.horizontalExpanding=true; // Center it horizontally

    workspace.content=VG.UI.Layout( label );
};

Versions

The current version of Visual Graphics is v0.33 and Visual Graphics is currently in alpha state.

See also