We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Generating Random SVG Elements in Polynomial Time

Formal Metadata

Title
Generating Random SVG Elements in Polynomial Time
Title of Series
Part Number
4
Number of Parts
31
Author
License
CC Attribution - NoDerivatives 2.0 UK: England & Wales:
You are free to use, copy, distribute and transmit the work or content in unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date2011
LanguageEnglish
Production Year2010
Production PlaceParis, France

Content Metadata

Subject Area
Genre
Abstract
The ability to generate dynamic graphical content is a major asset of SVG. Accordingly, a natural question that has caught the attention of computer scientists for some time is how to efficiently generate “interesting” random shapes. The generation of random shapes could be used to mimic scenery found in nature which appears to the human eye to be truly random. Trees grow at apparently random angles, water bodies such as lakes, and oceans have random contours edges. Furthermore, streams have unusual edges and meander randomly. Random polygons with a large number of edges can be smoothed, filtered and given gradients to resemble natural entities such as clouds, lakes and land formations. An efficient algorithm for generating poly-gons has been created and implemented in SVG. The paper will demonstrate its use to create random shapes.