Author Topic: Wave Simulator (sortof)  (Read 28464 times)

0 Members and 2 Guests 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: Wave Simulator (sortof)
« Reply #45 on: June 22, 2010, 03:50:52 pm »
yeah it would be nice indeed :P

Btw, by alternating quickly the homescreen with the graph screen, you can create pretty cool effect with the screen. In Axe, though, it is not as practical, because you just have to use native grayscale instead, but in BASIC it can give some cool but flashy results.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Wave Simulator (sortof)
« Reply #46 on: June 22, 2010, 08:19:28 pm »
In Basic the following code looks crazy!

Code: [Select]
:ClrHome
:For(A,Ymin,Ymax,deltaY
:Horizontal A
:End
:Repeat getKey
:Disp
:DispGraph
:End

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: Wave Simulator (sortof)
« Reply #47 on: June 23, 2010, 02:11:32 am »
wow I didn't thought about For(A,Ymin,Ymax,deltaY before

ANd yeah it creates similar effect to the Axe code shown in that thread, except much slower, so no wave effect.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Wave Simulator (sortof)
« Reply #48 on: June 23, 2010, 01:53:55 pm »
It's still there, and I'd say there's a wave effect, but it is definitely much weaker and harder to notice.
And yeah, For(A,Ymin,Ymax,deltaY:Horizontal A:End is about the fastest and smallest way to blacken the screen.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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: Wave Simulator (sortof)
« Reply #49 on: June 23, 2010, 02:26:49 pm »
Aaah nice, glad to know about this. I always did For(A,0,62:Horizontal A:End (one byte smaller I think) or For(A,-62,0:Horizontal A:End, but those required the screen to be set manually to 0->Ymin and 62->Ymax

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Wave Simulator (sortof)
« Reply #50 on: June 23, 2010, 03:12:06 pm »
Yay! Back on topic!
I found out while waiting for the library to open today that the MirageOS ON+[any top row key from Y= to graph] speed-change thing changes the effect.  One would think it was common sense but not many people know about that feature.

[offtopic]
I got the blue screen video now, but by this point the whole supposed BSOD thing should probably be another thread at this point.
[/offtopic] hopefully for real
« Last Edit: June 23, 2010, 03:20:21 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Wave Simulator (sortof)
« Reply #51 on: June 23, 2010, 03:28:27 pm »
Oh I remember that. I totally forgot about this MirageOS feature, because I last tried it in 2003 and as time went by, fewer and fewer ASM program supported it. Most managed to disable this.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Wave Simulator (sortof)
« Reply #52 on: June 23, 2010, 05:32:11 pm »
smallest way to blacken the screen.
Actually, this is the smallest:
Shade(Ymin,Ymax)

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Wave Simulator (sortof)
« Reply #53 on: June 23, 2010, 05:36:51 pm »
You should have made you're program more optimized then! :P
How about the smallest way that does it one line at a time?
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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: Wave Simulator (sortof)
« Reply #54 on: June 23, 2010, 06:22:21 pm »
You should have made you're program more optimized then! :P
How about the smallest way that does it one line at a time?
You know that most of the programs I wrote for the 83+ were made several years before TI-BASIC Developper opened, back when you could boast about your TI-BASIC skills if you did not close quotes when ending a line of code, right? Back then, we did not know about all those advanced tricks we got today. All people had was the 900 pages TI-83+ guidebook explaining what each command did, where they closed parhentesises and quotes, and the people who had internet at home (and a computer) just had BASIC Guru Online, which has Text(-1, teaches how to not use Lbl/Goto, but lacks most other tricks.

Don't put the blame on me when you never frequented the TI community yourself in 2001-04.
« Last Edit: June 23, 2010, 06:23:45 pm by DJ Omnimaga »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Wave Simulator (sortof)
« Reply #55 on: June 23, 2010, 09:34:26 pm »
Woah, calm DJ.  I think he was pointing that out to me, as I posted the code he referred to.  If it was dirrected at me, then it was because the way I first posted was faster. :)

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: Wave Simulator (sortof)
« Reply #56 on: June 23, 2010, 09:39:11 pm »
I think it was more to me since the code you posted was more optimized
Quote
Shade(Ymin,Ymax)

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Wave Simulator (sortof)
« Reply #57 on: June 24, 2010, 04:13:09 pm »
Sorry for looking like I was harassing you, DJ. I was just bothering ztrumpet. No hard feelings, right?
I was just wondering why the tiny program he put up that had a similar effect didn't use shade if it was better (I'm not normally aware of the math-centered commands, so I don't use them much either). In a jesting manner, of course :P
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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: Wave Simulator (sortof)
« Reply #58 on: June 24, 2010, 04:15:56 pm »
I see. Don't worry about it

From experience with Shade, though, it was much slower, so it might explain why he did not use it. Sometimes people go for speed instead of size.