Visualizing the distributions of the escape paths of quaternion fractals

Similar documents
and A L T O S O L O LOWELL, MICHIGAN, THURSDAY, OCTCBER Mrs. Thomas' Young Men Good Bye 66 Long Illness Have Sport in

' Liberty and Umou Ono and Inseparablo "

r/lt.i Ml s." ifcr ' W ATI II. The fnncrnl.icniccs of Mr*. John We mil uppn our tcpiiblicnn rcprc Died.

W i n t e r r e m e m b e r t h e W O O L L E N S. W rite to the M anageress RIDGE LAUNDRY, ST. H E LE N S. A uction Sale.

.-I;-;;, '.-irc'afr?*. P ublic Notices. TiffiATRE, H. aiety

H A M M IG K S L IM IT E D, ' i. - I f

Fractals. Part 6 : Julia and Mandelbrot sets, Martin Samuelčík Department of Applied Informatics

LOWELL WEEKLY JOURNAL.

Q SON,' (ESTABLISHED 1879L

ACCEPTS HUGE FLORAL KEY TO LOWELL. Mrs, Walter Laid to Rest Yesterday

Neatest and Promptest Manner. E d i t u r ami rul)lihher. FOIt THE CIIILDIIES'. Trifles.

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Octonions. Robert A. Wilson. 24/11/08, QMUL, Pure Mathematics Seminar

Control and synchronization of Julia sets of the complex dissipative standard system

First Menu of Projects (for Project II)

Nonsmooth systems: synchronization, sliding and other open problems

Course 2BA1: Hilary Term 2007 Section 8: Quaternions and Rotations

Chapter 3. Gumowski-Mira Map. 3.1 Introduction

CSE 167: Introduction to Computer Graphics Lecture #2: Linear Algebra Primer

USTER LABORATORY SYSTEMS

Topic 4 Notes Jeremy Orloff

Liquid Crystals. Martin Oettel. Some aspects. May 2014

d A L. T O S O U LOWELL, MICHIGAN. THURSDAY, DECEMBER 5, 1929 Cadillac, Nov. 20. Indignation

LOWELL WEEKLY JOURNAL

GG303 Lecture 6 8/27/09 1 SCALARS, VECTORS, AND TENSORS

Chaotic transport through the solar system

Julia Sets and the Mandelbrot Set

Section 14.8 Functions of more than three variables

Introduction to Differential Equations

Strange Attractors and Chaotic Behavior of a Mathematical Model for a Centrifugal Filter with Feedback

Infinity Unit 2: Chaos! Dynamical Systems

A. H. Hall, 33, 35 &37, Lendoi

Breaking an encryption scheme based on chaotic Baker map

Spacetime and 4 vectors

Stacks. Definitions Operations Implementation (Arrays and Linked Lists) Applications (system stack, expression evaluation) Data Structures 1 Stacks

Lecture 4 - The Basic Examples of Collapse

LOWELL WEEKLY JOURNAL

CHAPTER 3 CHAOTIC MAPS BASED PSEUDO RANDOM NUMBER GENERATORS

Function Projective Synchronization of Discrete-Time Chaotic and Hyperchaotic Systems Using Backstepping Method

Closed-Form Solution Of Absolute Orientation Using Unit Quaternions

12. Stresses and Strains

AS1001:Extra-Galactic Astronomy

The Phase-Modulated Logistic Map: an Exploration

Crystal Relaxation, Elasticity, and Lattice Dynamics

Top-down Causality the missing link in our physical theories

Chapter 1 Fluid Characteristics

Experimental study of delayed positive feedback control for a flexible beam

CS 480/680: GAME ENGINE PROGRAMMING

arxiv: v1 [nlin.cd] 25 Dec 2011

Cryptanalysis of a computer cryptography scheme based on a filter bank

Chaos in the Hénon-Heiles system

sin(α + θ) = sin α cos θ + cos α sin θ cos(α + θ) = cos α cos θ sin α sin θ

Wave and Elasticity Equations

EE 209 Spiral 1 Exam Solutions Name:

+ f f n x n. + (x)

Root Finding Convergence Analysis

Quantum Field theories, Quivers and Word combinatorics

LAB 5. INTRODUCTION Finite Difference Method

Formula analyzer: Find the formula by parameters

A Memorial. Death Crash Branch Out. Symbol The. at Crossing Flaming Poppy. in Belding

The domino problem for structures between Z and Z 2.

The Quaternions. The Quaternions. John Huerta. Department of Mathematics UC Riverside. Cal State Stanislaus

Fractal generation method based on asymptote family of generalized Mandelbrot set and its application

EXACT SOLUTIONS OF NON-LINEAR FRACTIONAL PARTIAL DIFFERENTIAL EQUATIONS BY FRACTIONAL SUB-EQUATION METHOD

