Jump to content

Kirill.Afonin

Members
  • Content Count

    7
  • Joined

  • Last visited

About Kirill.Afonin

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  • Location
    Moscow, Russia
  1. Yes, antialias turned on. I tried use lines for drawing grid, but i had the same problem. dpr = 1.1 https://prnt.sc/yecogm dpr = 1.25 https://prnt.sc/yed2b1 Here is example with lines jsfiddle. Also I fixed link to jsfiddle example in first post.
  2. Hello, everyone! I tried to draw a table with PixiJS and I faced with some problems. Maybe it is my mistake in Application/Renderer Options, but I can't figure out where exactly. The essence of problem is that if devicePixelRatio is non-integer the image is deformed, as on screenshoots. dpr = 0.75 https://prnt.sc/y9oatq dpr = 1.25 https://prnt.sc/y9o6gv dpr = 1.75 https://prnt.sc/y9o56p But if devicePixelRatio is integer, then everything is ok. dpr = 1 https://prnt.sc/y9oc0a dpr = 2 https://prnt.sc/y9od4e Here is an code example jsfiddle .
  3. Sorry, I do not know why I wrote "debugging". I wanted to say testing. I need to create some tests for my app which will automatically test the display on Canvas.
  4. 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?
  5. 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.
  6. 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.
  7. 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, https://prnt.sc/vekptq - 100%, https://prnt.sc/vekr09 - 125%. I tried to change
×
×
  • Create New...