This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Waitdev_'s profile picture

(cuz i was bored) Spectrum generator

Started by Waitdev_, 15 September 2015 - 11:03 AM
Waitdev_ #1
Posted 15 September 2015 - 01:03 PM
Well, i was bored. who knows what i will do when i'm bored.
So, i've made a spectrum generator. If you don't know what a spectrum is, just look on one of Monstercat's releases. The moving bars are called a spectrum. i've decided to make one.
Picture:

The stars (*) are inspired by Monstercat's moving stars, but trust me. I've tried making them generate randomly and move to the right, but that didn't work. Instead, i've made them randomly generate in random spots. I've never tried it, but it should work on monitors. The speed is set to 0.5, but that is easy to change.

Remember, this is a short code thing i made since i was bored. Pastebin code:
pastebin get Cu3v3NTC spec
H4X0RZ #2
Posted 15 September 2015 - 02:33 PM
Looks nice!

I made something like this some time ago too: http://pastebin.com/5eHUei4R