Author Topic: My first axe picture  (Read 14022 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My first axe picture
« Reply #30 on: March 07, 2012, 01:32:29 am »
Oh I see. That is great actually though, I wonder if it preserves the sides. I should give it a try...

EDIT Builder it doesn't. It just spins the swastika and erases the rest of the graph screen ???
« Last Edit: March 07, 2012, 01:34:05 am by DJ_O »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: My first axe picture
« Reply #31 on: March 07, 2012, 01:40:08 am »
His code is slightly modified such that it clears the graph screen and then draws the swastika, but that is independent of the rotation code itself.  If you removed the part of the code that cleared the screen and drew the symbol, it would rotate whatever is on the screen when you run the program. 

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My first axe picture
« Reply #32 on: March 07, 2012, 01:42:27 am »
Oh ok thanks for the info. I was actually running the compiled version.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: My first axe picture
« Reply #33 on: March 07, 2012, 01:43:10 am »
Ah gotcha.  Yeah his routine does rotate what is on the graph screen, it's just that he also controls what's on the graph screen :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My first axe picture
« Reply #34 on: March 07, 2012, 01:54:56 am »
Btw TI-Over9000 your source code is broken: On compile it says ERR:Too Many Ends, so I had to remove two. But now it freezes when ran...

Quote from: BASIC Code
:.PEACE
:ClrDraw
:ref(16,32,32,1
:ref(16,48,16,1
:ref(32,16,16,1
:ref(32,16,1,32
:ref(16,16,1,16
:ref(48,32,1,16
:If pxl-Test(A,B
:A→{L+L1}
:B→{L+L1+1}
:L+2→L
:End
:End
:End
:
:L-2→R
:
:While 1
:ReturnIf getKey(15)
:cos(O++)→C
:sin(O)→E
:
:For(L,0,R
:
:Pxl-On(({L+L1}-32→G*C)-({L+L1+1}-32→M*E)//128+48,(M*C)+(G*E)//128+32)
:L++
:End
:
:DispGraphClrDraw
:End
Generated by SourceCoder, © 2005-2012 Cemetech
« Last Edit: March 07, 2012, 02:00:47 am by DJ_O »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: My first axe picture
« Reply #35 on: March 07, 2012, 06:51:51 am »
You are missing what scans the picture it looks like.
Try adding something like...
For(A,0,95)
For(B,0,63)
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My first axe picture
« Reply #36 on: March 07, 2012, 10:59:24 pm »
Do you mean at the beginning?

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: My first axe picture
« Reply #37 on: March 08, 2012, 06:53:19 am »
Right after cleardraw.
That is how it looks like it should be to me.



I should probably fix my calc soon :/ :P
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline TI-Over9000

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +8/-1
    • View Profile
Re: My first axe picture
« Reply #38 on: March 09, 2012, 12:02:42 pm »
Yes that is right, I found something really wierd but also really cool

try modifying the source like this then running it!
Pxl-On(({L+L1}-32→G*C)+({L+L1+1}-32→M*E)//128+48,(M*C)+(G*E)//128+32)
« Last Edit: March 09, 2012, 12:03:09 pm by TI-Over9000 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My first axe picture
« Reply #39 on: March 26, 2012, 10:21:52 pm »
The program still crashes by the way, even after the edits suggested above ??? (Basically it freezes on launch)

EDIT: Nvm, but now I removed the svastika and first clrdraw, and it still displays part of it. I can't for example display the graph screen and rotate it. ???

EDIT Actually nvm, I need to copy L6 to L1 I think X.x

EDIT Nope. The code is definitively broken and only works with specific drawings... eg replacing the svastika with text freezes the calc...
« Last Edit: March 26, 2012, 10:40:58 pm by DJ_O »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: My first axe picture
« Reply #40 on: March 27, 2012, 04:26:44 pm »
Actually the swastika by itself was not meant for use for what it got used for, but sadly it did so this explains why some people might interpret it wrongly (even if you would draw it backwards). Also awesome program you got there. If it wasn't for speed and size issues, it could potentially be used in some games or title animations, such as allowing barrel rolls in a shoot-em-up.

In an ancient civilisation, that would means" the sacred symbol of auspiciousness" (thanks to WIki), but In China, it mean "eternity and Buddhism"...

EDIT: 337 posts... One thousand to go! ♪
« Last Edit: March 27, 2012, 04:54:00 pm by Eiyeron »