250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 자바스크립트
- ipad
- image
- 비전공자
- MAC
- button
- html5
- SWIFT
- 개발자
- HTML
- iPhone
- CSS
- 비전공 개발자
- 프론트엔드
- 백엔드
- php
- xcode
- hover
- front-end
- effect
- keyframes
- iOS 개발자
- css3
- IOS
- Animation
- 풀스택
- javascript
- 애니메이션
- jQuery
- react
Archives
- Today
- Total
목록three.js (1)
비전공자 개발일기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bXSnfz/btryQptwM6v/psnFU1kztMmvZfCH5ghyn1/img.png)
* npm i three @react-three/fiber * box.js import { useFrame } from "@react-three/fiber"; import { useState, useRef } from "react"; export default function Box({ color, ...props }) { const [isHovered, setIsHovered] = useState(false); const ref = useRef(); useFrame(() => { ref.current.rotation.x += 0.01; ref.current.rotation.y += 0.01; }); return ( { setIsHovered(true); }} onPointerOut={() => { se..
React & React Native
2022. 4. 11. 00:20