Skip to content

Instantly share code, notes, and snippets.

View Poyotoron's full-sized avatar

Poyotoron Poyotoron

View GitHub Profile
@Poyotoron
Poyotoron / BlendShapeAnimMerger.cs
Last active May 27, 2026 11:15
【Unity, VRChat】アバターの顔のシェイプキー値を、表情アニメーションの0値カーブにマージするツール。
// BlendShapeAnimMerger.cs
// -----------------------------------------------------------------------------
// VRChat avatar tool: merges the avatar's current BlendShape weights into the
// zero-valued curves of expression AnimationClips, producing new .anim files
// non-destructively (original clips are left untouched).
//
// Placement: drop this file into any folder under Assets/Editor/ in your Unity
// project. The window appears under "Tools > BlendShape Anim Merger".
//
// Workflow:
@Poyotoron
Poyotoron / main.c
Last active August 18, 2020 00:37
確率・統計 課題2
// 確率・統計 課題2のプログラム
// 「$gcc main.c」でコンパイラした後「$./a.out N >> out.csv」って感じでやるとエクセルとかで使えると思います。
// Nは生成する乱数の数を入れてね。
#include <stdio.h>
#include <stdlib.h>
void init(int A[], int N, int class[]) {
int i;
srand((unsigned int)time(NULL));
for (i = 0; i < N; i++) {