mrdoob/three.js — pull request #2481 by roriz87 (2012-10-04 10:42:13+00:00)
Title: Update src/extras/GeometryUtils.js

Before sinking into the study, I decided to write a latest, simplified version of the wireframe for random points in the geometry. This time I wrote it as an upgrade of GeometryUtils.js, to facilitate both the construction of DataTexture through the array and the integration with three.js if you consider it an appropriate addition.

Probably the "randomPointInPerimeter" function can be further simplified.
In any case, in this way the distribution of points is adjusted according to the length of the segments in the perimeter of each face.

Example:

http://pi-note.com/pi-lab/demo/wireframe-in-geometryutils/

```javascript