You should use finance variables for the variables you use the most, and normal for the rest, and maybe put them into a list when exiting the program. ]]>

`∟P3D= {x1,y1,z1,?,?,?,boolean,?,x2,y2,z2,x3,y3,z3,x4,y4,z4,x5,y5,z5,x6,y6,z6,scale1,scale2,transl1,transl2}`

You may be able to get a speedup if you used one of the following (I'm not sure which one is appropriate):

- a three-row matrix
- three real lists
- a real list and a complex list
- six or seven lists of three elements each

to store your data. What do each of the points represent, and is the output the (x,y) value of the projection of your point to display on the graph?

Additionally, I'm confused about L1. Why does it have dimension 3 at the start and dimension 2 at the end? Do you need a result in L1, or can it be in Ans? Do you need any side effects from this routine (is there something it needs to do other than return a value in L1)?

Mostly for my purposes, I replaced ∟P3D with L₃ in the code below. I made only trivial optimizations, and I assume that you only need the result in Ans, not L1. Don't replace your routine with this until I better understand what's going on.

`L₁ If L₃(7 Then {L₃(9),L₃(10),L₃(11)}-Ans→L₂ {L₃(12),L₃(13),L₃(14 L₁+L₂sum(({L₃(1),L₃(2),L₃(3)}-L₁)Ans)/sum(AnsL₂){L₃(15),L₃(16),L₃(17 End {L₃(24)sum(Ans{L₃(18),L₃(19),L₃(20)}),L₃(25)sum(Ans{L₃(21),L₃(22),L₃(23 If not(L₃(7 Ans+{L₃(26),L₃(27`

EDIT: nevermind, i see it now :)

]]>Btw, I think you might enjoy looking at <this>

P.S. You're fine, that's pretty much the same thing I did when I was a newbie here ;)

]]>I was wondering if I could get any help with coding a 3D model viewer in TI-Basic. The idea I am thinking of is a basic "orbiting" camera tool that would allow one to view a 360 view of a pre-programmed model (maybe once the code is in place for viewing the model, a program to easily create models could be developed). Due to my lack of experience and complete understanding of advanced TI-Basic programming, I require a "teacher" of sorts to explain to me the advanced coding that would need to be used for this project. If you can help, just post below.

Thank you,

-Will

P.S. Sorry for spamming the forum, I am only trying to be a contributing and active member (esp. as a new member of this community).

]]>