Wolfram Research

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

Style the image with a pebble stone effect:

In[1]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/ec1b409e-9e34-4cce-be77-0283b0bdecaa"]
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

Resource History

License Information