mrdoob information 1775 glöps
- general:
- level: user
- personal:
- first name: ricardo
- last name: cabello
- portals:
- demozoo: profile
- cdcs:
- cdc #1: hplus by Halcyon
- cdc #2: Kasparov by Elitegroup [web]
- cdc #3: STS-02: Electric Kool-Aid by Synesthetics
- cdc #4: cdak by Quite & orange
- cdc #5: numb res by Carillon & Cyberiad [web] & Fairlight [web]
- 4k Windows Waillee by Prismbeings
- YESS!
- rulezadded on the 2017-10-01 08:46:18
- demo JavaScript Boxbuffergeometry by Elude [web] & Logicoma [web]
- For context... The code I posted is a modification of the function `onWindowResize` he's already using (I just added 2 lines).
- isokadded on the 2017-09-06 23:43:25
- demo JavaScript Boxbuffergeometry by Elude [web] & Logicoma [web]
- @p01:
Out of curiosity, why using CSS is "better" than my proposal in this case? - isokadded on the 2017-09-06 23:41:58
- demo JavaScript Boxbuffergeometry by Elude [web] & Logicoma [web]
- @p01:
CSS transforms tend to produce gpu textures and things get extra blurry. Check on non-retina displays.
Also, because canvas do not dispatch resize events, the renderer would then have to check the canvas dimensions every frame and resize the webgl context if needed. - isokadded on the 2017-09-06 22:59:21
- demo JavaScript Boxbuffergeometry by Elude [web] & Logicoma [web]
- Have you considered center aligning the viewport? 🤓
Code:function onWindowResize( event ) { var demo_szerokosc = window.innerWidth; var demo_wysokosc = demo_szerokosc / 16 * 9; renderer.setSize( demo_szerokosc, demo_wysokosc ); renderer.domElement.style.position = 'absolute'; renderer.domElement.style.top = `calc((100% - ${demo_wysokosc}px)/2)`; } - isokadded on the 2017-09-06 22:01:26
- demo JavaScript Suddenly by Elude [web]
- Agreed. Should have been in the democompo.
- rulezadded on the 2017-09-05 18:16:39
- demo JavaScript Boxbuffergeometry by Elude [web] & Logicoma [web]
- Very nice!!
- rulezadded on the 2017-09-05 18:14:15
- demo Windows sp04 - 거미 김 (Spider Kim) by Spacepigs [web]
- Johann!
- rulezadded on the 2017-08-24 04:06:39
- demo JavaScript What Are You Syncing About? by Ninjadev [web]
- Lovely sync!
- rulezadded on the 2017-04-18 19:17:01
- demo Windows sp04 - Hello, Kevin - A Dental Journey by Spacepigs [web]
- What Has Been Seen Cannot Be Unseen
- rulezadded on the 2017-04-17 18:22:02
account created on the 2000-07-06 12:15:43
