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
This code should update image every frame, but does not.
using Reactive, Interact, Compose, IJulia
function drawball(t)
y = 1-abs(sin(t)) # The y coordinate.
compose(context(), circle(0.5, y, 0.04)) # draw a circle
end
ticks = fps(60)
timestamps = map(_ -> time(), ticks)
map(drawball, timestamps)
Instead it just shows one non moving image, and you have to run the code again to see progress.
(It works in notebook but not in atom)
The text was updated successfully, but these errors were encountered:
This code should update image every frame, but does not.
Instead it just shows one non moving image, and you have to run the code again to see progress.
(It works in notebook but not in atom)
The text was updated successfully, but these errors were encountered: