Re: Great canvas article and demo

2013-09-16 Thread Tomas Hlavaty
Hi Klaus, Klaus Schilling writes: > From: Alexander Burger >> > as a proof of concept, I have implemented your zapper demo using svg and >> > without any javascript, see http://logand.com:2234/ >> >> Very nice indeed! SVG is a good alternative to Canvas, it seems. >> > Would it also be feasibl

Re: Great canvas article and demo

2013-09-16 Thread Tomas Hlavaty
Hi Alex, Alexander Burger writes: > But what surely works well is Gnuplot. We used it in the mentioned > project to draw the final data. Code fragments: the advantage of gnuplot is that you get lots of drawing features for free. Btw, it looks like gnuplot can generate svg: http://www.gnuplot.in

Re: Great canvas article and demo

2013-09-16 Thread Tomas Hlavaty
Hi Jakob, Jakob Eriksson writes: > On September 16, 2013 at 9:30 AM Tomas Hlavaty wrote: >> >> 3) I guess most of the overhead of the http request is probably >>establishing the connection. My bett is that it doesn't really >>matter if you send 1kB or 5kB of data. For example, if I run

Re: (path "@lib/") does not work with local installation?

2013-09-16 Thread Alexander Burger
Hi Thorsten, > Ok, but then the question remains how to get (in a program) the absolute > path to the PicoLisp installation the programs runs in when you assume a > local installation was invoked - but you have no idea how? > > I thought about combining (cmd) and (path ...), but that doesn't help

Re: (path "@lib/") does not work with local installation?

2013-09-16 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, > No, in fact this is the intended behavior of how the PicoLisp I/O > functions expand the "@". > > The value is determined from how it was invoked. If you call it with > >$ ../../foo/bar/pil + > > then "@" expands to "../../foo/bar/", and if you call it as

Re: Great canvas article and demo

2013-09-16 Thread Jakob Eriksson
On September 16, 2013 at 9:30 AM Tomas Hlavaty wrote: > > 3) I guess most of the overhead of the http request is probably >establishing the connection. My bett is that it doesn't really >matter if you send 1kB or 5kB of data. For example, if I run this It might matter, the only way t

Re: Great canvas article and demo

2013-09-16 Thread Alexander Burger
On Mon, Sep 16, 2013 at 10:20:03AM +0200, Klaus Schilling wrote: > Would it also be feasible to use (encapsulated?) postscript instead of > SVG? Probably. But what surely works well is Gnuplot. We used it in the mentioned project to draw the final data. Code fragments: In a library file: #

Re: Great canvas article and demo

2013-09-16 Thread Klaus Schilling
From: Alexander Burger Subject: Re: Great canvas article and demo Date: Mon, 16 Sep 2013 08:25:25 +0200 > Hi Tomas, > > > as a proof of concept, I have implemented your zapper demo using svg and > > without any javascript, see http://logand.com:2234/ > > Very nice indeed! SVG is a good alternat

Re: Great canvas article and demo

2013-09-16 Thread Tomas Hlavaty
Hi Joe, Joe Bogner writes: > I was playing around with your demo and ran a little bookmarklet that > would refresh the stepped version automatically. > > I first included jquery through a bookmarklet. Then, I pasted this > into my javascript console window: > > var refresh = function(location) {