Showing posts with label exponent. Show all posts
Showing posts with label exponent. Show all posts

Friday, February 21, 2020

Fractal Friday 2020.02.21

I started this week's Fractal Friday exploration by trying out higher-iteration-cutoff Mandelbrot sets.  Here are a few results with max iterations set to 1000, and higher breakout values than my usual setting of 10.0 - more detail definitely appears, especially in the boundary of the breakout value which becomes much more frond-like. The first one also includes a geometric texture backdrop layered in with MathPaint.





 I also tried the same with Julia sets, but at least for the parameters I was exploring had less luck there because Julia set thresholds seem to be a bit more abrupt. If values escape after 100 iterations, it's not easy to find higher breakout values that will permit higher iterative attempts to reveal more detail around the breakout boundary in the same way as Mandelbrot. Nonetheless I found some cool results, including this spiral that again has a MathPaint geometry-layer background:





I'm including a couple of different takes on the last one. First there's the base Julia Set image with some nice spiral figures. The image that follows uses the same parameters, xy-range and color mapping, but with a real-valued warp function added. The 'warp' is an inverse exponential function applied to the real part of z for each calculation, and the results are pretty cool. I include a couple of extra zooms into this warped fractal below.









I'm going to post some updates on the geometry renderer of MathPaint in the coming days - check back on the blog or follow on Facebook, Twitter, Instagram, or Pinterest!



Thursday, December 5, 2019

Flavors of static: random distributions and noise

It's day one of noise generation in our flagship product! There are many ways to generate visual noise; our first algorithm is a simple static pixel generator. For these examples I'm generating a random integer from 0 to 255 and using that value to calculate a color on the gradient between two colors (here, blue and orange). Here's the initial output:
It's easiest to compare other output zoomed in a bit - here's a section zoomed at 1200%:
I'm interested in tweaking the actual noise generation, which here means changing the random value generation (not just applying visual adjustments to the output). Filtering the random unit through a log() function creates a curve that produces more values closer to the maximum and few values closer to the minimum - which interpreted as color, means we see more orange:
The complementary approach uses an exponential function to produce a distribution that increases more slowly at first - mapping more values to the lower end of the scale, here meaning more blue: