2021-03-01ãã1ã¶æéã®è¨äºä¸è¦§
CSS font-size: 100vw / 1200 * 36; @media (max-width: 750px) { font-size: 750px / 1200 * 36; } @media (min-width: 1601px) { font-size: 1600px / 1200 * 36; } ãããªæãã§è¨å®ã§ãã¾ãã ä¸è¨ã®è¨å®ã ã¨ã ç»é¢å¹ 1200pxã®éã«ãã©ã³ããµã¤ãº36px ç»â¦
GLTFLoaderã§ã¢ãã«ãèªã¿è¾¼ãéãé åã§URLã渡ããã¨é常ã«æ¥½ã ãªã¨æããã¤ãã£ã¦ã¿ã¾ããã JavaScript async function loadGltfFromUrls(urls) { if (!urls.length) { return []; } const loader = new GLTFLoader(); const list = []; urls.forEach((uâ¦
ãã¡ãã®è¨äºã§ãBlenderã§ä½ã£ãglbãã¡ã¤ã«ãèªã¿è¾¼ãã§è¡¨ç¤ºãã¾ãããblog.kimizuka.orgèªã¿è¾¼ãã ã¢ãã«ãä¸åº¦ãã使ããªãã®ã§ããã°ãããã§åé¡ãªãã®ã§ãããåãã¢ãã«ãä½åãé ç½®ããã¨ãã¯ã©ããããã®ãã¨èããçµæãcloneãã¤ãã£ã¦è¤è£½ããâ¦
ä¸è¡ã®å ´å è¤æ°è¡ã®å ´å ä¸è¡ã®å ´å text-overflowã使ãã¾ããdeveloper.mozilla.org overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-overflowãellipsisã«è¨å®ãã¤ã¤ãoverflow:hiddenã§ã¯ã¿åºããç®æãé表示ã«ãwhite-spaceãâ¦
å ¬å¼ã®APIãªãã¡ã¬ã³ã¹ã«TypeScriptã¨ã«ã¹ã¿ã propsãçµã¿åããã¦ä½¿ãæ¹æ³ãè¨è¼ããã¦ã¾ãããstyled-components.comã·ã³ãã«ãªãã®ã§ããã°ã const Text = styled.p<{ color: string; }>` color: ${ ({ color }) => color }; `; ã¨ããæãã§å®ç¾©ã§ãã¾â¦
Next.js + PixiJSã§ãµã¤ããã¤ãã£ã¦ããã¨ããPixiJSãã¤ãã£ãã³ã³ãã¼ãã³ããèªã¿è¾¼ããã¨ããã¨ã Server Error ReferenceError: self is not defined This error happened while generating the page. Any console logs will be displayed in the termâ¦
å ¬å¼ã®ããã¥ã¡ã³ãã«ãã¹ã¦ãæ¸ãã¦ããã¾ããã è¨å®æ¹æ³ã¯2ãã¿ã¼ã³ããããã§ããdocs.netlify.com ⶠ_headersãã¡ã¤ã«ãä½ã /* X-Frame-Options: DENY X-XSS-Protection: 1; mode=blockãããªæãã§ãã¬ã¹ãã³ã¹ãããã¼ã«è¨å®ãããå 容ã_headerã¨ãâ¦
ãã¡ãã®è¨äºã®A-Frameãã¼ã¸ã§ã³ã§ããblog.kimizuka.org ⶠBlenderã§ã¢ãã«ãã¤ãã â· glbãã¡ã¤ã«ãæ¸ãåºã ⸠glbãèªã¿è¾¼ãHTMLãã¤ãã â¹ ãããªã¢ã«ãåå¾ãã¦è²ãå¤ãã¦ã¿ã ⺠ã«ã¹ã¿ã ãã¼ã¿å±æ§ã§è²ãå¤æ´å¯è½ã«ãã ⶠBlenderã§ã¢ãã«ãã¤ãã ã¨â¦
ãã¨ã®çºç«¯ 対ç1ï¼æ²¡æ¡ï¼ 対ç2ï¼æ¡ç¨æ¡ï¼ ãã¨ã®çºç«¯ Next.js + PixiJSã§ãµã¤ããã¤ãã£ã¦ãã¦ã useEffect(() => { if (!app) { return; } app.loader.add('resource-1', '/resource/1.png') .load((loader, resources) => { setResources(resources); })â¦
ããã¾ã§ãNext.jsã®ããã¸ã§ã¯ããFirebase Hostingã«ãããã¤ããã¨ãã¯ãNext.jsã®è¨å®ãå¤æ´ãã¦URLã®æ«å°¾ã«ã¹ã©ãã·ã¥ãã¤ãã¦ãã¾ãããblog.kimizuka.orgããéã«ãFirebase Hostingã®è¨å®ãå¤æ´ãã¦URLæ«å°¾ã®.htmlãåé¤ãããã¨ãã§ãããã¨ãç¥ãâ¦
ããã¾ã§WebARã®å®è£ ã«ã¯ãA-Frame + AR.jsã使ã£ã¦ãã¾ããããç´°ãã調æ´ãå¿ è¦ã«ãªã£ã¦ããã®ã§Three.js + AR.jsã§å®è£ ãã¦ã¿ããã¨æãã¾ããaframe.iothreejs.orgA-Frameãå é¨ã§ã¯Three.jsã使ã£ã¦ããã®ã§ãã©ã¤ãã©ãªãã²ã¨ã¤æ¸ããã¤ã¡ã¼ã¸ã§ããARâ¦
ãã¤ãã¿ã¼ã®æ¤ç´¢çµæãã¦ã§ããã¼ã¸ã«åãè¾¼ã¿ããã¨ããæã¯å ¬å¼ã®ã¦ã£ã¸ã§ããããã£ãã®ã§ããã2018å¹´ã«å»æ¢ããã¾ããã ã§ããã©ããã¦ãæ¤ç´¢çµæãã¦ã§ããã¼ã¸ã«åãè¾¼ã¿ããã¦è«¸ã 調æ»ããçµæãNext.js + Vercel + Twitter API ã§å²ã¨ç°¡åã«åãâ¦