Giter Site home page Giter Site logo

Pixelated text about canvas HOT 4 CLOSED

tfriedel6 avatar tfriedel6 commented on May 22, 2024
Pixelated text

from canvas.

Comments (4)

tfriedel6 avatar tfriedel6 commented on May 22, 2024

Hi! It should not be, so either it is a bug or the anti-aliasing is off on your system. Could you post a screenshot maybe? And what OS and GPU do you have?

from canvas.

szerookii avatar szerookii commented on May 22, 2024

Hello! I looked up anti-aliasing and it's definitely there.
I tested it on a server running Debian 9 and attached a screenshot.

Code :
https://github.com/BonBot-Team/BonAPI/blob/master/generator/generators/bontoutou.go#L64-L73

20200604_032438

from canvas.

tfriedel6 avatar tfriedel6 commented on May 22, 2024

Ah, I see you're using the software backend. There is a (rather experimental) anti-aliasing setting there. Just set backend.MSAA to at least 1 and see what works for you. Higher number should be smoother, but also slower.

The software backend anti-aliasing isn't complete yet and may change a bit in the future, but try if it works for you. If not, you can also just render at twice the size and then scale down the image in the end.

from canvas.

szerookii avatar szerookii commented on May 22, 2024

It worked! Thanks for your help.

from canvas.

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.