
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@drawcall/flipbook
Advanced tools
Tiny Three.js flipbook billboards loaded from KTX2 files.
pnpm add @drawcall/flipbook three
three is a peer dependency.
import { Flipbook } from "@drawcall/flipbook";
import { KTX2Loader } from "three/addons/loaders/KTX2Loader.js";
const ktx2Loader = new KTX2Loader()
.setTranscoderPath("/basis/")
.detectSupport(renderer);
Flipbook.setKtx2Loader(ktx2Loader);
const explosion = new Flipbook("/explosion.ktx2", {
height: 1,
origin: "bottom-center"
});
scene.add(explosion);
await explosion.ready;
function animate(delta: number) {
explosion.update(delta);
}
The KTX2 file may be Basis-compressed KTX2, loaded through Three.js KTX2Loader,
or uncompressed R8G8B8A8. It must contain these key/value pairs:
flipbook.columnsflipbook.rowsOptional keys:
flipbook.aspectRatio, defaults to the per-frame texture aspect ratioflipbook.frames, defaults to columns * rowsflipbook.duration, defaults to frames / 24flipbook.playbackRate, defaults to 1flipbook.billboard, supports spherical, cylindrical, and noneRuntime options can override asset metadata:
const flame = new Flipbook("/flame.ktx2", {
billboard: "cylindrical",
playbackRate: 0.8,
opacity: 0.9,
loop: true
});
Use cylindrical for Y-axis billboards that stay upright.
FAQs
Tiny Three.js billboard flipbooks loaded from KTX2 metadata.
The npm package @drawcall/flipbook receives a total of 55 weekly downloads. As such, @drawcall/flipbook popularity was classified as not popular.
We found that @drawcall/flipbook demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.