Procedurally Generated Patterns

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Vera-art
Posts: 1
Joined: 2016-10-13T00:37:03-07:00
Authentication code: 1151

Procedurally Generated Patterns

Post by Vera-art »

Hello, I am new here and I was wondering if you can use Imagemagick to make procedurally generated patterns/textures?

I am going to make an online animal SIM game and right now I'm doing the art for the animals, but I want for them to have, like, different fur markings and textures without handpainting them one-by-one.

That's why I want to use procedurally generated patterns, but I'm not sure if Imagemagick offers it.

And if it doesn't, do you know any other programs that do?

Thanks for your time :)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Procedurally Generated Patterns

Post by fmw42 »

I suspect Imagemagick is not the tool for you. You would have to write scripts to generate each pattern or better proper code. Imagemagick does not currently include functions for such arbitrary pattern generation.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Procedurally Generated Patterns

Post by snibgo »

The question is very vague. Do you have examples of patterns/textures you want to generate?

I created a system for IM based on Perlin noise, that can generate images like:
Image
See my "Fractal noise" page.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Procedurally Generated Patterns

Post by fmw42 »

See also my scripts at the link below: perlin, randomblob, tileimage, tiler and woodgrain.

As snibgo said, what kinds of procedures do you desire and do you have examples. Also what is your IM version and platform?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Procedurally Generated Patterns

Post by fmw42 »

Post Reply