Search found 7 matches

by Tim Butler
Tue Feb 13, 2018 10:39 am
Forum: Software Library
Topic: Line drawing support
Replies: 31
Views: 25174

Re: Line drawing support

Here's another example of LINE. I've written a crude D3PLOT demo that uses a D3DRAW to render a matrix of homogenous coordinates Trying D3PLOT and getting 'Nonexistent' message, at line 85 RCLx "D3DV" First run D3CFG to set the viewport. Set the view variables and then PRESS R/S to initia...
by Tim Butler
Tue Feb 13, 2018 9:51 am
Forum: Software Library
Topic: Line drawing support
Replies: 31
Views: 25174

Re: Line drawing support

I wouldn't worry about the cost of executing MVAR or other no-ops. Executing programs is pretty efficient. You can see all the relevant code just by looking at continue_running() in common/core_main.cc. Thanks for taking the time to confirm this. It's wonderful to have an authoritative answer and t...
by Tim Butler
Tue Feb 13, 2018 9:47 am
Forum: Software Library
Topic: Line drawing support
Replies: 31
Views: 25174

Re: Line drawing support

Here's another example of LINE. I've written a crude D3PLOT demo that uses a D3DRAW to render a matrix of homogenous coordinates [[ x0 y0 z0 1] [ x1 y1 z1 1] ...] in a viewport configured by D3CFG. d3demo_example.jpg Like, you totally knew this was coming, right? It's sooo late eighties. First run D...
by Tim Butler
Tue Feb 13, 2018 4:54 am
Forum: Software Library
Topic: Line drawing support
Replies: 31
Views: 25174

Re: Line drawing support

But at least your NPGON-program for the whole program even after the VARMENU-command. What is the advantage of doing so? I'm using MVAR commands in the middle of a program as string comments that let me get my bearings when I'm editing programs on the calculator. Also I've added a "version&quo...
by Tim Butler
Mon Feb 12, 2018 5:40 pm
Forum: Software Library
Topic: Line drawing support
Replies: 31
Views: 25174

Re: Line drawing support

Thanks. How can I test e.g. LINE with a full display resolution? The sort answer is change your display to "full resolution" and then call LINE (e.g 1 1 400 240 LINE2). So perhaps you are asking how to change the display to "full resolution"? The official answer is in the DM 42 U...
by Tim Butler
Sun Feb 11, 2018 9:37 pm
Forum: Software Library
Topic: Line drawing support
Replies: 31
Views: 25174

Line drawing support

Here is my shot at LINE, with added support to draw a PATH of segments (open or closed) stored in matrix and a demonstration NPGON, which draws some nested polygons. NPGON_example.jpg LINE y1 x1 y2 x2 -> T Z Y X (x1, y1) (x2, y2) -> Y X LINE2 x1 y1 x2 y2 -> T Z Y X LINE and LINE2 draw a pixel-wide l...
by Tim Butler
Tue Feb 06, 2018 9:38 pm
Forum: Discuss!
Topic: Txt to Raw and Raw to Txt
Replies: 21
Views: 23609

Re: Txt to Raw and Raw to Txt

If you want the source code (PHP) for the on-line encoder/decoder, you're welcome to adapt that to CLI. Yes please! In particular I am interested in a start on the decoding logic to support editing programs on the calculator and then automatically merging annotations and comments from a separate so...