• Content Count

  • Joined

  • Last visited

About Kirill.Afonin

  • Rank

Profile Information

  • Gender
  • Location
    Moscow, Russia
  1. Hi, I faced with the task of debugging the display on Canvas. For me, this task is new, I don't quite understand what should I begin with. Can anyone recommend approaches for this task and tools? From what I found, this is a comparison of screenshots, maybe are there alternative ways?
  2. Firstly I used this wrapper. But it was made for Pixi 3 and I'm using Pixi 5. Now I'm making my own version of the wrapper. Now it contains only those PIXI mechanisms that I use in my project. It’s located at the private repository of the company I work for. If necessary, I can transfer it to the public repository and provide a link to it.
  3. Thanks a lot, i realized my mistake. Now there is on blur while scaling. One of the problems was that I am using GWT and working with PIXI through GWT-JSNI. For some reason, through JSNI, pixi application and renderer were created with wrong parameters.
  4. Hello, everyone. I’m developing online spreadsheet editor (like Google Sheets) and I’m using PixiJS to draw the document (cells, texts and etc). I face with a problem with blurry objects while page scaling. I read a lot of information about it and created my own scaling mechanism, which recalculates object size and updates it. But user can change browser scale via settings or can change display scale in OS settings. I can do nothing with it and user gets blurry objects. For example, - 100%, - 125%. I tried to change PIXI resolution on scaling or calculate ratio of renderer.view.width without scale and after scale and set it as CSS zoom or transform: scale for Canvas. But it doesn’t help. As I know PIXI handle scaling by applying the scale to the post-rendered object. If I understand correctly then BitmapText or SDF is best way to fix this problem for text, but I need to allow users can change text style. In this case I need prepare and load a lot of fonts. And that doesn't solve the problem with other blurry objects. Is there some way to generate BitmapText form Text with style? Or maybe other way to fix blurry objects, such as disabling PIXI scaling, for example?