StippleShading

StippleShading[]

is a three-dimensional graphics directive specifying that objects that follow are to be drawn using small dots.

StippleShading[d]

uses the density d of shading.

StippleShading[col]

uses dots with the specified color col.

StippleShading[d,col]

uses dots of color col with the density d of shading.

Details

  • StippleShading is also known as stippling.
  • StippleShading is typically used to achieve a drawing effect in which dots are used to convey the shape, texture and lighting of a three-dimensional object.
  • StippleShading[d,col] specifies that dots of color col should vary with overall density d.
  • The density of dots is driven by the luminosity of the surface. Less dense areas indicate high luminosity.
  • The density d is between 0 and 1. A higher density indicates more dots per area.
  • The color col can be defined by RGBColor, Hue or any other color specification.
  • In StippleShading[d], the color of dots is taken to be Black.
  • StippleShading[col] uses a density of 0.5.
  • StippleShading[] is effectively equivalent to StippleShading[0.5,Black].
  • The setting Lighting"Accent" uses a directional light and faithfully reproduces colors on the surface.

Examples

open allclose all

Basic Examples  (4)

Apply stipple shading to the unit sphere with a directional light:

Use stipple shading to show Beethoven with the standard colored lights:

Style a surface in a plot:

Show an anatomical structure:

Scope  (11)

Basic Uses  (5)

Apply stipple shading to a graphics primitive:

Apply stipple shading to a plot:

Apply stipple shading to a chart:

Apply stipple shading to a 3D object:

Summary box:

Specification  (3)

StippleShading with no arguments uses gray tones:

Apply stipple shading to the unit sphere with different densities:

Use colorized stipple shading:

Lighting  (3)

StippleShading works with all types of lights:

Use colored lights:

Use "Accent" lighting to faithfully reproduce colors on the surface:

Applications  (1)

Style an anatomical structure:

Possible Issues  (2)

The default light scheme uses several colored light sources:

Use a single directional light to get the standard stipple shading effect:

No shading effect is applied to faces of polygons or filled graphic objects:

Wolfram Research (2020), StippleShading, Wolfram Language function, https://reference.wolfram.com/language/ref/StippleShading.html.

Text

Wolfram Research (2020), StippleShading, Wolfram Language function, https://reference.wolfram.com/language/ref/StippleShading.html.

CMS

Wolfram Language. 2020. "StippleShading." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StippleShading.html.

APA

Wolfram Language. (2020). StippleShading. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StippleShading.html

BibTeX

@misc{reference.wolfram_2023_stippleshading, author="Wolfram Research", title="{StippleShading}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/StippleShading.html}", note=[Accessed: 19-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_stippleshading, organization={Wolfram Research}, title={StippleShading}, year={2020}, url={https://reference.wolfram.com/language/ref/StippleShading.html}, note=[Accessed: 19-April-2024 ]}