Lesson goal: Draw Polylines in 3D

Previous: Drawing lines in 3D | Home | Next: Introduction

In a previous lesson, you learned how to draw lines in 3D.

In this lesson, we introduce a many line (or "polyline") function that will draw many lines and connect each of them together. You just have to supply the sequential endpoints through which to draw the lines. This allows you to draw 3D "spaghetti" like graphics. The function is called line3dx and accepts an array of 3D coordinates.

line3dx({{x1,y1,z1},{x2,y2,z2},...,{xn,yn,zn}},color,thickness)