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
Attempting to deal with a similar use case as #157, though with some additional functionality, could it be possible to use polylux animations with cetz drawings (related discussion on cetz repo)?
I tried
#slide(title: [Packages])[
#cetz.canvas({
import cetz.draw: *
content((0,0), [#only(1)[#image("assets/decision-tree_1.png")]])
// Draw a circle and place its "west" anchor at the origin.
circle((0,0), anchor: "west")
})
]
but no dice. I don't understand the internals of either package enough to have a sense of what to do.
The text was updated successfully, but these errors were encountered:
#letmycontent(show-image: true) =cetz.canvas(
{
ifshow-image {
content((0, 0), [#image("assets/decision-tree_1.png")]) // Draw a circle and place its "west" anchor at the origin.
};
circle((0, 0), anchor: "west")
},
)
//First way#slide[
#alternatives[#mycontent(show-image: true)][#mycontent(show-image: false)]
]
//Second way that might be too clever#range(2).map(i =>slide[#mycontent(show-image: i == 0)]).join()
Attempting to deal with a similar use case as #157, though with some additional functionality, could it be possible to use polylux animations with
cetz
drawings (related discussion on cetz repo)?I tried
but no dice. I don't understand the internals of either package enough to have a sense of what to do.
The text was updated successfully, but these errors were encountered: