-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Polyline flashing with weird shapes #281
Comments
Hey @acidic9 thanks for the issue! You are doing nothing wrong at all, this is entirely nannou's fault! We're aware of this bug #185 however rather than spending time on fixing it, we have a plan to switch to using the lyon crate under the hood to solve this and a whole suite of other issues related to 2D graphics. Lyon is an extremely impressive crate with high quality tools for tesselating all kinds of 2D geometry like curves, lines with interesting joins, etc including support for GPU tesselation. See #253. This will be a top priority for us after we land 0.9 in the coming weeks (see #240). I hope this helps and that this isn't causing you too many problems! |
This is a working WIP that replaces the old polyline implementation with lyon's polyline tessellation. The following commits will continue to replace the tessellation approaches of all 2D shapes in favour of lyon tessellation. Closes nannou-org#185. Closes nannou-org#281. Closes nannou-org#335.
This is a working WIP that replaces the old polyline implementation with lyon's polyline tessellation. The following commits will continue to replace the tessellation approaches of all 2D shapes in favour of lyon tessellation. Closes nannou-org#185. Closes nannou-org#281. Closes nannou-org#335.
I am trying to learn nannou, and I attempted to make a line that follows the y position of your mouse.
The line flickers as seen in the gif below:
I came up with the following source code:
Is this something I am doing wrong, or a bug with nannou?
The text was updated successfully, but these errors were encountered: