Add interpolated Packets to fill out empty ticks in demo files
Find a file
2025-01-11 17:49:21 +02:00
build Initial commit 2025-01-11 17:49:21 +02:00
patches Initial commit 2025-01-11 17:49:21 +02:00
src Initial commit 2025-01-11 17:49:21 +02:00
test Initial commit 2025-01-11 17:49:21 +02:00
.gitattributes Initial commit 2025-01-11 17:49:21 +02:00
.gitignore Initial commit 2025-01-11 17:49:21 +02:00
LICENSE Initial commit 2025-01-11 17:49:21 +02:00
package.json Initial commit 2025-01-11 17:49:21 +02:00
README.md Initial commit 2025-01-11 17:49:21 +02:00
tsconfig.json Initial commit 2025-01-11 17:49:21 +02:00
yarn.lock Initial commit 2025-01-11 17:49:21 +02:00

demo-interp

Interpolate demo files by filling out gaps between Packets.
Normally a demo has a Packet every 4 ticks, this fills out the ticks inbetween by interpolating between the Packets.
Makes a visible difference on low cl_interp values at least.

usage

yarn install
yarn build
cd test
node test-interp.js