How to make a PNGTuber avatar and name your layers
How to upload eyes-closed and mouth-open art and get an avatar that follows your webcam, and what this tool does not do.
What art to upload
A PSD with always-visible layers (head, body) and separate layers for eyes open, eyes closed, mouth closed and mouth open is easiest. Several PNG files also work. Every PNG must be drawn on the same canvas size in the same place.
If the eyes are split into left and right layers, they blink separately. If not, both eyes blink together.
Layer naming rules
A name with eye, 눈 or 目 is read as an eye part. mouth, 입 or 口 is a mouth part. Eyebrows are not read as eyes.
open, 열림 and 開 mean the open version. closed, blink, 감김 and 閉 mean the closed one. Names like eye_L_closed, 눈_왼_감김 and 口_開 work.
left, right, 왼, 오른, 左, 右 and a trailing L or R set which eye.
These rules are ours, not a standard in wide use. If one is wrong, pick the role yourself in the table.
Camera tracking
When you turn on the camera, the tracking model loads and reads 478 face points and 52 expression values. Blinks, mouth opening and head tilt come from them.
The model works best with one face looking at the camera. Its own model card says extreme conditions can cause jitter, so we smooth the values and let you tune the sensitivity.
Video stays in this browser and goes nowhere. Closing the page turns the camera off.
When the camera does not work
If you deny the camera, have none, or your browser cannot use it, move the avatar with your mouse. Move to tilt, hold to open the mouth, and the eyes blink on their own.
You can allow a denied camera again from the lock icon next to the address bar.
Using it on stream
In OBS, capture the browser window, set this tool's background to green and add a Chroma Key filter.
We have not confirmed that the camera works inside an OBS browser source. We only describe what we have checked.
What this tool does not do
It does not split parts or rig a single photo. Splitting the art is your job.
It makes no Live2D files (moc3) and is not compatible with Live2D. There is no 3D turning.
PSD blend modes, layer effects and clipping masks are not applied. If the art looks different, flatten it to PNG and upload that.
Open source used
This tool uses the open source below. The license text is included as is.
ag-psd (github.com/Agamnentzar/ag-psd), MIT
The MIT License (MIT) Copyright (c) 2016 Agamnentzar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Any image or brush files included in this repository are not covered by this license and belong to their copyright holders.
MediaPipe Tasks Vision (github.com/google-ai-edge/mediapipe), Apache-2.0
This is an independent tool, not affiliated with Live2D Inc. It is not compatible with Live2D.