Connect with users of Wolfram technologies to learn, solve problems and share ideas
Mark as an Answer
0 Total Likes
Follow this post
Share this post:
Graphics and Visualization
Animation won't show moving lines, only their endpoints
10 years ago
Hi there, I'm working on a dynamics project modeling a trebuchet in Mathematica. In the final output stage, I can't get my animation to actually draw the Graphics Line object properly. It only displays the endpoints of the line. Changing the style of the line only changes the points. Static items work fine, it only affects the ones that are moving in the animation. Other things like circles are just fine. Any tips?
Ariel Sepulveda, Pronto Analytics
10 years ago
It seems like there is a bug in the code generating your lines. Sometimes what works fine in the Global context may not work fine in other contexts like that created by a DynamicModule. This problem is more common when you have mix of Global and Local variables in a DynamicModule.
Another thing to check is whether you are localizing variables in Module or Block and then trying for these local variables to have a Dynamic behavior; that is to say, make sure that variables that will be updated dynamically are either Global variables or variables localized in a DynamicModule.
Finally, quitting the Kernel may also clear previous definitions or assignments that may be part of the problem.
Reply to this discussion
in reply to
Community posts can be styled and formatted using the
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Add a file to this post
Follow this discussion
Be respectful. Review our
to understand your role and responsibilities.
Wolfram|Alpha Notebook Edition
Volume & Site Licensing
Enterprise Private Cloud
Service Plans Benefits
Wolfram Language Documentation
Wolfram Language Introductory Book
Get Started with Wolfram
Fast Introduction for Programmers
Fast Introduction for Math Students
Webinars & Training
Connected Devices Project
Wolfram Data Drop
Wolfram + Raspberry Pi
. All rights reserved.
Learn how »