Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Erlang Browser Graphics
branch: master

This branch is 11 commits behind joearms:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
MIT-LICENSE
Makefile
README.md
Readme
demo1.erl
demo2.erl
demo3.erl
drag4.svg
favicon.ico
generic.html
generic.js
gui1.erl
index.html
joeold.jpg
jquery-1.5.min.js
notes.txt
openchrome
raphael-min.js
raphael.erl
sebg.erl
svg_lib.js
svg_test.html
test1.html

README.md

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, "document.body.style.backgroundColor='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.

Volunteers

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.