Showing posts with label algorithm. Show all posts
Showing posts with label algorithm. 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!



Tuesday, February 18, 2020

Bring the noise! MathPaint gets more algorithms, plus templates

The forthcoming MathPaint beta now has a fairly complete noise-rendering feature set. There are several algorithmic noise-generation modes - Perlin, Billow, Ridged, and Voronoi - as well as MathPaint's own random-shape drawing mode.

In addition to the feature, I'm starting to build the collection of templates that will ship with the app as starting points - here's a screenshot of some Perlin noise applied as well as the templates window showing about a dozen noise templates that were added today:



While the templates are all grayscale, any color gradient can be applied to these noise patterns. In the case of the random shape patterns, instead of a gradient there's a pen color and a background color. As with all graphics layers in MathPaint, the layer opacity can be changed to make the noise a semi-transparent overlay of other generated content (or as image export, for use in other graphics programs).

Here are a few output examples from the noise templates, with colors changed:

Cloudy Perlin noise
Ridge-noise 'sandstone'
Gold billow noise
Grassy random segments (angle-constrained)
Chunky Voronoi noise in muted colors
MathPaint now has its own Facebook page you can Like/Follow for more pre-release screenshots and release updates.