Search the Community
Showing results for tags 'bend'.
-
I'm all new to WebGL and Pixi.js - I started digging into this, because of this exact effect I'm trying to achieve: Demo As of now I got a scroll with multiple text object created using PIXI.Text() - this works fine, it's scrollable etc. But unfortunately I'm stuck implementing that kind of old tube tv screen bend effect on the text - don't even know where to start. Can I achieve this using pixi.js? I'm thankful for every hint! Do I need a different approach? That's how I init each text of mine: constructor($el, stage) { this.stage = stage; this.title = $el; this.text = new PIXI.Text(this.title.innerHTML, { fontFamily: "Unno", fontSize: 120, fill: "transparent", stroke: "white", strokeThickness: 1 }); this.text.resolution = 2; this.getPosition(); this.stage.addChild(this.text); this.addListeners(); const font = new FontFaceObserver("Unno"); font.load().then(() => { this.text.updateText(); }) } getPosition = () => { const {width, height, top, left} = this.title.getBoundingClientRect(); this.text.position.set(left, top); }; ...
-
So a few days back I asked for a 3D text plugin, but it seems we didn't have one yet. I made one that was pixel dependent, so I didn't like it. Yesterday I coded one which load fonts, using Opentype.js, and then creates the mesh. Attached an example. Next step is blending effect. Any ideas? Is there any blending mesh effect on BJS?
-
Hi Folks, looking for a solution to set the camera position back after i release my mousebutton to view in a direction. thanx