Calculator Community > Axe
Routines
parserp:
--- Quote from: jacobly on December 23, 2011, 11:45:18 pm ---Is this what you want?
--- Code: ---"appv"Buff(8)→Str0
Copy(L₁,Str0+1,8)
GetCalc(Str0,Y₀)
--- End code ---
--- End quote ---
Ahh, yes!!! it works! thanks! :D
Keoni29:
http://ourl.ca/15074
A routine which draws a sprite scaled.
Xeda112358:
To make Serpinski's triangle, I am not sure if this is proper Axe code, but it is essentially how I do it in other languages where I have such fun screen access (and it does not use another buffer):
--- Code: ---0→A
ClrDraw
Repeat getKey(15
If A≤95
A++
Pxl-On(A,0 ;Axe use (X,Y), right?
End
DispGraph
L6+767→C-12→D
For(756)
{C--} xor {D--}→{C}
End
End
--- End code ---
That isn't nearly as fast as it could be, but I'm not too good with Axe XD
EDIT: THe screenie isn't the above Axe program (it is in another language)
EDIT2: calc84maniac gave some optimisation tricks (using For(756) and {C--} for example)
Deep Toaster:
--- Quote from: Keoni29 on January 31, 2012, 07:16:13 am ---http://ourl.ca/15074
A routine which draws a sprite scaled.
--- End quote ---
I think this got lost in the threads of time, but meishe91, DJ_O, and Quigibo came up with some really neat scalers (for partial sizes, even) on this page: http://ourl.ca/60160
Keoni29:
--- Quote from: Deep Thought on January 31, 2012, 09:37:52 am ---
--- Quote from: Keoni29 on January 31, 2012, 07:16:13 am ---http://ourl.ca/15074
A routine which draws a sprite scaled.
--- End quote ---
I think this got lost in the threads of time, but meishe91, DJ_O, and Quigibo came up with some really neat scalers (for partial sizes, even) on this page: http://ourl.ca/60160
--- End quote ---
Cool! I haven't seen that one before. I wrote my routine at school today, because I was bored :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version