Wireframe images

please format code with </> button * homework policy * asking questions

Hi, guys! Does anyone know if there’s a code that turns the images this way?

1 Like

Hi,

The easiest way is to create or generate a 3d model of a human body and then load it into Processing and rendering it with P3D :

https://processing.org/tutorials/p3d/

By using noFill() and stroke(color) you can get this wireframe effect.

Alternatively, you can use the free and open source 3d software Blender. (you should really try it it’s amazing :wink:)

3 Likes

If you turn your image into a collection of points, then you can also use the Mesh library to create a voronoi diagram of the point set.

See also past projects such as Segmentation and Symptom

http://www.flong.com/projects/zoo/

1 Like