I have recently made a program that shows a room based on the values inside a Matrix to the Graph screen. Currently, it runs fairly slow on my TI-83+. I have no idea about its speed on the TI-84+, but for me it takes around 30 seconds.

*Note: I am using the Variable A as a replacement for Y due to some bugs when opening the graph screen*

The code:

```
For(A,1,20
For(X,1,30
If [A](A,X)
Then
For(S,0,2
For(T,0,2
Pxl-On(T+3A,S+3X
End
End
End
If [A](A,X)<0:Text(3A-2([A](A,X)=-1)),3X,sub("}- ",[A](A,X)+3,1 //This code basically makes a door that players can go through, with doors on walls being "}" and doors on the floors being "-"
End
End
```

Any help is appreciated!

*Please forgive me if I made any mistakes with this post, I am new to the forum*