Code covered by the BSD License  

Highlights from
Spherium

image thumbnail

Spherium

by

 

05 Jul 2011 (Updated )

Wield the power of OpenGL and create ammonites, Klein bottles and curious spheria!

polyspike_update_surface
%polyspike_update_surface
% Draws a shaded polyspike 3D surface!

function polyspike_update_surface

%Obtain handle to spherium GUI main function and axes
mainfig = findobj('tag','FIGUREspherium');
m = guidata( mainfig );

%Get polyspike data and create new surface
s = m.S.SPHERIA.polyspike;
figure(m.FIGUREspherium);
axes(m.AXESspherium);
m.H.surface_handle = make_polyspike( s.N,s.M,s.k,s.P );

%Update spherium main GUI with new surface handle
guidata( mainfig, m );

%End of code

Contact us