Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Happybobjr on September 28, 2010, 07:37:35 pm

Title: [project] Drawing to basic.
Post by: Happybobjr on September 28, 2010, 07:37:35 pm
Written by: Happybobjr of Happybobjr Prod.
Assisted by: (contact me if you helped, I don't remember who all helped (ie. people in irc))
               *Nemo (Code Optimization)

Drawing to basic- still in early stages, will allow you to draw a picture. After exiting the program, you will see you have a new program, PIC1.
The point of this project is to allow ti-basic coders to have pictures in there program without worrying about bulky or annoying picture variables.

Version: 1.7.0
Compile in 0.4.5!  for best results. ;)


Change Log:  Now has Text.
                    Adjustable cross-hairs.
                    X: for full
                    /(division): for adjustable
                    +: larger cross-hair
                    - : smaller cross-hair

Download: http://www.omnimaga.org/index.php?action=dlattach;topic=4619.0;attach=3938

Please submit all problems or optimizations.



/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Spoiler For Spoiler:
Version 1.0.00001 V
Spoiler For Spoiler:
Written by: Happybobjr of Happybobjr Prod.
Assisted by: (contact me if you helped, I don't remember who all helped (ie. people in irc)

Drawing to basic, still in early stages, will allow you to draw a picture. After exiting the program, you will see you have a new program, PIC1.
The point of this project is to allow ti-basic coders to have pictures in there program without worrying about bulky or annoying picture variables.

Version 1.0.00001


Features:
*Drawing of lines.
*Pointer (gray) for pointer location.
*Preset Xmin, Xmax, Ymin, Ymax, Axisoff variables.


Bugs:
*The pointer is a little faint.
*You have random junk at end of PIC1. (seperated from good code by eight spaces.)
*if coordinates are less than 10, PIC1 will have 0X  (00,01,02,03.......)
*You must press enter after you press clear to end the program.


Commands:
*ENTER- Puts point/line on screen at location of the pointer.
*CLEAR- Ends program. (must press enter afterwards to actually finish closing (Due to my not wanting to experiment)


Upcoming Features:
*circle drawing


My code:
Code: [Select]

.BA

.MESSAGE ME IF
.YOU DESERVE
.CREDIT


ClrDraw:ClrDrawr:
GEtCalc("prgmPIC1",700)->Z
[3004630A3E393404630B3E310463023E310463033E3004630C3E363304630D3F7E093F853F]->Str1
Copy(Str1,Z,37
37->S
0->X->Y->A->N
REpEat N=1
PausE 500
REpEat gEtKEy(9)
If gEtKEy(15):1->N:End

If X<95 and gEtKEy(3):X+1->X:PausE 30:End
If Y>0 and gEtKEy(4):Y-1->Y:PausE 30:End
If X>0 and gEtKEy(2):X-1->X:PausE 30:End
If Y<62 and gEtKEy(1):Y+1->Y:PausE 30:End
DispGraphr
ClrDrawr
Pxl-On(X,Y)r
PausE 1
End

Pxl-On(X,Y)

If A=0
E9C->{Z+S}:S+1->S:X->D:Y->E
D->I:62-E->J
End
If A=1
X->F:Y->G
F->K:62-G->L
LinE(D,E,F,G)
End
For(M,1,2)
If M=1 and (A=0):I->H:End
If M=2 and (A=0):J->H:End
If M=1 and (A=1):K->H:End
If M=2 and (A=1):L->H:End
If H(</=)9:E30->{Z+S}:S+1->S:End
If H(</=)19 and (H(>/=)10):E31->{Z+S}:S+1->S:H-10->H:End
If H(</=)29 and (H(>/=)20):E32->{Z+S}:S+1->S:H-20->H:End
If H(</=)39 and (H(>/=)30):E33->{Z+S}:S+1->S:H-30->H:End
If H(</=)49 and (H(>/=)40):E34->{Z+S}:S+1->S:H-40->H:End
If H(</=)59 and (H(>/=)50):E35->{Z+S}:S+1->S:H-50->H:End
If H(</=)69 and (H(>/=)60):E36->{Z+S}:S+1->S:H-60->H:End
If H(</=)79 and (H(>/=)70):E37->{Z+S}:S+1->S:H-70->H:End
If H(</=)89 and (H(>/=)80):E38->{Z+S}:S+1->S:H-80->H:End
If H(</=)99 and (H(>/=)90):E39->{Z+S}:S+1->S:H-90->H:End

If H=0:E30->{Z+S}:End
If H=1:E31->{Z+S}:End
If H=2:E32->{Z+S}:End
If H=3:E33->{Z+S}:End
If H=4:E34->{Z+S}:End
If H=5:E35->{Z+S}:End
If H=6:E36->{Z+S}:End
If H=7:E37->{Z+S}:End
If H=8:E38->{Z+S}:End
If H=9:E39->{Z+S}:End
S+1->S
If A=0 or ((A=1) and (M=1))
E2B->{Z+S}:S+1->S:End
If A=1 and (M=2):E3F->{Z+S}:1+S->S:End
End
A+1->A
If A=2:0->A
End
End

Copy([3F3F3F3F3F3F3F3F],Z+S,8

Screenies: (will be edited in)

Download Link: http://www.omnimaga.org/index.php?action=dlattach;topic=4619.0;attach=3511 (http://www.omnimaga.org/index.php?action=dlattach;topic=4619.0;attach=3511)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Version 1.1.3 V
Spoiler For Spoiler:

Features:
*Drawing of lines.
*Pointer (gray) for pointer location.
*Preset Xmin, Xmax, Ymin, Ymax, Axisoff variables and clear draw.


Bugs:
*The pointer is a little faint.
*You have random junk at end of PIC1. (seperated from good code by eight spaces.)
*If coordinates are less than 10, PIC1 will have 0X  (00,01,02,03.......)
*You must press enter after you press clear to end the program.


Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Circle mode


Upcoming Features:
*circle drawing


Change Log
* A few optimizations. (No effect on outcome program)
* Mode for drawing circles added. (Circle drawing not implemented yet)
* (In code) Moved # to token into a sub program. (for future features)


My code:
Code: [Select]
.BA

.MESSAGE ME IF
.YOU DESERVE
.CREDIT


ClrDraw:ClrDrawr
GetCalc("prgmPIC1",700)->Z
Copy([3004630A3E393404630B3E3004630C3E363204630D3F7E093F853F],Z,27)
27->S
0->X->Y->A->N->T+1->B


Repeat N
Pause 500
Repeat getKey(54)
getKey->C
If getKey(15):Copy([3F3F3F3F3F3F3F3F],Z+S,8:Return:End

While C>4 and (C(=/=)54):getKey->U:!If U:U->C:End
If getKey(48) and (C=48)
B+1->B:If B=3:1->B:End:End

ClrHome
If B=1:Text(5,5,"LINE":While getKey(48):End:End

If B=2:Text(5,5,"CIRCLE":While getKey(48):End:End
Pause 150
End

If B=1 or (B=2 and (T=1))
If X<94 and getKey(3):X+1->X:Pause 30:End:End

If B=1 or (B=2 and (T=2))
If Y>0 and getKey(4):Y-1->Y:Pause 30:End:End
If X>0 and getKey(2):X-1->X:Pause 30:End
If Y<62 and getKey(1):Y+1->Y:Pause 30:End





DispGraphr
ClrDrawr
Pxl-On(X,Y)r
Pause 1
End


If B=1
Pxl-On(X,Y)
If A=0
E9C->{Z+S}:S+1->S:X->D:Y->E
D->I:62-E->J
End
If A=1
X->F:Y->G
F->K:62-G->L
Line(D,E,F,G)
End
For(M,1,2)
If M=1 and (A=0):I->H:End
If M=2 and (A=0):J->H:End
If M=1 and (A=1):K->H:End
If M=2 and (A=1):L->H:End
sub(SUB)
If A=0 or ((A=1) and (M=1))
E2B->{Z+S}:S+1->S:End
If A=1 and (M=2):E3F->{Z+S}:1+S->S:End
End
A+1->A
If A=2:0->A
End
End
End


Lbl SUB
!If H/10->R:E30->{Z+S}:End
If R=1:E31->{Z+S}:H-10->H:End
If R=2:E32->{Z+S}:H-20->H:End
If R=3:E33->{Z+S}:H-30->H:End
If R=4:E34->{Z+S}:H-40->H:End
If R=5:E35->{Z+S}:H-50->H:End
If R=6:E36->{Z+S}:H-60->H:End
If R=7:E37->{Z+S}:H-70->H:End
If R=8:E38->{Z+S}:H-80->H:End
If R=9:E39->{Z+S}:H-90->H:End
S+1->S
If H=0:E30->{Z+S}:End
If H=1:E31->{Z+S}:End
If H=2:E32->{Z+S}:End
If H=3:E33->{Z+S}:End
If H=4:E34->{Z+S}:End
If H=5:E35->{Z+S}:End
If H=6:E36->{Z+S}:End
If H=7:E37->{Z+S}:End
If H=8:E38->{Z+S}:End
If H=9:E39->{Z+S}:End
S+1->S
Return


Screenies: (http://img.removedfromgame.com/imgs/1285795449-wabbitemu.gif)
                     Instead of 716 bytes or whatever for a pic. var now it is 195.  Did we really want 716 bytes for such a simple pic.?
                     If we fix the 00's to just 0, it will be just 175 byes!
                     If we remove the first part, setting zoom and everything, it goes down to 150 bytes!



Download Link: http://www.omnimaga.org/index.php?action=dlattach;topic=4619.0;attach=3544



Any thoughts, comments, complaints, rants, trolling, peanuts etc. are all welcome here.
||
V
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Version 1.2.2 V
Spoiler For Spoiler:

Features:
*Drawing of lines.
*Drawing of Circles
*Drawing of Points
*Pointer (cross-hairs) for pointer location.
*Preset Xmin, Xmax, Ymin, Ymax, Axisoff variables and clear draw.


Bugs:
*You have random junk at end of PIC1. (seperated from good code by eight spaces.)
*If coordinates are less than 10, PIC1 will have 0X  (00,01,02,03.......)
*Circles suck :P

Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Circle mode



Change Log
* Mode for drawing circles added.
*Points added.

My code:
Code: [Select]
No code

Any thoughts, comments, complaints, rants, trolling, peanuts etc. are all welcome here.
||
V

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Version 1.3.1

Features:
*Drawing of lines.
*Drawing of points
*Cross-hair pointer location.
*Preset Xmin, Xmax, Ymin, Ymax, Axisoff variables and clear draw.


Bugs:
*You have random junk at end of PIC1. (seperated from good code by eight spaces.)


Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Point mode



Change Log
*Circles removed
*Fixed 00 bug.
*Optimized code slightly


My code:
Code: [Select]



Download Link: http://www.omnimaga.org/index.php?action=dlattach;topic=4619.0;attach=3582


Any thoughts, comments, complaints, rants, trolling, peanuts etc. are all welcome here.
||
V
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 28, 2010, 08:05:34 pm
Just tried it out. Looking good. Couple things though. I would add what the controls are because I don't know them and such and is a little disorienting. I would also use [2ND] the button to put a point down, instead of [ENTER]. For the actual program it creates I would put a option later in that lets you choose either 62→Ymax or -62→Ymin. Also, don't mess with the scaling the axes. It does basically nothing unless you have axes turned on. A better way to get to those settings are:

Code: [Select]
ZStandard
104→Xmax
72→Ymax
ZInteger

or

Code: [Select]
ZStandard
104→Xmax
-72→Ymin
ZInteger
Title: Re: [project] Drawing to basic.
Post by: ztrumpet on September 28, 2010, 08:08:36 pm
Or, to be faster, use one of these:
0->Xmin
-62 or 0->Ymin
1->deltaX
1->deltaY
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 28, 2010, 08:20:43 pm
Ya, that works too. Mines smaller, his is faster.
Title: Re: [project] Drawing to basic.
Post by: Builderboy on September 28, 2010, 08:21:49 pm
I think i'd prefer size in this position.  After all its not like you need uber fast speed when resizing the windows :P
Title: Re: [project] Drawing to basic.
Post by: ztrumpet on September 28, 2010, 08:24:46 pm
I think i'd prefer size in this position.  After all its not like you need uber fast speed when resizing the windows :P
Me too.  I just threw the routine out there. :)
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 28, 2010, 08:57:12 pm
Ya, me too. I mean speed wise I don't think there is that much of a difference anyways.

Off-Topic:
Doesn't Exodus use the speed routine?
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on September 28, 2010, 09:00:16 pm
TROLL.

J/k.

Pretty good, nice job. Hope you can fix those bugs...

EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 28, 2010, 09:10:20 pm
TROLL.

J/k.

Pretty good, nice job. Hope you can fix those bugs...

EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.

Well you have to remember it's only a fraction of a second faster.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 28, 2010, 09:14:37 pm
thanks for the help.

Any suggestions how to deal with the size of PrgmPIC1?
with the random junk at the end.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on September 28, 2010, 09:30:41 pm
TROLL.

J/k.

Pretty good, nice job. Hope you can fix those bugs...

EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.

Well you have to remember it's only a fraction of a second faster.

Yeah, but in games if you call it often enough even a fraction of a second make a huge difference ;)
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 28, 2010, 09:38:07 pm
TROLL.

J/k.

Pretty good, nice job. Hope you can fix those bugs...

EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.

Well you have to remember it's only a fraction of a second faster.

Yeah, but in games if you call it often enough even a fraction of a second make a huge difference ;)

But when do you need to constantly change the window? I don't think I've ever seen that before.

As for the problem, I'm sorry I can't help. I'm not experienced that much in Axe.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 28, 2010, 09:58:31 pm
is there any way i can use decimal points in axe? effectively?
Title: Re: [project] Drawing to basic.
Post by: calcdude84se on September 28, 2010, 10:00:02 pm
Fixed point, used with ** for multiplication. Let me see if I can find another topic that asks about this...
Edit: Here we are. http://ourl.ca/7084 (http://ourl.ca/7084)
Edit 2: 1100th post! ;D
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 28, 2010, 10:02:14 pm
Here (http://ourl.ca/7084) is the topic Sir started asking about it. Probably some info in there :)

Off-Topic:
2000! Woohoo!
Title: Re: [project] Drawing to basic.
Post by: nemo on September 28, 2010, 10:53:09 pm
just one huge optimizing technique. this mammoth:
Code: [Select]
If H(</=)9:E30->{Z+S}:S+1->S:End
If H(</=)19 and (H(>/=)10):E31->{Z+S}:S+1->S:H-10->H:End
If H(</=)29 and (H(>/=)20):E32->{Z+S}:S+1->S:H-20->H:End
If H(</=)39 and (H(>/=)30):E33->{Z+S}:S+1->S:H-30->H:End
If H(</=)49 and (H(>/=)40):E34->{Z+S}:S+1->S:H-40->H:End
If H(</=)59 and (H(>/=)50):E35->{Z+S}:S+1->S:H-50->H:End
If H(</=)69 and (H(>/=)60):E36->{Z+S}:S+1->S:H-60->H:End
If H(</=)79 and (H(>/=)70):E37->{Z+S}:S+1->S:H-70->H:End
If H(</=)89 and (H(>/=)80):E38->{Z+S}:S+1->S:H-80->H:End
If H(</=)99 and (H(>/=)90):E39->{Z+S}:S+1->S:H-90->H:End
can definitely be optimized to this:
Code: [Select]
!If H/10->F:E30->{Z+S}:S+1->S:End
If F=1:E31->{Z+S}:S+1->S:H-10->H:End
If F=2:E32->{Z+S}:S+1->S:H-20->H:End
If F=3:E33->{Z+S}:S+1->S:H-30->H:End
If F=4:E34->{Z+S}:S+1->S:H-40->H:End
. et cetera...
and *might* be able to be optimized into this, depending upon the circumstances of the program:
Code: [Select]
E(H/10+30)->{Z+S}
S+1->S
H-(H/10*10)->H



Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on September 28, 2010, 11:23:01 pm
Interesting. I see kindermoumoute got some competition :P
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 02:28:36 am
Wait, what is kindermoumoute doing?
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on September 29, 2010, 02:37:53 am
An image editor written in Axe that is supposed to let you save into BASIC pic variables, but he has troubles with the Input command and storing to pictures, I believe:

http://ourl.ca/7021

http://ourl.ca/6291
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 02:44:50 am
Ah ok, ya now I remember seeing that. Isn't he just trying to save the drawing straight to a Pic# variable while happybobjr is saving drawing commands into a program?
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on September 29, 2010, 03:11:58 am
Yeah he is trying to save into pics
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 10:45:21 am
lol i was ignorant of this ^

just one huge optimizing technique. this mammoth:
Code: [Select]
If H(</=)9:E30->{Z+S}:S+1->S:End
If H(</=)19 and (H(>/=)10):E31->{Z+S}:S+1->S:H-10->H:End
If H(</=)29 and (H(>/=)20):E32->{Z+S}:S+1->S:H-20->H:End
If H(</=)39 and (H(>/=)30):E33->{Z+S}:S+1->S:H-30->H:End
If H(</=)49 and (H(>/=)40):E34->{Z+S}:S+1->S:H-40->H:End
If H(</=)59 and (H(>/=)50):E35->{Z+S}:S+1->S:H-50->H:End
If H(</=)69 and (H(>/=)60):E36->{Z+S}:S+1->S:H-60->H:End
If H(</=)79 and (H(>/=)70):E37->{Z+S}:S+1->S:H-70->H:End
If H(</=)89 and (H(>/=)80):E38->{Z+S}:S+1->S:H-80->H:End
If H(</=)99 and (H(>/=)90):E39->{Z+S}:S+1->S:H-90->H:End
can definitely be optimized to this:
Code: [Select]
!If H/10->F:E30->{Z+S}:S+1->S:End
If F=1:E31->{Z+S}:S+1->S:H-10->H:End
If F=2:E32->{Z+S}:S+1->S:H-20->H:End
If F=3:E33->{Z+S}:S+1->S:H-30->H:End
If F=4:E34->{Z+S}:S+1->S:H-40->H:End
. et cetera...
and *might* be able to be optimized into this, depending upon the circumstances of the program:
Code: [Select]
E(H/10+30)->{Z+S}
S+1->S
H-(H/10*10)->H



thanks i'll try those ^
Title: Re: [project] Drawing to basic.
Post by: kindermoumoute on September 29, 2010, 11:07:24 am
I'd like to see a screen to see what it gives, but it could very well be a joint project (it would probably a better result). I did post an update soon with viewing from 2 to 3 superimposed image color levels.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 12:06:42 pm
I don't think it would work well together. (as my code is rather sloppy)
could you post your code for your project here kindermoumoute? So i can see If it might work?

Right now i think i'll just add circles if I get anymore free time.
then I think I'll put in optimisations sor the compiled code.
After that, maybe add horizontal and vetical lines (for slight byte improvement)
And after that I will Upload to ticalc.org
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on September 29, 2010, 12:33:37 pm
I'd like to see a screen to see what it gives, but it could very well be a joint project (it would probably a better result). I did post an update soon with viewing from 2 to 3 superimposed image color levels.
Do you mean 3 and 4 level grayscale? THat seems like a cool feature :D
Title: Re: [project] Drawing to basic.
Post by: kindermoumoute on September 29, 2010, 12:39:21 pm
Look and comment here (http://ourl.ca/6291/116825).
(http://www.omnimaga.org/index.php?action=dlattach;topic=3694.0;attach=3525;image)
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on September 29, 2010, 01:15:07 pm
Do you mean the inverted colors? I am a bit confused what you mean ???
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 04:13:39 pm
Look and comment here (http://ourl.ca/6291/116825).
(http://www.omnimaga.org/index.php?action=dlattach;topic=3694.0;attach=3525;image)

no i don't think our programs would go well together, sorry
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 05:59:27 pm
*update*

first page.
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 06:06:50 pm
Just thought of this but a nice feature with this program would be to give the option of putting the Line( command number into a compressed list or string and then put a extraction loop into the code too. Just thought that might be handy since you're going for optimization.

Edit:
Also, just a thought, but would having a separate button for points and lines be possible? That way you don't have to click twice to do a point. I just think some people may forget and put a point down, thinking its a point, and then click to make another point and BOOM, there's a line.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 06:52:27 pm
Just thought of this but a nice feature with this program would be to give the option of putting the Line( command number into a compressed list or string and then put a extraction loop into the code too. Just thought that might be handy since you're going for optimization.

Edit:
Also, just a thought, but would having a separate button for points and lines be possible? That way you don't have to click twice to do a point. I just think some people may forget and put a point down, thinking its a point, and then click to make another point and BOOM, there's a line.

love the first idea, although it would be hard for me to do, since i am adding circles.  But think i will try.

Ya I' might do a point, i never really thought about it.  I figured if there were cases of just 1 point, it would prob be better as a pic var.
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 07:11:22 pm
Well just because someone uses a point doesn't mean it will be just a single point. Some people just use single points to make their drawings.

As for the line thing you could make all the circle, point, and other commands first. Then when you get to the lines you can just put those all in at once. I mean instead of pointing them as Line(+#+,+#+,+#+,+# it would be {+#E6#E4#E2#+,+...

Though, I don't know how hard that is in Axe.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 08:11:03 pm
Well just because someone uses a point doesn't mean it will be just a single point. Some people just use single points to make their drawings.

Will you state that diff. plz? i don't understand.

As for the line thing you could make all the circle, point, and other commands first. Then when you get to the lines you can just put those all in at once. I mean instead of pointing them as Line(+#+,+#+,+#+,+# it would be {+#E6#E4#E2#+,+...

Though, I don't know how hard that is in Axe.

The problem is that it writes to the program as the user makes the picture.

Although i might be able to just have ....wait....

This is probably going to be what i have created when clear is pressed.

for( Z,1,Dim(L1
Line( L1(Z), L1(Z+1), L1(Z+2), L1(Z+3)
Z+1->Z
end.

I should be able to store the code before it is copied to {Str1+Z} before it is all created.


EDIT: it would only save a couple of bytes...^

EDIT: maybe I will have them all done like that, not stored to a prog till the end.
Title: Re: [project] Drawing to basic.
Post by: ztrumpet on September 29, 2010, 08:11:56 pm
Actually, compression like that would be very easy in Axe, as TI's floating point format has each number as a hex character, so the number 1243 would look like 00h 83h 00h 00h 00h 00h 00h 00h 00h 12h 43h.  The 00 out front determines if it's real/complex and negative/positive.  The 83 means 1.243 * 10 to the 3rd power.
Please note that negative numbers have 80h as the first byte. :)
Also note that these numbers are all in hex. ;D

Edit: ninja'd ^-^
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 08:29:09 pm
Ok, let me see if I can rephrase what I said. Some people, like me and I'm sure some spriters and such, go pixel-by-pixel when created images and such for the calculator because we control exactly where things are. Using lines can be unpredictable. So having a point button would be handy. However, just because a point is being drawn doesn't mean the end result won't end up in a line or something. Make more sense?
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 08:44:23 pm
Ok, let me see if I can rephrase what I said. Some people, like me and I'm sure some spriters and such, go pixel-by-pixel when created images and such for the calculator because we control exactly where things are. Using lines can be unpredictable. So having a point button would be handy. However, just because a point is being drawn doesn't mean the end result won't end up in a line or something. Make more sense?

I don't think i would be able o implement that in though.  I am open to suggestions though.

Next project i will be working on will be a pic variable scanner.  And see if i can optimize it by finding patterns :D

Edited my last post....


Actually, compression like that would be very easy in Axe, as TI's floating point format has each number as a hex character, so the number 1243 would look like 00h 83h 00h 00h 00h 00h 00h 00h 00h 12h 43h.  The 00 out front determines if it's real/complex and negative/positive.  The 83 means 1.243 * 10 to the 3rd power.
Please note that negative numbers have 80h as the first byte. :)
Also note that these numbers are all in hex. ;D

Edit: ninja'd ^-^

I though decimal points would be required to make the circles.  Distance formula....
but i figure that i can force the user only to chose the 2nd point only (left or right) or (above or below) the original point
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 08:50:03 pm
Well if you can't do that then you need to make sure to say that you have to push twice to make a single point.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 29, 2010, 09:19:05 pm
Well if you can't do that then you need to make sure to say that you have to push twice to make a single point.

oh I can defiantly do a single point. that will be easy.
just not have a random single pixel that can be used for something else later.
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 09:21:16 pm
Ah. Well by single point I just mean put a point down, regardless of where it is and what it might become.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on September 29, 2010, 11:21:59 pm
TROLL.

J/k.

Pretty good, nice job. Hope you can fix those bugs...

EDIT: IMO you should go for the faster option. It's going to be used inside TI-BASIC programs, anyway.

Well you have to remember it's only a fraction of a second faster.

Yeah, but in games if you call it often enough even a fraction of a second make a huge difference ;)

But when do you need to constantly change the window? I don't think I've ever seen that before.

Hmm, could it potentially keep the window the same, if you let the user input the graph coordinates he'll be using? It might be hard at first to get Axe to accurately calculate the numbers to use for each line, but theoretically it's possible. If it is, it would be extremely useful.
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 11:23:52 pm
Ya, I've been thinking of ways to convert the graph screen into drawing commands in TI-BASIC but I couldn't think of the math to correctly do it, though I didn't try to hard.
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on September 29, 2010, 11:24:14 pm
Gonna try this soon :)

Good luck on this! :)
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on September 29, 2010, 11:25:24 pm
Ya, I've been thinking of ways to convert the graph screen into drawing commands in TI-BASIC but I couldn't think of the math to correctly do it, though I didn't try to hard.

Isn't this what the project does, anyway, though? Maybe just write a more general routine to find the numbers, and it could work.

Floating points might be hard to work with, though :P
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 29, 2010, 11:37:55 pm
Well what his is doing is you draw your picture and then the output is the program. What I will, if I decide to do it, will be to just take what is on the graphscreen and will convert it into optimized drawing routines, hopefully, that is stored into Str1 and then all you have to do is recall that into a program and delete the quotes. The problem with TI-BASIC is that the window would have to be:

Xmin: 0
Xmax: 94
Ymin: -62
Ymax: 0

That is unless I figure out a way to convert the graphscreen dimensions into what the user wants to window to be.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on September 29, 2010, 11:39:44 pm
Well what his is doing is you draw your picture and then the output is the program. What I will, if I decide to do it, will be to just take what is on the graphscreen and will convert it into optimized drawing routines, hopefully, that is stored into Str1 and then all you have to do is recall that into a program and delete the quotes. The problem with TI-BASIC is that the window would have to be:

Xmin: 0
Xmax: 94
Ymin: -62
Ymax: 0

That is unless I figure out a way to convert the graphscreen dimensions into what the user wants to window to be.

Exactly, that's my suggestion. It would be pretty hard, but if he could figure out to calculate the floating-point numbers, he could make the output programs not clear the screen every time, and it could potentially be used simply as a sprite drawer or similar subroutine.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 30, 2010, 04:40:33 pm
Hmm, could it potentially keep the window the same, if you let the user input the graph coordinates he'll be using? It might be hard at first to get Axe to accurately calculate the numbers to use for each line, but theoretically it's possible. If it is, it would be extremely useful.

???^ can you rephrase that?

Ya, I've been thinking of ways to convert the graph screen into drawing commands in TI-BASIC but I couldn't think of the math to correctly do it, though I didn't try to hard.

Isn't this what the project does, anyway, though? Maybe just write a more general routine to find the numbers, and it could work.

Floating points might be hard to work with, though :P

I don't think i will need floating points.
My plan for circles is to have the user only able to move the courser up and down or left and right after they've made there center point.

Well what his is doing is you draw your picture and then the output is the program. What I will, if I decide to do it, will be to just take what is on the graphscreen and will convert it into optimized drawing routines, hopefully, that is stored into Str1 and then all you have to do is recall that into a program and delete the quotes. The problem with TI-BASIC is that the window would have to be:

Xmin: 0
Xmax: 94
Ymin: -62
Ymax: 0

That is unless I figure out a way to convert the graphscreen dimensions into what the user wants to window to be.

Exactly, that's my suggestion. It would be pretty hard, but if he could figure out to calculate the floating-point numbers, he could make the output programs not clear the screen every time, and it could potentially be used simply as a sprite drawer or similar subroutine.
??? ^ sorry once again for my noobishness
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 30, 2010, 05:40:31 pm
Don't worry happybobjr, I'm right there with you. I didn't completely understand it either.

About floating-point though, I think he is saying for if you decide to branch away and have the user be able to define the window he wants you will need to be able to calculator floating/fixed-point numbers (probably fixed though since floating would be extremely hard, if not impossible right now, with Axe).
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on September 30, 2010, 06:52:12 pm
Sorry for the confusing posts :(

What I meant was this: prgmPIC1 always clears the screen to reset the coordinates to [0,0,94,62], right? Well, that's because it has to draw the lines in integer values. What if it instead could draw in any screen size determined by the user when he runs the main program to create prgmPIC1? It would get pretty complicated to figure out how each pixel maps to a graph coordinate, but if that could work, it could be a lot more useful.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 30, 2010, 06:54:17 pm
simple division would work wouldn't it?

If you want to write that for me... :P

I'll work on it when/if i finish the rest of this.  I am swamped with homework today
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on September 30, 2010, 06:56:16 pm
simple division would work wouldn't it?

Nope, unfortunately not.

If you want to write that for me... :P

I'll see if I can figure something out...

I'll work on it when/if i finish the rest of this.  I am swamped with homework today

Oh, okay. Hope you can get it all done (homework and all).
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on September 30, 2010, 06:58:33 pm
a full week of no homework. then they all give a ton to me on the same day.
Title: Re: [project] Drawing to basic.
Post by: meishe91 on September 30, 2010, 07:13:10 pm
Well I may be misinterpreting what you are saying but I think it would be handy to have at the beginning of the main program to have an input where you can put the dimensions you want. Then when the program is created all the numbers and such are the values they would need to be for that window set.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 01, 2010, 08:40:10 pm
Exactly what I meant, I'm not very good at wording things :P

It'd be hard to calculate all the decimals, though.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 01, 2010, 10:50:44 pm
update
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 01, 2010, 11:48:05 pm
Nice, but

Quote
Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Circle mode



Change Log
*Circles removed
*Fixed 00 bug.
*Optimized code slightly
Are circles gone completly from the program or are they just accessible differently?
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 02, 2010, 11:02:13 am
Nice, but

Quote
Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Circle mode



Change Log
*Circles removed
*Fixed 00 bug.
*Optimized code slightly
Are circles gone completly from the program or are they just accessible differently?

Sorry about that,  I was copy and pasting from 1.2.2 and I guess i missed that.
There are circles in 1.2.2 but  then removed in 1.3 because Axe and Ti-basic draw their circles differently.
If someone were to locate the yay that ti-basic draws their circles, that would be great, and i would put it back in axe if it is possible to wrote in.
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 02, 2010, 11:08:38 am
Why not use the Axe circles? Are they just buggy or something?
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 02, 2010, 11:33:51 am
Why not use the Axe circles? Are they just buggy or something?

no its not that, axe circles are better than  basic's.  but the point of this project is to have the user draw a picture, then that picture is stowed as commands into a basic program.  Since axe and ti's circles aren't the same, the picture and the outcome will be different.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 02, 2010, 07:45:06 pm
Nice, but

Quote
Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Circle mode



Change Log
*Circles removed
*Fixed 00 bug.
*Optimized code slightly
Are circles gone completly from the program or are they just accessible differently?

Sorry about that,  I was copy and pasting from 1.2.2 and I guess i missed that.
There are circles in 1.2.2 but  then removed in 1.3 because Axe and Ti-basic draw their circles differently.
If someone were to locate the yay that ti-basic draws their circles, that would be great, and i would put it back in axe if it is possible to wrote in.

What do you mean? Circles are drawn with Circle([center X],[center Y],[radius],{i in TI-BASIC. Check out http://tibasicdev.wikidot.com/one-byte-tokens (http://tibasicdev.wikidot.com/one-byte-tokens) if you need the token values.
Title: Re: [project] Drawing to basic.
Post by: nemo on October 02, 2010, 07:46:43 pm
Nice, but

Quote
Commands:
* 2nd- Puts point/line on screen at location of the pointer.
* CLEAR- Ends program.
* Alpha- Will switch you between Line mode and Circle mode



Change Log
*Circles removed
*Fixed 00 bug.
*Optimized code slightly
Are circles gone completly from the program or are they just accessible differently?

Sorry about that,  I was copy and pasting from 1.2.2 and I guess i missed that.
There are circles in 1.2.2 but  then removed in 1.3 because Axe and Ti-basic draw their circles differently.
If someone were to locate the yay that ti-basic draws their circles, that would be great, and i would put it back in axe if it is possible to wrote in.

What do you mean? Circles are drawn with Circle([center X],[center Y],[radius],{i in TI-BASIC. Check out http://tibasicdev.wikidot.com/one-byte-tokens (http://tibasicdev.wikidot.com/one-byte-tokens) if you need the token values.

right, but what he's saying is Axe's Circle() command doesn't draw the same circle as TI-Basic's Circle() command. this is because axe doesn't have as great floating point precision.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 02, 2010, 07:52:20 pm
Oh, I see.

Well, I guess someone could disasm the OS?
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 02, 2010, 07:54:45 pm
maybe someone could make me a routine for drawing a circle with pxl_on command?
Title: Re: [project] Drawing to basic.
Post by: nemo on October 02, 2010, 07:59:06 pm
i'm not sure if this (http://ourl.ca/4129/96061;topicseen#msg41937) is what the TI-OS uses but hey... it's probably close

Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 02, 2010, 08:08:43 pm
No, I'm pretty sure the OS (idiotically) uses floating points. It sure explains why the circle routine's so slow x.x
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 02, 2010, 08:10:52 pm
i'll write that in then.  might take me a while though.
I am having trouble getting all the pausing to match up to make things smooth.
Title: Re: [project] Drawing to basic.
Post by: meishe91 on October 02, 2010, 10:03:58 pm
Would it be possible to just call the actual command in hex or something to draw the circles? I don't know if that's doable at all, just thought I'd throw it out there. (It would be the speed of the actual command, but at least you're getting accurate results.)
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 02, 2010, 10:58:44 pm
That should be possible. I don't know what the command is, though.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 03, 2010, 10:53:25 am
except that axe won't work well with floating points, which the command uses a ton of.
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 03, 2010, 02:53:22 pm
KermMartian made a fast circle routine a while ago I think. I wonder if it's as accurate as the TI-OS one?
Title: Re: [project] Drawing to basic.
Post by: meishe91 on October 03, 2010, 04:04:29 pm
except that axe won't work well with floating points, which the command uses a ton of.

Well since you're using the TI-OS one shouldn't that get around Axes floating-point thing?
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 03, 2010, 04:12:57 pm
Yeah, but when the user's actually drawing it with his program, it's in Axe.

And so the resultant pic might turn out different.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 03, 2010, 05:52:32 pm
Thats why, when i figure a couple of bugs out with EAS, I am planning on useing Pxl_On  to make a circle if i can.

For( M,(some equation),(some equation)
Pxl_On(N,O
end.

Note: I just chose random variables, in no way do they correspond with the program.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 03, 2010, 05:54:17 pm
Thats why, when i figure a couple of bugs out with EAS, I am planning on useing Pxl_On  to make a circle if i can.

For( M,(some equation),(some equation)
Pxl_On(N,O
end.

Note: I just chose random variables, in no way do they correspond with the program.

But even that might not match perfectly with the BASIC circle (you noticed how it overlapped some pixels, right?). You should probably use the OS routine, but you'd need to use the Asm( command for that.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 03, 2010, 05:56:11 pm
Thats why, when i figure a couple of bugs out with EAS, I am planning on useing Pxl_On  to make a circle if i can.

For( M,(some equation),(some equation)
Pxl_On(N,O
end.

Note: I just chose random variables, in no way do they correspond with the program.

But even that might not match perfectly with the BASIC circle (you noticed how it overlapped some pixels, right?). You should probably use the OS routine, but you'd need to use the Asm( command for that.

I was saying i would use it for both axe and ti-basic.  (basic would then have Abs( inside it to truncate the numbers.

Know where i would find the asm code for that?
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 03, 2010, 05:57:29 pm
Oh, I see. Yeah, that'd be great, but probably pretty slow (it takes quite a while to update those numbers in BASIC).
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 03, 2010, 07:13:31 pm
hummm, maybe the asm code might be the best way to do it.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 18, 2010, 07:15:42 pm
http://drop.io/axedraw/asset/wabbitemu-gif
http://drop.io/axedraw/asset/axdraw15-8xp

help plz with text....
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 18, 2010, 07:17:12 pm
Shot doesn't work...

EDIT: Never mind, you gotta click Download.

For the random tokens, that's a bug with the input command. Quigibo's working on it, I think.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 18, 2010, 07:17:29 pm
Click download at the right :P
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 18, 2010, 07:18:36 pm
Yeah, got it.

Are you talking about the random tokens when you ask for input?
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 18, 2010, 07:19:46 pm
Yeah, got it.

Are you talking about the random tokens when you ask for input?

no,  i'll just live with that.

after my pause is done, the text goes bye-bye.  even though i have fix5
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 18, 2010, 07:21:18 pm
Oh, did you draw it with Text(? It should work if you Fix 5'd somewhere in the code before it...
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 18, 2010, 07:21:48 pm
ya i did..... But as you seee.....
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 18, 2010, 07:37:03 pm
Just saw the code, but I don't know what's wrong with it...

Did you try putting the Fix 5 after the input? I'm not sure, but maybe input could reset it?
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 18, 2010, 07:38:21 pm
Just found it...  Input changes it to fix 4.
(The one i posted was occidentally an oder on. :P)
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 18, 2010, 07:39:06 pm
Ah, great! Quigibo should add that to his commands list, then.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 18, 2010, 07:41:22 pm
:p   drove me crazy all day.


My project is about complete.
I have a feeling all the programmers here that only use ti-basic will use this for their logo's  etc.
(Lmao.  Only ti-basic.  None here :P)

EDIT: 571st post :P
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 18, 2010, 08:59:09 pm
It might be useful for Axe too as we can import BASIC pics in Axe programs.
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 18, 2010, 09:07:06 pm
But this project creates a BASIC program that draws the pic for you, like a subroutine, so it couldn't be used for Axe... Not sure what you mean, though.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 18, 2010, 09:22:15 pm
But this project creates a BASIC program that draws the pic for you, like a subroutine, so it couldn't be used for Axe... Not sure what you mean, though.

Yep ^

It makes a Ti-Basic program that will draw the pic.  (which in most cases will be smaller than 767 bytes.)
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 19, 2010, 03:03:59 am
Oh right, that. I forgot x.x
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 19, 2010, 06:58:21 am
its all right.  Is my project useless? ;D
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 19, 2010, 01:19:40 pm
Not at all, I just confused it with another project :P (there were like 4-5 drawing projects at one point that operated differently)
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 20, 2010, 06:48:45 pm
Very big update :D
Download now: http://www.omnimaga.org/index.php?action=dlattach;topic=4619.0;attach=3938

thanks for you support.  (the one person who downloaded last version...)
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 21, 2010, 03:27:16 am
Sorry I couldn't try the last one finally because I mostly focused on games and there were a lot of stuff to try while I had lot of work to do on the site x.x.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 21, 2010, 11:45:50 am
lmao, i was only kidding. This is just a project for me to learn with ;)
Title: Re: [project] Drawing to basic.
Post by: DJ Omnimaga on October 21, 2010, 07:04:32 pm
AAh ok lol. Another issue is that there are so many sprite editors/drawing programs in the works or being released lately so the offer is much greater than the demand. At one point it went close to the same situation as quadratic solvers, snake games and number guessing games on ticalc.org x.x. It can be a great way to learn, though.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 21, 2010, 07:25:35 pm
I am very sure mine is unique though ;D
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 21, 2010, 07:37:54 pm
I am very sure mine is unique though ;D


True. It's pretty useful, too :)

A really awesome but much harder feature would be to make it automatically parse a picture var into lines, circles, and points...
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 21, 2010, 08:06:01 pm
I am very sure mine is unique though ;D


True. It's pretty useful, too :)

A really awesome but much harder feature would be to make it automatically parse a picture var into lines, circles, and points...

that was my original thought. but got shot down by incapabilities.

!!! thought:  Have it only parse a picture to lines circles and text (as you said)  and ignore the random stuff
Title: Re: [project] Drawing to basic.
Post by: Deep Toaster on October 21, 2010, 08:07:40 pm
Circles could be complicated, though, since there are multiple ways the TI-OS draws circles (on-screen, homescreen, etc.). But if you could pull that off, it'd be pretty awesome. And the extra pixels that don't fit into a shape can be drawn with pixel plotting.
Title: Re: [project] Drawing to basic.
Post by: Happybobjr on October 21, 2010, 08:09:58 pm
Circles could be complicated, though, since there are multiple ways the TI-OS draws circles (on-screen, homescreen, etc.). But if you could pull that off, it'd be pretty awesome. And the extra pixels that don't fit into a shape can be drawn with pixel plotting.

pixel plotting is so inefficient that it would be better to have a pic variable.

If anyone wants to take my source for parsing a picture though, fell free to have it.
(if you do make it though,  give me some credit plz with a minimum size font of 4)