1. De Sitter Space. (b) Show that the line element for a positively curved FRW model (k = +1) with only vacuum energy (P = ) is

Applications of Eigenvalues & Eigenvectors

Switch-Case & Break. Example 24. case 1 : p r i n t f ( January \n ) ; break ; case 2 : p r i n t f ( F e b r u a r y \n ) ; break ;

Assignment #1 Sample Solutions

Computational Methods in Finite Geometry

New Application of the (G /G)-Expansion Method to Excite Soliton Structures for Nonlinear Equation

Solving PDEs with CUDA Jonathan Cohen

Chapter 3: Introduction to the Quantum Theory of Solids

Exercises involving elementary functions

CSE 167: Introduction to Computer Graphics Lecture #2: Linear Algebra Primer

Welcome to Environmental Science!!!

Applied C Fri

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Chapter 23: Dark Matter, Dark Energy & Future of the Universe. Galactic rotation curves

North by Northwest - An Introduction to Vectors

Chapter 8 Part 1. Attitude Dynamics: Disturbance Torques AERO-423

Neutron Stars. Properties of Neutron Stars. Formation of Neutron Stars. Chapter 14. Neutron Stars and Black Holes. Topics for Today s Class

Stellar Models ASTR 2110 Sarazin

How to work out really complicated motion. Iteration and Problem Solving Strategies. Let s go. Vertical spring-mass.

Part II Effect of Insertion Devices on the Electron Beam

On the Equation of Fourth Order with. Quadratic Nonlinearity

Exact Solutions for the Nonlinear (2+1)-Dimensional Davey-Stewartson Equation Using the Generalized ( G. )-Expansion Method

Figure 1. The components of the descriptor vectors for an atom in a perfect bcc crystal (black) and an interstitial atom in a bcc lattice (red).

Grade 6 Math Circles October 9 & Visual Vectors

EE 354 Fall 2013 Lecture 10 The Sampling Process and Evaluation of Difference Equations

A wandering domain in class B on which all iterates are univalent

4 Nonlinear Equations

Finite Element Analysis of Piping Vibration with Guided Supports

Exact Soliton Solutions to an Averaged Dispersion-managed Fiber System Equation

Problem Solving 1: The Mathematics of 8.02 Part I. Coordinate Systems

Generalization of Fibonacci sequence

Complicated dynamics from simple functions

On localized solutions of chains of oscillators with cubic nonlinearity

Group, Rings, and Fields Rahul Pandharipande. I. Sets Let S be a set. The Cartesian product S S is the set of ordered pairs of elements of S,

Stochastic Loewner Evolution: another way of thinking about Conformal Field Theory

Gravity and Orbits. Objectives. Clarify a number of basic concepts. Gravity

Transcription:

Visualizing the distributions of the escape paths of quaternion fractals S. Halayka October 25, 2018 Abstract The length, displacement, and magnitude distributions of the escape paths of the points in some quaternion fractal sets are visualized. 1 Escape path length, displacement, and magnitude histograms As discussed in [1], a 3D scalar field of quaternion magnitudes Z = Zx 2 + Zy 2 + Zz 2 + Zw 2 results from calculating a quaternion fractal set when using a finite 3D lattice of regularly spaced points as input. Here we will visualize the distributions of the escape paths lengths, displacements, and magnitudes for those points where Z remains below the threshold of 4.0 during 8 iterations. A C++ code is given in the next section, which shows how to perform the iteration process. See Fig. 1 for a simplified 2D illustration of length, displacement, and magnitude per escape path. The escape paths used to calculate the histograms given in this paper are in 4D. The histograms in Figs. 2-10 together show how the maximum length is generally greater than the maximum displacement. This is also generally the case for the length and displacement per individual escape path, which is generally indicative of curved escape paths the escape paths generally meander because there are bends. In a lot of the cases (but not all cases) a curved escape path forms a loop (see pages 7, 12, and 13 in [2]), which gives rise to the commonly-used name orbit (see [3]). However, most of the time the loop is not quite exact, and so all maximum iteration count +1 = 9 points per escape path end up being distinct. This means that when a curved escape path forms an orbit, the orbit is generally not quite perfect the curved escape path is likely jittery, or precessing, or spiral-shaped, or all three. Are there fractals to be discovered by limiting the length or displacement, like we do with magnitude? sjhalayka@gmail.com 1

2 Core C++ code The following code performs the iteration process: float q u a t e r n i o n f r a c t a l s e t : : i t e r a t e ( vector <vector 4 > &e s c a p e p a t h p o i n t s, const quaternion &seed Z, const short unsigned int maximum iteration count = 8, const float t h r e s h o l d = 4. 0 f ) // seed Z c o n s t a i n s : // 1) a 3D l a t t i c e l o c a t i o n f o r seed Z. xyz, and // 2) a constant f o r seed Z.w Z = seed Z ; e s c a p e p a t h p o i n t s. c l e a r ( ) ; // Add f i r s t p o i n t to escape path v e c t o r 4 p ; p. x = Z. x ; p. y = Z. y ; p. z = Z. z ; p.w = Z.w; e s c a p e p a t h p o i n t s. push back ( p ) ; // Use squared v a l u e s to avoid using s q r t f ( ) during the i t e r a t i o n float magnitude squared = Z. s e l f d o t ( ) ; const float t h r e s h o l d s q u a r e d = t h r e s h o l d t h r e s h o l d ; for ( short unsigned int i = 0 ; i < maximum iteration count ; i ++) // I t e r a t i v e equation Z = Z Z + C; // Add a d d i t i o n a l p o i n t ( s ) to escape path p. x = Z. x ; p. y = Z. y ; p. z = Z. z ; p.w = Z.w; e s c a p e p a t h p o i n t s. push back ( p ) ; magnitude squared = Z. s e l f d o t ( ) ; // Abort e a r l y i f magnitude tends toward i n f i n i t y i f ( magnitude squared >= t h r e s h o l d s q u a r e d ) break ; return s q r t f ( magnitude squared ) ; 2

The following code shows the quaternion implementation: class quaternion public : // Constructors omitted f o r b r e v i t y... inline f loat s e l f d o t ( void ) const return x x + y y + z z + w w; quaternion operator ( const quaternion &r i g h t ) const quaternion r e t ; r e t. x = x r i g h t. x y r i g h t. y z r i g h t. z w r i g h t.w; r e t. y = x r i g h t. y + y r i g h t. x + z r i g h t.w w r i g h t. z ; r e t. z = x r i g h t. z y r i g h t.w + z r i g h t. x + w r i g h t. y ; r e t.w = x r i g h t.w + y r i g h t. z z r i g h t. y + w r i g h t. x ; return r e t ; quaternion operator+(const quaternion &r i g h t ) const quaternion r e t ; r e t. x = x + r i g h t. x ; r e t. y = y + r i g h t. y ; r e t. z = z + r i g h t. z ; r e t.w = w + r i g h t.w; return r e t ; ; float x, y, z, w; // For i t e r a t i v e e q u a t i o n s l i k e Z = s i n (Z) + C s i n (Z) quaternion s i n ( const quaternion &in ) quaternion r e t ; const float mag vector = s q r t f ( in. y in. y + in. z in. z + in.w in.w) ; r e t. x = s i n ( in. x ) cosh ( mag vector ) ; r e t. y = cos ( in. x ) sinh ( mag vector ) in. y / mag vector ; r e t. z = cos ( in. x ) sinh ( mag vector ) in. z / mag vector ; r e t.w = cos ( in. x ) sinh ( mag vector ) in.w / mag vector ; return r e t ; 3

Figure 1: Length, displacement, and magnitude of a meandering escape path that consists of maximum iteration count +1 = 9 points. References [1] Halayka S. Some visually interesting non-standard quaternion fractal sets Chaos, Solitons & Fractals Vol. 41, Issue 5 [2] https://iquilezles.org/www/articles/arquimedes/arquimedes.pdf [3] http://math.bu.edu/dysys/fracgeom/fracgeom.html [4] http://www.theworld.com/%7esweetser/quaternions/intro/tools/tools.html 4

Figure 2: Lengths of Z = Z 2 + C, where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum length is 21.2391; mean: 7.05497; mode: 5.95688. Figure 3: Displacements of Z = Z 2 + C, where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum displacement is 2.36506; mean: 1.38231; mode: 1.53986. Figure 4: Magnitudes of Z = Z 2 + C, where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum magnitude is 3.99997; mean: 1.18208; mode 0.614353. 5

Figure 5: Lengths of Z = Z 5 + C, where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum length is 14.8154; mean: 3.15715; mode: 1.97868. Figure 6: Displacements of Z = Z 5 + C, where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum displacement is 2.04231; mean: 1.16552; mode: 1.13196. Figure 7: Magnitudes of Z = Z 5 + C, where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum magnitude is 3.99525; mean: 0.667052; mode 0.546928. 6

Figure 8: Lengths of Z = sin(z) + C sin(z), where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum length is 28.7689; mean: 7.19823; mode: 5.37916. Figure 9: Displacements of Z = sin(z) + C sin(z), where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum displacement is 3.93216; mean: 2.22363; mode: 2.45514. Figure 10: Magnitudes of Z = sin(z) + C sin(z), where C xyzw = 0.3, 0.5, 0.4, 0.2. For this histogram the maximum magnitude is 3.99999; mean: 1.95538; mode 1.49582. 7