Showing posts with label noise. Show all posts
Showing posts with label noise. Show all posts

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.


Friday, January 3, 2020

Fractal Friday 2020.01.03

The noise renderer has gotten more sophisticated in the past week, and it's being put to work in this week's set of fractals. Each image includes a generated noise-texture, with various approaches to transparency in the fractal permitting the texture to show through.


The Julia set image above has a semi-transparent purple in the color mapping which permits a fabric-like texture to show through giving the rendering the feeling of a woven fabric or paper fiber texture.

This bold, edge-drawn mandelbrot set view is a bit more stark against its chiseled, black-and-gray noise surface:


An N-cubed mandlebrot section gets a bit subtler treatment with a horizontal grain texture, which shows through most clearly in the dark 'maxed-out' section:


A bit crazier are the curve-and-line-segment generated scribbles showing through this Julia set segment's color cycle, with transparency in each color band:


While it's only the beginning of January, this 5th-degree Julia set floral image looks forward to spring, especially with the tangled green bezier-noise suggesting foliage, showing through the transparent lower-iteration values around the floral center:


All of these images were created with the Mathaesthetics flagship software, a desktop app for Mac OS X which has now been in development for two months. The first beta will be released early this year, with a full release coming before summer. If you like these images and are interested in creating your own with this software, or just seeing more as the software evolves, make sure to follow Mathaesthetics on Twitter, Instagram, Facebook - and we're also now on 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: