mrdoob information 1769 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 visit berlin by Peisik [web]
- HUORATRON ❤️
- rulezadded on the 2017-10-02 20:44:53
- demo invitation JavaScript And The Crowd Gathered At Cookie
- Niice!
- rulezadded on the 2017-10-01 19:45:45
- demo JavaScript hold on by Holon [web]
- That cube scene! 👏
- rulezadded on the 2017-10-01 19:44:56
- 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
account created on the 2000-07-06 12:15:43