Orbit trap
In mathematics, an orbit trap is a method of colouring fractal images based upon how close an iterative function, used to create the fractal, approaches a geometric shape, called a "trap".[src] Typical traps are points, lines, circles, flower shapes and even raster images.[src] Orbit traps are typically used to colour two dimensional fractals representing the complex plane.[src]
In mathematics, an orbit trap is a method of colouring fractal images based upon how close an iterative function, used to create the fractal, approaches a geometric shape, called a "trap".[src] Typical traps are points, lines, circles, flower shapes and even raster images.[src] Orbit traps are typically used to colour two dimensional fractals representing the complex plane.[src] ==Examples== animation, with varying area of the image support, used as orbit trap.]] ===Point based=== A point-based orbit trap colours a point based upon how close a function's orbit comes to a single point, typically the origin.[src] ===Line based=== A line-based orbit trap colours a point based upon how close a function's orbit comes to one or more lines, typically vertical or horizontal (x=a or y=a lines).[src] Pickover stalks are an example of a line based orbit trap which use two lines.[src] ==Algorithm== Orbit traps are typically used with the class of two-dimensional fractals based on an iterative function.[src] A program that creates such a fractal colours each pixel, which represent discrete points in the complex plane, based upon the behaviour of those points when they pass through a function a set number of times.[src] The best known example of this kind of fractal is the Mandelbrot set, which is based upon the function z n+1 = z n 2 + c.[src] The most common way of colouring Mandelbrot images is by taking the number of iterations required to reach a certain bailout value and then assigning that value a colour.[src] This is called the escape time algorithm.[src] A program that colours the Mandelbrot set using a point-based orbit trap will assign each pixel with a “distance” variable, that will typically be very high when first assigned: double distance = 10e5 As the program passes the complex value through the iterative function it will check the distance between each point in the orbit and the trap point.[src] The value of the distance variable will be the shortest distance found during the iteration: private double getDistance(Complex c, Complex point, int maxIteration) { double distance = 1e20; Complex z = new Complex(0, 0); for (int i=0; i ==References== .[src] .[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Orbit trap." encyclopegia.org, 2026, https://encyclopegia.org/wiki/orbit-trap. Accessed 25 November 2026.
Chicago
"Orbit trap." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/orbit-trap.
APA
encyclopegia.org. (2026). Orbit trap. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/orbit-trap
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON