Quaternion strikes back

Featuring the Dragonfly web framework

Quaternion strikes back

Postby hds1 » Mon Apr 25, 2016 11:24 am

Thanks Ted for the hint.
Done it. You can find the files here:
https://github.com/hds1

Regards
Heiko
Last edited by hds1 on Tue Apr 26, 2016 8:49 am, edited 1 time in total.
hds1
 
Posts: 27
Joined: Thu Mar 20, 2014 5:02 pm

Re: Quaternion strikes back

Postby TedWalther » Tue Apr 26, 2016 2:44 am

Can you put this on github so it is easier to review your code changes?
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence. Nine months later, they left with a baby named newLISP. The women of the ivory towers wept and wailed. "Abomination!" they cried.
TedWalther
 
Posts: 602
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC

Re: Quaternion strikes back

Postby hds1 » Fri Apr 29, 2016 11:01 am

i would consider the package now a stable first release.
For the Dual Quaternion module the NLERP, DLB, DLBblending, ScLERP, get/setScrewParams et al. have been added.
There are some dependencies between these modules. For the DQ you will need the dualNum,vector and quaternion module as well.
If you are interested in these modules pls download from Github.

Thanks for your patience.
Have fun.
hds1
 
Posts: 27
Joined: Thu Mar 20, 2014 5:02 pm

Re: Quaternion strikes back

Postby Lutz » Sat Apr 30, 2016 6:29 pm

Thanks for the contributions, Heiko!

The old files for vector.lsp and quadlib.lsp have been removed and a GitHub link is added on the modules page here: http://www.newlisp.org/modules/ where it says "Index: hds1/newlisp-modules". If you prefer a different description line, let me know.
Lutz
 
Posts: 5258
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: Quaternion strikes back

Postby hds1 » Wed May 04, 2016 7:01 pm

@Lutz, the naming is just fine by me.

For those in need for speed i've ported the code to C and put it on github so you can access it via FFI.

https://github.com/hds1/dual-quaternion-c

The functionality is quite the same as for the newlisp module.

Time needed for 1000000 Dual Quaternion ScLERPs: 2.498[sec]
Time needed for 1000000 Dual Quaternion NLERPs: 0.722[sec]
on a 2.4GHz M520 CPU.

The footprint of the libraries is very small with 25k for the DualQuaternion one being the biggest.
Code is not optimized.

Have fun.
Regards
Heiko
hds1
 
Posts: 27
Joined: Thu Mar 20, 2014 5:02 pm


Return to So, what can you actually DO with newLISP?

Who is online

Users browsing this forum: No registered users and 2 guests