• Remix
  • Share
  • New Entry

on 18 Oct 2022
  • 6
  • 25
  • 0
  • 0
  • 239
% Create blobs around some random points.
rng(3);
centers=30+20*(rand(20,3)*2-1);
B=blinnblob(centers,40,64,64);
S=isosurface(B,.1);
v=S.vertices;
S.FaceVertexCData=-hypot(v(:,1)-30,hypot(v(:,2)-30,v(:,3)-30));
patch(S)
shading interp
lighting g
axis equal off
camlight
colormap prism
material metal
Remix Tree