Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Sorunome on December 21, 2014, 08:04:35 pm
-
Ever dreamed about being able to do vectorial math on your z80 calculator? Well, I started making an app for that!
So far it only features the scalar (dot) product, lol. You can switch between the different product types by hitting the multiply key multiple times.
(https://img.ourl.ca/teaser-2.gif)
-
So that's what this all was for :D I really have no clue what vectorial math is, though.
Btw, should this be in the asm subforum or the z80 projects forum?
-
Interesting. Although at first I thought this would draw vectors lol :P
-
Nice, just what I needed back then in my vectorial math courses.
-
re-wrote how tokens are handled and added the cross product ^.^
-
Screenies or it didn't happen :P
Nice job! I hope to see more out of this in the near future (because vectors and Physics)!
-
Is this a parser hook?
-
Is this a parser hook?
yes and a key hook so taht if you hit the times key multiple times you get the new token
-
So vectorial math alternates between multiplication and addition? (I've never heard of it either). Anyhow, it's always nice to see new math programs. :)
-
So vectorial math alternates between multiplication and addition? (I've never heard of it either). Anyhow, it's always nice to see new math programs. :)
Lol, there's the dot product and the cross product as 'main' things, i guess.
I already added both, then I also added getting the length of a vector and 'normalizing' a vector, so scaling it down to the length of 1
Right now I'm trying around on making a custom menu when hitting STAT twice
-
So vectorial math alternates between multiplication and addition? (I've never heard of it either). Anyhow, it's always nice to see new math programs. :)
Lol, there's the dot product and the cross product as 'main' things, i guess.
I already added both, then I also added getting the length of a vector and 'normalizing' a vector, so scaling it down to the length of 1
Right now I'm trying around on making a custom menu when hitting STAT twice
Could you make another alpha-F? menu also/instead?
-
Yeah I thought about making also such input fields on MP calcs. Depending on how complex it'll be
-
is this project dead? i woud be glad to use this app;)
-
No, it isn't dead, but it is currently on-hold as I need to figure stuff out.... http://www.cemetech.net/forum/viewtopic.php?p=228847#228847
-
Soooo I got a little issue with pasting characters - inside of the TIOS text edtior.
well, the result is looking like this:
(https://img.ourl.ca/crash.gif)
My insert token routine is this:
insertTok:
; hl - tok
; bc - len (bytes)
push bc
ld de,appBackUpScreen
ldir
pop bc
ld hl,appBackUpScreen
ld (rclQueue),hl
add hl,bc
ld (rclQueueEnd),hl
set 7, (iy+0Eh)
set 2, (iy+33h)
ret
Any help would be awesome ^.^
-
Looks pretty fine to me.
-
How about calculating the distance between two points? Or, the distance between a line and a point?
(https://img.ourl.ca/length.gif)
Bored with three dimensions? This works in n dimensions!
-
Soooo,
implemented features:
- scalar product
- cross product *
- absolute value of vector
- normalize a vector
- distance point - point
- distance point - line
- distance line - line
- angle vector -vector
Will implement:
- distance point-plain
- distance line-plain
- distance plain-plain
- converting plains between the different notations *
- angle line-line
- angle line-plain
- check if point is on line
- check if point is on plain
- check if line is in plain
- tensor product *
the start (*) indicates that that function is, due to definition stuff, only possible in three dimensions (stuff with plains)
Any other ideas?
EDIT: Did i say that i was making plain stuff only three-dimensional? How about an n-1 dimensional plain in an n-dimensional space? ^.^
-
Now have a snapshot attached for whatever you want. Use at your own risk, i know that when hitting stats twice in the prog. editor and trying to paste a token your calc will crash :p
-
yes!
i'm going to test it, we have vectorial marh in maths period:)
i think i'll troll a litttle bit but is also very usefull thought (xd)
EDIT:
we don't have vectorial math this school year :'(
as sorunome said, the calculator crashes posting a command in the prog editor(i was bored in math period so i tried it out)
there are just two ways to quit the vector menu: by pressing 2nd * quit or choosing an optioon. this is annoying because i'm not used to quit menu's this way.
but all in all it lookes fine to me, i just need knowledge in vectorial math.
-
[...]
there are just two ways to quit the vector menu: by pressing 2nd * quit or choosing an optioon. this is annoying because i'm not used to quit menu's this way.
[...]
I find that annoying, too, but the thing is, i use system routines for the menu :p