项目中需要实现一条线条的滑动效果,发现弧线滑动时锯齿太严重。在PixiJS有自带的抗锯齿的参数,但是在使用时感觉效果并不是很好。参照http://pixijs.download/release/docs/PIXI.Application.html
html
<canvas width="300" height="300"></canvas>
js
项目中需要实现一条线条的滑动效果,发现弧线滑动时锯齿太严重。在PixiJS有自带的抗锯齿的参数,但是在使用时感觉效果并不是很好。参照http://pixijs.download/release/docs/PIXI.Application.html
html
<canvas width="300" height="300"></canvas>
js