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!

leadingzero(X,N)
function outstring = leadingzero(X,N)

outstring = [strrep(blanks(N-1 - fix(log10(X))),' ','0'),num2str(X,3)];

Contact us