Comments (11)
Ok I ended up removing the ellipse code in ggez (which I don't use) and move fill circle code from fill ellipse to fill circle. I got ggez to work with 0.6.2 and can confirm that problem is solved.
from lyon.
Hey! How's it going with this, is there a solution in sight?
from lyon.
Absolutely. Nobody had complained about it so far so I was looking into other things but I can at least easily improve the numerical stability of strokes in the 180 degree case. I'll look into that shortly.
from lyon.
Great! It's totally ruining my ggez-based project's rendering so I'm super grateful if it can be fixed soon :) Thanks!!!
from lyon.
I could solve it temporary by generating points a long the line and draw a dotted line instead.
from lyon.
@johalun The issue is hopefully fixed in lyon 0.6.2
. Could you cargo update
and see if the glitch is gone?
from lyon.
Seems like ggez was using a rather old version, 0.4.1. Need to update it in some places to work with 0.6.2. Seems like basic_shapes::fill_ellipse is gone.. What can I use instead?
from lyon.
I indeed removed fill_ellipse with the idea that using fill_circle and stretching the vertices would do, I can add that boilerplate back if need be, let me know if you miss that feature.
from lyon.
I will let the ggez developers decide that and comment at ggez repo that this has been solved upstream.
from lyon.
Thanks for the help!!
from lyon.
Happy to help :)
from lyon.
Related Issues (20)
- Using custom vertex attributes with rounded rectangles. HOT 3
- Finding close point on CubicBezierSegment HOT 3
- Cubic Bezier Segment not matching SVG? HOT 1
- Create git tags (and GitHub releases?) for crates.io releases HOT 6
- hit_test_path seems to report incorrect result with FillRule::EvenOdd HOT 1
- Update wgpu dependency in the examples HOT 2
- debug_assert can panic while not being necessarily justififed HOT 1
- Tesselator doesn't handle intersections between different paths very well HOT 4
- Add `offset` parameter to `HatchingOptions`
- Stroke tessellator seems to produce wrong results for some rounded path types HOT 5
- Lifetime issue when storing Tesselator::builder() in a struct and later resetting it HOT 4
- Stroke tessellator bad triangle HOT 1
- PathParser: can't parse path using scientific notation for numbers.
- `PathSampler::split_range` seems to disregard discontinuities in the original path HOT 3
- (breaking change) Typo "InvalidParamater" in lyon_tessellation
- Is there an example of using custom attributes? HOT 2
- `end_cap` seems to have no effect if its `LineCap::Square` HOT 1
- Arc angle starting position is unusual HOT 2
- Line intersection loses lot of accuracy HOT 1
- FillTesselator produces empty indices HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lyon.