Rotations of 3+D implicit equations

Higher-dimensional geometry (previously "Polyshapes").

Rotations of 3+D implicit equations

Postby 개구리 » Mon Sep 14, 2020 3:52 am

For a 2D implicit function f(X,Y), the graph can be rotated by θ by substituting:
X = x*cos(θ) - y*sin(θ)
Y = x*sin(θ) + y*cos(θ)
Is there such a substitution for f(X,Y,Z) and f(X,Y,Z,W), adding the new angle variables φ and ϑ? I've been trying to make a generalized substitution algorithm based on spherical and glomic coordinates but it's quite difficult.
개구리
Mononian
 
Posts: 14
Joined: Tue Aug 04, 2020 10:26 pm

Re: Rotations of 3+D implicit equations

Postby wendy » Mon Sep 14, 2020 8:50 am

For four dimensions, there is left and right quarterions. This product is not communitive, but associative.

For higher dimensions, the problem becomes quite difficult. The rotation-space (where each possible rotation, including speed, occupies a point), goes as n(n-1)/2, for n. This means for a 2d thing, we just have a speed scale. For 3d, you imagine a sphere, and the radial distance is again speed, but the direction is given by the axis through the north pole. For four dimensions, you have two 3d axies in 6d, by the quarterions.

There is no general algebra above 4d, except 8d, where the octonions serve. But other than that...

In all even dimensions, one can suppose swirlybobs, which arise out of that in analytical euclidean geometry, you draw a single line through two points, holds equally true for complex numbers. But the slope of the line does not change if you introduce a rotation w (applied to each axis), which rotates every line in a derived direction, while keeping the same slope (of the line). This is because a complex-euclidean line is a real 2-space, and adding w=cis(vt), where v = velocity and t = time, rotates every point around the origin in a fixed way (eg for a line Z=aX = bY, you have wZ=awX = bwY, which in CE3, is the equation of a 6d swirlybon.
The dream you dream alone is only a dream
the dream we dream together is reality.

\ ( \(\LaTeX\ \) \ ) [no spaces] at https://greasyfork.org/en/users/188714-wendy-krieger
User avatar
wendy
Pentonian
 
Posts: 2031
Joined: Tue Jan 18, 2005 12:42 pm
Location: Brisbane, Australia

Re: Rotations of 3+D implicit equations

Postby ICN5D » Wed Oct 21, 2020 10:29 pm

Try and play with these rotate functions. They may be what you are describing. The third one below is what I used to rotate a tesseract to pass it through a 3-plane vertex first.

Translate 'a' with single rotation 'b' of sliding direction

x = (x*sin(b)+a*cos(b))
a = (x*cos(b)-a*sin(b))

---

Translate 'a' with 2 rotation parameters 'b,c' of slide direction

x = (x*sin(b)+a*cos(b))
y = (y*sin(c)+(x*cos(b)-a*sin(b))*cos(c))
[xy] = (y*cos(c)-(x*cos(b)-a*sin(b))*sin(c))

---

Translate 'a' with 3 rotation parameters 'b,c,d' of slide direction

x = (x*sin(b)+a*cos(b))
y = (y*sin(c)+(x*cos(b)-a*sin(b))*cos(c))
z = (z*sin(d)+(y*cos(c)-(x*cos(b)-a*sin(b))*sin(c))*cos(d))
[xyz] = (z*cos(d)-(y*cos(c)-(x*cos(b)-a*sin(b))*sin(c))*sin(d))


---

Translate 'a' with 4 rotate parameters 'b,c,d,t' of slide direction. To utilize this function to its fullest potential, CalcPlot will need 6 adjustable parameters. It has 5 for now, but we can hard-set W to a specific value, if exploring a 5D array of intercepts.

x = (x*sin(b)+v*cos(b))
y = (y*sin(c)+(x*cos(b)-v*sin(b))*cos(c))
z = (z*sin(d)+(y*cos(c)-(x*cos(b)-v*sin(b))*sin(c))*cos(d))
w = (w*sin(t)+(z*cos(d)-(y*cos(c)-(x*cos(b)-v*sin(b))*sin(c))*sin(d))*cos(t))
v = (w*cos(t)-(z*cos(d)-(y*cos(c)-(x*cos(b)-v*sin(b))*sin(c))*sin(d))*sin(t))
It is by will alone, I set my donuts in motion
ICN5D
Pentonian
 
Posts: 1135
Joined: Mon Jul 28, 2008 4:25 am
Location: the Land of Flowers


Return to Other Geometry

Who is online

Users browsing this forum: No registered users and 2 guests

cron