Brian, it definitely looks like it's something with the webgl code
instead of what you are doing with J. I am not familiar with webgl so
I will need to read up on it.

I can say it's webgl/javascript because I get the same behavior of
wiping out the canvas if I just paste lines like this into the
javascript console (developer tools)

drawPrimitive( gl.LINES, [0,1,0,1], [ 0,-2,0, 0,2,0] );

I suspect it has something to do with the coordinates or drawing logic.
I may do some more research tomorrow on it

On Sat, Mar 8, 2014 at 5:25 PM, Brian Schott <[email protected]> wrote:
> Joe,
>
> Thanks for the offer. I have put the code here. https://dpaste.de/qJge
> Believe it or not it is dumbed down, even though it is long.
> The main trick I used to trim it was to replace the usual user input, which
> is something like `fd 20`, with the suggested jhrajax input.
>
> Let me know if there is a problem, please.
>
>
> On Sat, Mar 8, 2014 at 3:47 PM, Joe Bogner <[email protected]> wrote:
>
>> Hi Brian - It sounds like it should work if you are evaluating a drawLines
>> call after each ajax request and not refreshing the whole page.
>>
>> Can you post the full code or at least the part that handles the ajax
>> response to better diagnose?
>>
>>
>
> --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to