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 | 31 |
Tags
- ipad
- IOS
- iPhone
- button
- Animation
- keyframes
- 애니메이션
- MAC
- javascript
- jQuery
- css3
- 비전공 개발자
- 백엔드
- iOS 개발자
- 자바스크립트
- CSS
- HTML
- 비전공자
- xcode
- image
- SWIFT
- 개발자
- hover
- 프론트엔드
- 풀스택
- react
- php
- front-end
- html5
- effect
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