Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Simple Erlang Browser Graphics
JavaScript Erlang
Branch: master
Failed to load latest commit information.
clipper updated documentation
svg a few improvments
work added resize handle
MIT-LICENSE first commit
Makefile first commit added comment
Readme first commit
addbookmark.erl added clipper chrome extension
demo1.erl new structure
demo2.erl new structure
demo3.erl new structure
drag4.svg added handler for mouseup
favicon.ico improved messages from sebg.erl added a favicon.ico
generic.html removed dependency on min.js
generic.js added clipper chrome extension
gui1.erl first attempt at a dynamic gui - pushing gui objects to the browser
index.html updated documentation
jquery-1.5.min.js first commit
notes.txt added text
openchrome first commit
raphael-min.js first commit
raphael.erl new structure
sebg.erl added clipper chrome extension
svg_lib.js added library for svg in subdirectory svg
svg_test.html added library for svg in subdirectory svg
test1.html how to make a dynamic button

Simple Erlang Browser Graphics

With SEBG you can push asynchronous commands to a browser window.

For example, the following three Erlang commands:

Pid ! {eval, "document.body.innerHTML='';"},
Pid ! {eval, "'red';"},
Pid ! {eval, "document.body.innerHTML+='<h1>Hello World</h1>'"},

Will erase all content on the current web page. Make page red and say hello world.

The web page runs a universal script. It waits for message containing Javascript, then evaluates it and waits for the next message.


Look in drag4.svg and svg_test.html. At the top of svg_test.html I have some outstanding problems. Try to fix these.

Something went wrong with that request. Please try again.