Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running @draw in a loop #299

Open
j-adel opened this issue Mar 12, 2024 · 2 comments
Open

Running @draw in a loop #299

j-adel opened this issue Mar 12, 2024 · 2 comments

Comments

@j-adel
Copy link
Contributor

j-adel commented Mar 12, 2024

Hello! I was wondering if there is a way to run one of the draw macros in a loop such that the preview window shows them sequentially. Currently, the only way I've found is through animate() which creates and shows a gif of a predetermined size. What I was thinking of is more similar to the draw window in Processing.org where the renders aren't stored and can run indefinitely. Thanks!

@cormullion
Copy link
Member

Luxor is a bit static, and doesn’t provide a ‘live’ window to display a drawing. It is possible, though- see the docs here: https://juliagraphics.github.io/LuxorManual/dev/howto/livegraphics/ .

@j-adel
Copy link
Contributor Author

j-adel commented Mar 13, 2024

Perfect! Thanks for the quick answer. I'd consider this issue closed then. Perhaps it would be a good idea to mention this option on the Make Animations page in the documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants