Miguel Prytoluk

Results 5 comments of Miguel Prytoluk

I've found multiple examples of color links with gradients implementation using d3Sankey: [https://stackoverflow.com/a/21208382](https://stackoverflow.com/a/21208382) [https://bl.ocks.org/micahstubbs/3c0cb0c0de021e0d9653032784c035e9](https://bl.ocks.org/micahstubbs/3c0cb0c0de021e0d9653032784c035e9) [https://observablehq.com/@d3/sankey](https://observablehq.com/@d3/sankey) Could someone give me some general insights on how to implement such functionality on a...

> I finally fix it by downgrading threejs > > ```json > "three": "0.126.1" > "expo-three": "5.7.0" > ``` > > hopefully that can help you :) @chiliwax, i've tried...

I didn't had to downgrade threejs. I've found a simple workaround: -Added the following statement inside onContextCreate function, before creating the Renderer: `gl.canvas = { width: gl.drawingBufferWidth, height: gl.drawingBufferHeight };`

> @migupry yes, it works, but then there was another problem > > `TypeError: undefined is not a constructor (evaluating 'new THREE.RectAreaLightHelper(whiteRectLight1)')` Hmm that's strange. I didn't face this. Care...

> @migupry it worked before: > ` const whiteRectLight1 = new THREE.RectAreaLight( WHITE_COLOR, intensity, lights_width, lights_height ); > whiteRectLight1.position.set( 200, 185, -300 ); > whiteRectLight1.lookAt( 200, 0, -300 ); >...