Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually figure out how geometric algebra works. #2

Open
WaDelma opened this issue Feb 21, 2017 · 6 comments
Open

Actually figure out how geometric algebra works. #2

WaDelma opened this issue Feb 21, 2017 · 6 comments

Comments

@WaDelma
Copy link
Owner

WaDelma commented Feb 21, 2017

Good video source:
https://www.youtube.com/playlist?list=PLpzmRsG7u_gqaTo_vEseQ7U8KFvtiJY4K

@micahscopes
Copy link

micahscopes commented Apr 20, 2017

I'd love to chat about this! Do you hang out on IRC?

@WaDelma
Copy link
Owner Author

WaDelma commented Apr 21, 2017

My nick is 'delma' at irc.mozilla.org

@porky11
Copy link

porky11 commented Jan 22, 2018

@WaDelma
I made something like that myself now.
It's not finished yet, but it should already work for most use cases of 2D (or lower dimensions).
So if you want to use something like that, instead of creating it yourself, or just want to have a reference in rust, you may look at it.
I just got the examples to work, so the bugs are hopefully fixed, but don't expect, that everything works as it should.

@WaDelma
Copy link
Owner Author

WaDelma commented Feb 2, 2018

There is also https://github.com/Limeth/hestenes
I am not sure if I will be working on this library before integer generics are stable.

@porky11
Copy link

porky11 commented Feb 5, 2018

Mine already works for 0D, 1D, 2D, 3D (except some incorrect types when using the efficient implementations instead of general multivectors), not yet 4D, there was some bug when compiling.
Also mine defines the most efficient types for every dimension. (3D vectors are represented as arrays of 3 elements, 3D rotors as arrays of 4 elements, 4d bivectors are arrays of 6 elements, etc) and the type after multiplication is automatically computed, so it returns the minimal implementation.
I also already created a simple example physics engine using GA here. It doesn't yet work for yet for 3D because of the incorrect types.

hestenes doesnt look like it's already usable and I'm not sure, if it works in the most efficient way.

@porky11
Copy link

porky11 commented Feb 5, 2018

I looked at mine again, I really have to redefine the inner and geometric product, they don't work correctly at all, even if it works in my 2d example as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants