136
TI Z80 / Re: Java dual-layer ASCII char combinations finder (SPLIT FROM ELMGON)
« on: March 04, 2011, 02:39:46 am »
I just meant in general.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 136
TI Z80 / Re: Java dual-layer ASCII char combinations finder (SPLIT FROM ELMGON)« on: March 04, 2011, 02:39:46 am »
I just meant in general.
137
Miscellaneous / Re: Programming Tutorials, Help, Etc.« on: March 03, 2011, 11:09:38 pm »
Thanks. Changed and added.
138
Art / Re: photoshop project critique« on: March 03, 2011, 10:24:01 pm »
It looks pretty cool, though I think it might help if you get a image of a recycle symbol though and then overlay the pictures onto that instead of try to make one. Yours isn't bad, it just looks a little off since each arrow doesn't look the same. Also, it might look kind of cool if you like emphasize the line that turns the arrow (and make it look like the picture wraps around and comes out, if that makes any sense). Good luck on it though.
139
So the code in question is this:
Code: [Select] ZStandard First I'll go over the compression. Each element is checked for it's decimal point via fPart() because the type of command that is graphed is dependant on it. 0=fPart(\Number\): The data is for a Line() command. .1=fPart(\Number\): The data is for a Pt-On()/Pt-Off()/Pt-Change() command. .2=fPart(\Number\): The data is for a Horizontal/Vertical command. .3=fPart(\Number\): The data is for a Circle() command. Code: (Line() Command Compression) [Select] 123456789 Code: (Pt-On()/Pt-Off()/Pt-Change() Command Compression) [Select] 123456.1 Code: (Horizontal/Vertical Command Compression) [Select] 123.2 Code: (Circle() Command Compression) [Select] 123456.3 Ok, not to start breaking down the code. Code: [Select] ZStandard This just sets the window to Xmin=0,Xmax=94,Ymin=0, and Ymax=62. Code: [Select] ClrDraw Clears the graphscreen then fills the bottom half of the screen. Code: [Select] "L1(A→u This stores the string "L1(A" to the equation variable u. Basically what it does is that each time that variable is called it will execute that "equation" each time. (Though now that I think about it that can probably be replaced with something else.) The second line is just storing a test list to demonstrate what the program does. Now we get into the belly of the code. Code: [Select] For(A,1,dim(L1 This starts the loop that loops through the list. Then it stores the thousands and hundrends number to the X variable and the tens and ones numbers to the Z variable, because the Y variable can get erased. Then it stores the decimal point of the current list element to the C variable. Code: [Select] If .1=Ans This is the code to display Pt-On()/Pt-Off()/Pt-Change() commands. First it stores what kind of point it is to the B variable then finds out which command it is. It then displays the correct command and type. Code: [Select] If .2=C This is the code for displaying a Horizontal/Vertical command. Since only one coordinates is used we are able to use the X variable to determine which command it is and execute accordingly. Code: [Select] If .3=C This code simply displays a circle. It uses the X and Z variables for the coordinates and then directly finds the the radius. Code: [Select] If not(C This code displays a line, or turns one off. It directly finds the first couple of coordinates and then uses the X and Y variables for the second set of coordinates. Then it just finds whether that first number was a one or zero and uses it to turn the line on or off. The End is then the end of the For() loop. That explain things better? I'll also go over it all and try to optimize it some later. 140
TI Z80 / Re: Java dual-layer ASCII char combinations finder (SPLIT FROM ELMGON)« on: March 03, 2011, 04:50:25 pm »
Bump.
Any news on this? 141
TI-BASIC / Re: Extra Detail Suite« on: March 03, 2011, 02:54:44 pm »
Dang it, I had just optimized it but you guys beat me...
145
Because TI sucks...um...wait...no...I mean...nevermind, that's what I mean Seriously though, I'm not sure. I'm sure someone does though. Would be nice if it was uniform or just a lot faster.
And do you mean my code here for my display routine? If so, do you first understand the compression method? Because that would be a huge part of explaining the code. 146
Nope, lists are the same speed regardless where you are recalling from. However strings get slower and slower the further you get into them. So say you have a string with 5000 tokens in it, it will take significantly longer to recall tokens 4951-5000 as opposed to 1-50.
147
Humour and Jokes / Re: Experimental Updates« on: March 02, 2011, 09:31:15 pm »
Dang it DJ, you jinxed me I moved it to the wrong place, but finally got it fixed...just need a Admin to delete the wrong one now...>.>
150
Humour and Jokes / Re: Experimental Updates« on: March 02, 2011, 08:31:53 pm »
Ooo ooo ooo! Can I move it? Will be my first thread move as a moderator
|
|