/
concept-collection
/
numbl-chunkie
Jump to
/
Appearance
Match my system
Paper
GitHub
Slate
Midnight
Terminal
Sign in
concept-collection
/
numbl-chunkie
Code
Commits
Issues
0
Pull requests
0
Actions
Branches
1
Tags
0
Site
75430cb
Branches
main
numbl-chunkie
/
chunkie_ex05_barbell.m
17 lines · 265 B
Copy
Copied
Blame
History
Raw
1
% Example
5
: Rounded polygon (barbell) via chunkerpoly.
2
3
mip load --install magland/magland/chunkie;
4
5
tic;
6
7
verts = chnk.demo.barbell(
2.0
,
2.0
,
1.0
,
1.0
);
8
chnkr4 = chunkerpoly(verts);
9
10
toc;
11
12
figure(
4
)
13
clf
14
plot(chnkr4,
'b-x'
)
15
hold on
16
quiver(chnkr4,
'r'
)
17
axis equal tight
↑
↓
move
↵
open
esc
close