Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tattn committed Sep 10, 2023
1 parent 3546d14 commit bc9821f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<br />

<div>
<img src="https://github.com/tattn/VRMKit/raw/main/docs/demo.jpg" width="300px" alt="demo" />
<img src="https://github.com/tattn/VRMKit/raw/main/docs/demo2.gif" width="300px" alt="demo" />
<img src="https://github.com/tattn/VRMKit/raw/main/.github/demo.jpg" width="300px" alt="demo" />
<img src="https://github.com/tattn/VRMKit/raw/main/.github/demo2.gif" width="300px" alt="demo" />
</div>

For "VRM", please refer to [this page](https://dwango.github.io/en/vrm/).
Expand Down Expand Up @@ -79,27 +79,27 @@ sceneView.scene = scene

### Blend shapes

<img src="https://github.com/tattn/VRMKit/raw/main/docs/alicia_joy.png" width="100px" alt="joy" />
<img src="https://github.com/tattn/VRMKit/raw/main/.github/alicia_joy.png" width="100px" alt="joy" />

```swift
node.setBlendShape(value: 1.0, for: .preset(.joy))
```

<img src="https://github.com/tattn/VRMKit/raw/main/docs/alicia_angry.png" width="100px" alt="angry" />
<img src="https://github.com/tattn/VRMKit/raw/main/.github/alicia_angry.png" width="100px" alt="angry" />

```swift
node.setBlendShape(value: 1.0, for: .preset(.angry))
```

<img src="https://github.com/tattn/VRMKit/raw/main/docs/alicia_><.png" width="100px" alt="><" />
<img src="https://github.com/tattn/VRMKit/raw/main/.github/alicia_><.png" width="100px" alt="><" />

```swift
node.setBlendShape(value: 1.0, for: .custom("><"))
```

### Bone animation

<img src="https://github.com/tattn/VRMKit/raw/main/docs/alicia_humanoid.png" width="200px" alt="Humanoid" />
<img src="https://github.com/tattn/VRMKit/raw/main/.github/alicia_humanoid.png" width="200px" alt="Humanoid" />

```swift
node.setBlendShape(value: 1.0, for: .preset(.fun))
Expand Down

0 comments on commit bc9821f

Please sign in to comment.