Pipes generator (POV-Ray)

by Oyonale
The MadPipe macro generates a random pipe structure of a given size. Like in the famous Windows screensaver, the pipe starts at one point and then circulates in its containing box until a certain number of elements is reached.The macro reads a file containing decorative elements (more or less identical to those in pipeset.pov) and then puts these elements along the path. You can avoid putting decorative elements in the central zone of the container box.The macro can output to a file (recommended) so that you can use the file without having to run the macro again.The macro can create 3D pipes or 2D pipes (in the x-y plane)The pipeset.pov file contains pipe elements more complex than those of the MadPipe macro.