Code Monkey home page Code Monkey logo

Comments (11)

johalun avatar johalun commented on July 17, 2024 1

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.

johalun avatar johalun commented on July 17, 2024

Hey! How's it going with this, is there a solution in sight?

from lyon.

nical avatar nical commented on July 17, 2024

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.

johalun avatar johalun commented on July 17, 2024

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.

johalun avatar johalun commented on July 17, 2024

I could solve it temporary by generating points a long the line and draw a dotted line instead.

from lyon.

nical avatar nical commented on July 17, 2024

@johalun The issue is hopefully fixed in lyon 0.6.2. Could you cargo update and see if the glitch is gone?

from lyon.

johalun avatar johalun commented on July 17, 2024

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.

nical avatar nical commented on July 17, 2024

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.

johalun avatar johalun commented on July 17, 2024

I will let the ggez developers decide that and comment at ggez repo that this has been solved upstream.

from lyon.

johalun avatar johalun commented on July 17, 2024

Thanks for the help!!

from lyon.

nical avatar nical commented on July 17, 2024

Happy to help :)

from lyon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.