Code covered by the BSD License  

Highlights from
animated spinning top with Cardan mounting

image thumbnail

animated spinning top with Cardan mounting

by

 

27 Jul 2010 (Updated )

Plots an animated spinning top with Cardan mounting from raw animation data.

...
function [ Xupper,Yupper,Zupper,Xlower,Ylower,Zlower ] = ...
    createOuterBars( radius )
%CREATEOUTERBARS Creates the red motionless supporting bar

[Xupper,Yupper,Zupper] = cylinder(radius);
Zupper=Zupper.*5;
Zupper=Zupper+5.9;
[Xlower,Ylower,Zlower] = cylinder(radius);
Zlower=Zlower.*5;
Zlower=Zlower-10.9;

Contact us