농부처럼 코딩하기

  • 홈
  • 태그
  • 방명록

WebGPU 2

webgpu 튜토리얼

web에서 3d 작업을 하는 일이 많아졌다. 지금은 주로 threejs를 사용해서 작업을 하고 있지만 앞으로를 대비해서 webgpu를 사용해서 이것저것 해볼 생각이다. 먼저 webgpu sample 코드를 자세히 살펴보겠다. const meshRef = useRef(null); if (!navigator.gpu) { throw new Error("WebGPU is not supported"); } const adapter = await navigator.gpu.requestAdapter(); if (!adapter) { throw new Error("No appropriate GPUAdapter found"); ..

🎲 threejs 2024.11.09

WebGPU + Typescript 설정하기

기존에는 react나 next 프로젝트에 typescript를 사용했을 때는 프로젝트를 생성했을때 typescript 옵션을 추가해줬기 때문에 관련 설정을 하는데 특별한 어려움이 없었다. 이번에 WebGPU를 공부하기 시작하면서 기본적인 typescript 설정에도 어려움을 겪어 간단히 정리하였다. https://webgpufundamentals.org/webgpu/lessons/ko/webgpu-fundamentals.html WebGPU 기초WebGPU의 기초webgpufundamentals.org 해당 사이트에 있는 sample code가 js로 되어 있어 이를 ts로 변환하기로 했다. 1. 간단한 html 생성2. webgpu sample code(.js)를 .ts파일로 변경3. 실행해보기4. 안..

👨‍💻 javascript 2024.08.11
이전
1
다음
더보기
프로필사진

농부처럼 코딩하기

오늘 뿌린 씨앗은 내일 열매를 맺지 않는다.

  • 🌞 ALL (36)
    • 📚 html & css (1)
    • 👨‍💻 javascript (8)
    • 🦈 react (7)
    • 🌱 next (5)
    • 🎲 threejs (2)
    • 🐊 aws (5)
    • 💾 database (1)
    • 🐳 docker (1)
    • 🌍 terraform (1)
    • 🎸 etc (5)

Tag

WebGPU, react canvas, webgpu tutorial, React, gradient color animation, rsbuild source, whiteboard, 그라데이션 색상 border, rsbuild, rsbuild entry, 오블완, 티스토리챌린지, docker db, rspack, gradient color border, insufficient buffer size, git commit 사라짐, docker, react tetris, css mask,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바