Function Repository Resource:

PebbleStoneEffect

Source Notebook

Perform a pebble stone–like effect on an image

Contributed by: Enrique Zeleny

ResourceFunction["PebbleStoneEffect"][img]

performs a pebble stone–like effect on an image.

Details and Options

Filled curves use splines of degree 3.

Examples

Basic Examples (3) 

Style the image with a pebble stone effect:

In[1]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/1dee6829-a61f-4bf2-82b9-01fdee6d76c5"]
Out[1]=

Scale filled curves:

In[2]:=
img /. FilledCurve[fc_] :> Scale[FilledCurve[fc], .75]
Out[2]=

Colorize according a ColorFunction:

In[3]:=
Colorize[img, ColorFunction -> "SunsetColors"]
Out[3]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Version History

  • 1.0.0 – 15 March 2019

License Information