Skip to content

Instantly share code, notes, and snippets.

View keijiro's full-sized avatar

Keijiro Takahashi keijiro

View GitHub Profile
@keijiro
keijiro / KlakNDI.md
Last active April 27, 2023 09:55
KlakNDI README

KlakNDI

gif

KlakNDI is a Unity plugin that allows sending/receiving video streams between several devices using [NDI]®.

[NDI]® (Network Device Interface) is a standard developed by [NewTek], Inc that enables applications to deliver video streams via a local area network. Please

@keijiro
keijiro / archive.sh
Created September 13, 2021 02:44
Archive an FCP project with tar/pigz
tar --use-compress-program=pigz -c -v -f foo.fcpbundle.tar.gz foo.fcpbundle
@keijiro
keijiro / unity-axidraw.md
Last active August 29, 2021 14:50
My Unity-Axidraw workflow

The following is my plotter art workflow with Unity.

  1. On Unity, render a monochrome line-art image using the Recolor (contour line) effect. The resolution of the image should be high enough. I usually use 2400x3840.

  2. Rotate it if needed. convert temp.png -rotate 90 render.png

  3. Convert it into SVG using autotrace. autotrace --centerline --output-format=svg render.png > plot.svg

KlakSpout

gif screenshot

KlakSpout is a Unity plugin that allows Unity to send/receive video streams using the Spout system.

@keijiro
keijiro / EdgeDetection.hlsl
Created February 18, 2021 09:22
Edge detection with shader graph custom function
void UVEdge_float(float2 uv, float width, out float edge)
{
uv = min(uv, 1 - uv);
float2 bd = saturate(1 - uv / (fwidth(uv) * width));
edge = max(bd.x, bd.y);
}

TinyYOLOv2Barracuda

gif gif

TinyYOLOv2Barracuda is a Unity sample project that shows how to run the [YOLO] object detection system on the Unity [Barracuda] neural network inference library.

jp.keijiro.apriltag - AprilTag package for Unity

gif

jp.keijiro.apriltag is a Unity package that provides an implementation of the AprilTag tracker.

AprilTag is a marker based tracking system developed by the APRIL Robotics Laboratory at the University of Michigan. Please see [the AprilTag web page]

@keijiro
keijiro / UnityStation_BoltMinis.md
Last active August 17, 2022 13:48
BoltとMIDIでグリグリコントロール!UnityでMIDI デバイスを使ってみよう! - Unityステーション
@keijiro
keijiro / HowToBackUpPlasticSCM.md
Last active January 6, 2021 14:05
How to make a backup of a Plastic SCM repository

Taking a snapshot of a Plastic SCM workspace with tar

On WSL:

cat ignore.conf | sed -e s/^/./ | tar -I pigz -c -v --exclude=.plastic -X - -f ../snapshot.tar.gz .

Making a backup of a Plastic SCM repository using the fast-export format

@keijiro
keijiro / pugrad.md
Last active November 15, 2021 09:42

Pugrad

photo

Pugrad is a color gradient generator for Unity that supports commonly-used perceptually uniform colormaps.

At the moment, Pugrad supports the following colormaps: