Jump to content

Giulio

Members
  • Content Count

    7
  • Joined

  • Last visited

About Giulio

  • Rank
    Newbie

Contact Methods

  • Twitter
    @giuliocollesei
  1. I've done some research and it seems to be a Safari's cors related bug that occurs when using a video as webgl texture. Test: https://krpano.com/ios/bugs/ios8-webgl-video-cors/ Discussion: https://github.com/mrdoob/three.js/issues/8110
  2. Hi, I'm using PIXI.Texture.fromVideo(videoElement). The video has an external source (mp4 file from Vimeo's server). I've already setted `crossOrigin = 'anonymous'` Only on Safari iOS (11.2) I'm getting the error: `SecurityError (DOM Exception 18): The operation is insecure.` Here's the demo: https://codepen.io/giuliocollesei/full/JpmajV Maybe someone can help me? Thanks
  3. Giulio

    DOM to Sprite

    Hi, the following website has a cool click interaction, made, I think, with some GL shader. http://www.anagram.paris/ This website uses React in order to render the DOM structure, but at the end the only thing I see is the canvas element. Also, everything seems to still have the DOM events (hover and clicks). With Pixi, i suppose I should take the DOM of my App, apply it to a Sprite (as Texture) and then set a Filter. Is there any tutorial or at least a suggestion about this? Thank you
  4. I wrote a bin: https://www.webpackbin.com/bins/-KkkmKN0H2QXR9VfvYVb
  5. Hello, I'm trying to draw a bunch of Graphics object from a custom font (.ttf) letters. With the help of fontface.js I now have a set of paths, like these: { "A": { "o": "m 763 0 l 660 0 l 594 361 l 247 361 l 51 0 l -49 0 l 507 1024 l 567 1024 l 763 0 m 579 449 l 508 860 l 294 449 l 579 449 " }, "B": { "o": "m 693 794 q 678 701 693 744 q 635 624 663 658 q 573 565 608 590 q 497 525 538 539 q 568 499 535 517 q 626 455 601 482 q 666 392 651 428 q 681 310 681 356 q 651 183 681 240 q 572 85 622 125 q 452 22 521 44 q 304 0 383 0 l 13 0 l 192 1014 l 428 1014
  6. Thank you, tywang Are you suggesting to place 2 text one below the other? Is this the best (perfomant) way to do that effect?
  7. Hello everybody, I've a simple question, forgive me, but I'm new to this world. I'm wondering if there is a "built in" solution to apply a Graphics object as filter of a BitmapText in Pixi.js 4.5. I fill like this is a super common task, and I'm not sure if I need to write a custom shader to accomplish it. Thank you!
×
×
  • Create New...