In this example I use 100 line segments in 3D. All segments have random size, color and location. In JavaView using antialias makes the picture a bit more clear.
Image obtained in MuPAD.
The same model in JavaView.