You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
introspect behaves in a somewhat weird way when given a graph which is not a tree. For example, if we apply it to the Sierpinski fractal from the tutorial:
function sierpinski(n)
if n == 0
compose(context(), polygon([(1,1), (0,1), (1/2, 0)]))
else
t = sierpinski(n - 1)
compose(context(),
(context(1/4, 0, 1/2, 1/2), t),
(context( 0, 1/2, 1/2, 1/2), t),
(context(1/2, 1/2, 1/2, 1/2), t))
end
#end
introspect(sierpinski(3))
Then the edges are correct, but many irrelevant copies of the vertices are shown. Can this be fixed?
The text was updated successfully, but these errors were encountered:
introspect
behaves in a somewhat weird way when given a graph which is not a tree. For example, if we apply it to the Sierpinski fractal from the tutorial:Then the edges are correct, but many irrelevant copies of the vertices are shown. Can this be fixed?
The text was updated successfully, but these errors were encountered: