aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/clifford/3d/dq.pov
diff options
context:
space:
mode:
authorJODBaer <JODBaer@github.com>2021-08-07 11:20:44 +0200
committerJODBaer <JODBaer@github.com>2021-08-07 11:20:44 +0200
commitcc5efb2320d8d029ff735608ef6815db292cca2c (patch)
treebeac3f06d1a230d87de27d3eff3482dd2bdd061a /buch/papers/clifford/3d/dq.pov
parentsave (diff)
parentMerge pull request #75 from Nunigan/master (diff)
downloadSeminarMatrizen-cc5efb2320d8d029ff735608ef6815db292cca2c.tar.gz
SeminarMatrizen-cc5efb2320d8d029ff735608ef6815db292cca2c.zip
Merge remote-tracking branch 'upstream/master' into Baer
Diffstat (limited to 'buch/papers/clifford/3d/dq.pov')
-rw-r--r--buch/papers/clifford/3d/dq.pov30
1 files changed, 30 insertions, 0 deletions
diff --git a/buch/papers/clifford/3d/dq.pov b/buch/papers/clifford/3d/dq.pov
new file mode 100644
index 0000000..762eee2
--- /dev/null
+++ b/buch/papers/clifford/3d/dq.pov
@@ -0,0 +1,30 @@
+//
+// dq.pov -- Drehung und Quaternion
+//
+// (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+//
+#include "common.inc"
+
+arrow(<0,0,0>, <1, sqrt(2), 2>, r, Red)
+
+#declare r = 0.2 * r;
+
+#declare drehwinkel = 0.95 * 2*pi/3 * 3;
+#declare drehwinkel23 = drehwinkel;
+#declare drehwinkel12 = drehwinkel / sqrt(2);
+#declare drehwinkel13 = drehwinkel / 2;
+
+circlearrow(<1,0,0>, <0,0,1>, <1, sqrt(2), 0>, 1, thick, drehwinkel23, 1)
+circlearrow(<1,0,0>, <0,1,0>, <1, 0, 2>, sqrt(2)/2, thick, drehwinkel12, 1)
+circlearrow(<0,0,1>, <1,0,0>, <0, sqrt(2), 2>, 0.5, thick, drehwinkel13, 1)
+
+#declare l = 2.8;
+#declare h = 0.0001;
+union {
+ box { <-l,-l,-h>, <l,l,-h> }
+ box { <-l,-h,-l>, <l,-h,l> }
+ box { <-h,-l,-l>, <-h,l,l> }
+ pigment {
+ color rgbt<0.6,0.6,0.6,0.0>
+ }
+}