10
u/TheSpamwich Feb 21 '20
Hey can you teach me how to code like that? I have a TI-84 CE and I want to code on it.
17
u/Kangalioo Feb 21 '20
The programming language is TI-BASIC. On ticalc.org (go-to website for any TI calculator business) there is a collection of TI-BASIC tutorial links here.
Further, more detailed information about TI-BASIC is on tibasicdev.wikidot.com, a wiki about TI-BASIC programming.
Good luck and have fun!
2
1
Feb 22 '20
Lucky! The 84-C is pretty sweet to code on, especially if you’re graphing stuff. I’m over here, a pleb with my normal 84.
I recommend just creating a new program and then scrolling through the available commands you can use, you’re sure to find something fun!
2
20
u/comradepolarbear Feb 21 '20
Looks like a Conway's Game of Life algorithm but with some adjustments to the rule set,
4
11
4
u/Dope_Nibba Feb 21 '20
What is it
4
Feb 21 '20
Square
0
Feb 21 '20
[deleted]
3
u/madeofmold Feb 21 '20
Half wet is half dry! & squares are rectangles so he wasn’t too off the mark.
2
4
1
2
2
Feb 22 '20
Coding on TIs used to be one of my favorite pastimes, what a great way to completely ignore class. Dang, I have to go back and finish my tetris program
1
1
1
1
0
Feb 21 '20
[deleted]
89
u/MWVaughn Feb 21 '20
I think it's supposed to be like a lava lamp
142
u/Kangalioo Feb 21 '20
You guys ideas about how this works are fascinating :) It's just random tho, so for every step it chooses a random square and toggles its on/off state.
2
u/Cartiernan Feb 21 '20
Mini Game of Life would be sweet and mostly if statements.
1
u/Kangalioo Feb 22 '20
I did Game Of Life already a few months ago. It's agonizingly slow though, because the calc has to do non-trivial calculations for many cells.
37
12
1
u/WAXT0N Feb 22 '20
Could you post your code?
I'm curious how you managed to shade in the square area in such a short time
1
u/Kangalioo Feb 22 '20 edited Feb 22 '20
It's just a bunch of lines, so to fill a square, something like
For(A,1,5) Line(1,A,5,A) EndFor erasing a square, you can do the same, but add a fifth parameter to the Line command with value zero. That will switch Line command behavior to erase.
I haven't posted the full code because I would have to get my cable and stuff to transfer the program from my calc. If you really want it though, I can send you the program file. Just tell me :)
1
u/WAXT0N Feb 22 '20
Ohh ok that's what I thought you did, but I'm just used to doing it with much larger areas where it takes a lot more time
135
u/WakeAndVape Feb 21 '20
It's oddly frustrating because I want it to fill up the whole block eventually 😭