Divide Triangles

This Demonstration illustrates a way to divide a triangle or the convex hull of a set of points into a mesh of subtriangles, with maximum side length less than a selected value. Delaunay triangulation is applied to the convex hull before splitting the triangles. Then the subtriangles are colored by methods that involve both random numbers and the orientation of the triangles. The aim is to obtain some "instant art", which also is fun to manipulate.


The routine to divide triangles into a mesh is from the author's web page.
The Delaunay triangulation here was performed using a method suggested by Jens-Peer Kuska; see http://forums.wolfram.com/mathgroup/archive/2007/Nov/msg00400.html.
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+