0 Members and 1 Guest are viewing this topic.
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.
Quote from: meishe91 on September 29, 2010, 11:23:52 pmYa, 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
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.
Quote from: meishe91 on September 29, 2010, 11:37:55 pmWell 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: 0Xmax: 94Ymin: -62Ymax: 0That 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.
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: 0Xmax: 94Ymin: -62Ymax: 0That is unless I figure out a way to convert the graphscreen dimensions into what the user wants to window to be.
simple division would work wouldn't it?
If you want to write that for me...
I'll work on it when/if i finish the rest of this. I am swamped with homework today
Commands:* 2nd- Puts point/line on screen at location of the pointer.* CLEAR- Ends program.* Alpha- Will switch you between Line mode and Circle modeChange Log*Circles removed*Fixed 00 bug.*Optimized code slightly
Nice, butQuoteCommands:* 2nd- Puts point/line on screen at location of the pointer.* CLEAR- Ends program.* Alpha- Will switch you between Line mode and Circle modeChange Log*Circles removed*Fixed 00 bug.*Optimized code slightlyAre circles gone completly from the program or are they just accessible differently?
Why not use the Axe circles? Are they just buggy or something?
Quote from: DJ Omnimaga on October 01, 2010, 11:48:05 pmNice, butQuoteCommands:* 2nd- Puts point/line on screen at location of the pointer.* CLEAR- Ends program.* Alpha- Will switch you between Line mode and Circle modeChange Log*Circles removed*Fixed 00 bug.*Optimized code slightlyAre 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.
Quote from: happybobjr on October 02, 2010, 11:02:13 amQuote from: DJ Omnimaga on October 01, 2010, 11:48:05 pmNice, butQuoteCommands:* 2nd- Puts point/line on screen at location of the pointer.* CLEAR- Ends program.* Alpha- Will switch you between Line mode and Circle modeChange Log*Circles removed*Fixed 00 bug.*Optimized code slightlyAre 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 if you need the token values.