Page 1 of 1
JSFBGL :: JavaScript FrameBuffer Graphic Library
Posted: Sat Sep 23, 2006 11:08 am
by benny
Hi all,
today I released
JSFBGL :: Javascript Framebuffer Graphic Library !
It is a little experimental art project to provide a graphic library similar to
TinyPTC e.g. in JavaScript. Do not take it too seriously
Project Site:
http://www.weltenkonstrukteur.de/?site=works&prd=jsfbgl
Direct Download :
http://www.weltenkonstrukteur.de/dl/jsfbgl.zip
Three examples are available online (see project site):
Any feedback welcome.
Posted: Sat Sep 23, 2006 11:39 am
by thamarok
Really nice, but your library seems to be a little slow.
Check this out (it's not mine):
http://assembler.org/xlat/
Posted: Sat Sep 23, 2006 12:36 pm
by DarkDragon
Re: JSFBGL :: JavaScript FrameBuffer Graphic Library
Posted: Sat Sep 23, 2006 12:52 pm
by traumatic
Posted: Sat Sep 23, 2006 10:38 pm
by benny
thamarok wrote:Really nice, but your library seems to be a little slow.
Thanks. And you are right. This lib is definately slow - or what I wrote on my
page ....
rather cpu-consuming. But this is just an experimental approach
to simulate a framebuffer in javascript without having a fast memory copy
possibility to assign a frame buffer to the actual drawing buffer. So keep the
'table' (buffer) as small as possble.
This looks like a nice engine. However I think this engine focuses more on
moving dhtml layers around than on manipulating certain 'pixels'. I do not
want
to depreciate that engine but it seems to be a different approach. Anyway,
thanks for posting that link
@DD: thx !
@traumatic: long time no see. how's life ? <crypt>heard from rings that
you had your birthday of your third life side in wolfsburg-hope everything
ran fine. i'll try to catch you on irc the other day</crypt>
Posted: Sun Sep 24, 2006 7:19 pm
by benny
Added a new fx.
Pixelfade - pixelwise fading between two pictures.
Watch it here :
http://www.weltenkonstrukteur.de/?site=works&prd=jsfbgl
Posted: Sun Sep 24, 2006 8:31 pm
by benny
Added: a little commandline tool (written in pb) that converts any bitmap
file into a javascript array source code for using it with jsfbgl.
Download link remains the same (see
jsfbgl_bin/ folder):
http://www.weltenkonstrukteur.de/dl/jsfbgl.zip
Posted: Mon Sep 25, 2006 12:06 am
by ricardo
benny wrote:Added: a little commandline tool (written in pb) that converts any bitmap
file into a javascript array source code for using it with jsfbgl.
Download link remains the same (see
jsfbgl_bin/ folder):
http://www.weltenkonstrukteur.de/dl/jsfbgl.zip
How to use it? This generate a file?
Posted: Mon Sep 25, 2006 6:46 am
by benny
ricardo wrote:How to use it? This generate a file?
Yup. It just simply puts out an array containing the html-colors as a java-
script source. This can be used in this library. So far, the library doesnt
support a buildt in
loadImage function - so you have to do it by your-
self atm.
I enclosed the
Pixelfade example in this package so you can see how
it works (
http://www.weltenkonstrukteur.de/dl/jsfbgl.zip )
The converter usage is like this :
Code: Select all
bmp2jraw.exe src.bmp dst.jraw array_name
Posted: Mon Sep 25, 2006 8:58 pm
by benny
coded a little snake game today using jsfbgl. Resolution is a 20 cell * 20 cell large html-
table. Each table 6*6pixel big. Well, just to prove that even simple games are possible to
be played in a html-table
Play it online :
http://www.weltenkonstrukteur.de/?site=works&prd=jsfbgl
Posted: Tue Oct 10, 2006 6:31 pm
by dracflamloc
Pretty neat idea =)