/ concept-collection / numbl-chunkie
Sign in
concept-collection / numbl-chunkie
numbl-chunkie / chunkie_ex05_barbell.m
17 lines · 265 BCodeBlameHistory
75430cbInitial commit: chunkie examples for numblJeremy Magland 1% Example 5: Rounded polygon (barbell) via chunkerpoly.
3mip load --install magland/magland/chunkie;
5tic;
7verts = chnk.demo.barbell(2.0,2.0,1.0,1.0);
8chnkr4 = chunkerpoly(verts);
10toc;
12figure(4)
13clf
14plot(chnkr4,'b-x')
15hold on
16quiver(chnkr4,'r')
17axis equal tight
moveopenescclose