Can you make a formula like Z power q +c but q in Quaternions q=a+ib+jC+kd
a,b,c,d in Real
Thank you for all you done
My dear I was planning to do this but I fear this is far too complex and almost useless. Why?
2D fractals with complex powers are all weird looking, because complex part of the power screws up the shape making it non-symmetrical. I have never (
never!!!!) seen a fractal with a complex power in any artistic site. So why try to extend this in quat? A really hard work for nothing - nobody will ever use this.
If you need to raise a quat to a neg power (-1) you can use sphereinv that already gives beautiful results. I will extend that transform soon. Also, raise to a fractional power is useless due to non-symmetry.
raising quat to a quat power;
a ^ b = exp ( b log(a))
1 step: calculate the log of the x,y,z,w quat. It requires
four calculations, each one with
four + four terms. You cannot do this saving variables at each step but saving at the end
a lot of time to write and very error-risky! I don't have the log fmla already written, so I should write it
by scratch! Ouch!!! (well, probably it will require even more steps. I am making an optimistic prevision
)
2 step: Multiply by the quat containing bx,by,bz,bw. I fear this is almost impossible without using additional storing bercause fp stack size is only 8 and
I cannot exceed it! I must do all computations and then save
3 step: calculate the exp of the previous quat. Other very hard step.
4: Assign previous values to w,z,y,x... easy
Another transform that I wish to do is Mobius in 4D; but I am not able because I need more than 4 slots and I don't know how to do!
Please for now use what is already done...