Author Topic: Correlation Screenshots  (Read 46921 times)

0 Members and 5 Guests are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Screenshots
« Reply #45 on: December 11, 2010, 07:49:00 pm »
So to use Correlation we have to use ln( or is that just one of the options for a certain font type or what?

Ln( let's you display a custom 6x8 font like Output( does.  e^( lets you display a custom sized font as an equivalent to Text(

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Correlation Screenshots
« Reply #46 on: December 11, 2010, 08:01:21 pm »
Ah ok. So we use those to display custom fonts and then we can use Output( and Text( normally if we want to?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Screenshots
« Reply #47 on: December 11, 2010, 08:05:51 pm »
Ah ok. So we use those to display custom fonts and then we can use Output( and Text( normally if we want to?

Exactly! :D

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Screenshots
« Reply #48 on: December 11, 2010, 11:50:11 pm »
Here's another screenshot, which uses eight ln( statements to replace the 8 Output( statements.  Even with the optimizations I have yet to make, this ran faster than 8 Output statements, and looks nicer too!

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Correlation Screenshots
« Reply #49 on: December 12, 2010, 12:54:51 am »
Awesome :)

And very nice, looks sweet :) Can't wait!
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Correlation Screenshots
« Reply #50 on: December 12, 2010, 12:55:10 am »
Here's another screenshot, which uses eight ln( statements to replace the 8 Output( statements.  Even with the optimizations I have yet to make, this ran faster than 8 Output statements, and looks nicer too!

Agreed :D

Will the tokens for ln( and e^( be replaced, like with Axe tokens?




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Correlation Screenshots
« Reply #51 on: December 12, 2010, 01:16:49 am »
I doubt it since Correlation, I believe, is just a program that is called at the beginning of your regular program.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Correlation Screenshots
« Reply #52 on: December 12, 2010, 01:24:36 am »
This is looking awesome! :D Do you think once this is finished you could release a small patcher that given the name of a Basic program replaces all of the Outputs with Ln()s?  That way it becomes even easier to convert :D

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Correlation Screenshots
« Reply #53 on: December 12, 2010, 01:40:54 am »
Ya, that would be pretty cool. Though I don't think it'd be that hard to just replace them since it's not like you're replacing an entire line, just the beginning token.

Maybe you could write a quick program as an add-on to your Auto-Op program though, Builder ;)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Correlation Screenshots
« Reply #54 on: December 12, 2010, 05:37:15 am »
Looks great Hot Dog! Will we be able to use stuff like Sub(str1,A,128) inside these commands? It would be cool since we could have scrolling. :)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Screenshots
« Reply #55 on: December 12, 2010, 11:27:44 am »
I'll do my best not to miss a question :)

@Deep Thought  The tokens will not be replaced

@Builderboy A patcher is a good idea, but many people will want to use Output as well as Ln, Text as well as e^.  I'll have to think about that one.

@DJ You will indeed be able to do that.  That's probably my next step

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: Correlation Screenshots
« Reply #56 on: December 13, 2010, 02:26:23 am »
Awesome! Will the slow down seen in BASIC when displaying the end of a string with sub() occurs with Correlation commands too? It's fine if it does, I am just wondering.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Correlation Screenshots
« Reply #57 on: December 13, 2010, 02:44:30 am »
I'm going to guess ya since you're still recalling from a string the same. I think all Correlation does is replace the text. I think he'd have to write his own recall routine for it to change, but I could be wrong.

And as for the patcher it just occurred to me that it'd only be useful if you only use Output(/Text( for graphics. But since most of the time they are used for both a little it would screw some things up.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Correlation Screenshots
« Reply #58 on: December 13, 2010, 03:10:17 am »
Ah, well if he just replaces the text, then I guess the slowdown will still happen, then. I think it will depend if he's writing his very own routine or if Sub() is parsed like in BASIC.
« Last Edit: December 13, 2010, 03:10:47 am by DJ Omnimaga »

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Screenshots
« Reply #59 on: December 13, 2010, 09:18:31 am »
Ah, well if he just replaces the text, then I guess the slowdown will still happen, then. I think it will depend if he's writing his very own routine or if Sub() is parsed like in BASIC.

The parser is responsible for all string computations, otherwise this would be a nightmare for me.  Correlation takes the computed string and displays it in a different font.

So just like in Ti-Basic, the more complex your computation, the slower it gets.