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

Fix render stuttering #184

Open
sunjay opened this issue Jun 11, 2020 · 0 comments
Open

Fix render stuttering #184

sunjay opened this issue Jun 11, 2020 · 0 comments

Comments

@sunjay
Copy link
Owner

sunjay commented Jun 11, 2020

This is a "small" issue, in that I think you really have to look for this in order to notice it. On some machines, when you run a turtle program (e.g. examples/circle.rs), you can see the turtle visibly "jump around" a bit as it draws. It's almost as if an afterimage of the turtle is being shown as the new image is being drawn on top.

My guess is that this is probably caused by lag in the rendering. It's possible that I'm not swapping the buffers correctly or that vsync isn't working as I expect. It's also possible that our rendering library, pathfinder, makes some assumptions that I don't know about.

This is definitely an interesting issue to look into if you like debugging graphics stuff!

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

No branches or pull requests

1 participant