0 Members and 2 Guests are viewing this topic.
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.
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.
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?
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. Edit: ninja'd
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.
Quote from: Deep Thought on September 28, 2010, 09:30:41 pmQuote from: meishe91 on September 28, 2010, 09:10:20 pmQuote from: Deep Thought on September 28, 2010, 09:00:16 pmTROLL.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.
Quote from: meishe91 on September 28, 2010, 09:10:20 pmQuote from: Deep Thought on September 28, 2010, 09:00:16 pmTROLL.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
Quote from: Deep Thought on September 28, 2010, 09:00:16 pmTROLL.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.
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.
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.
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.