Logo
Background pixel art cave illustration

Black Hole Pixel Art VFX

Black Hole pixel art effect: Singularity

A black hole with a lensed accretion disk, a photon ring and Doppler beaming. It pulls in what's around it, fires jets on big meals, then implodes and bursts. It can also bend your scene's pixels around it.

Category

Magic

Dependencies

None

License

MIT, free for commercial use

Connect your AI agent

Get the full context on these effects, and create the pixel art your game needs.

Claude Code

claude mcp add --transport http spritefusion https://www.spritefusion.com/mcp

Codex

codex mcp add spritefusion --url https://www.spritefusion.com/mcp
codex mcp login spritefusion

Claude, Cursor, VS Code, ChatGPT or another agent? See the MCP docs.

Download ZIP

Use it with your AI agent

Download this effect's ZIP, or to give your agent (Claude, Codex, Cursor...) the full library of pixel art effects. Then have it size the singularity, set how long it pulls, or match the torn-up floor to your ground.

Claude/Codex

You

Use black-hole.ts from Sprite Fusion's pixel art VFX for my gravity spell: tearing up the floor and bending the screen around it.

Claude

I used black-hole.ts as a reference to implement black hole in your game.

Black Hole pixel art effect playing in a game

Connect your AI agent

Get the full context on these effects, and create the pixel art your game needs.

Claude Code

claude mcp add --transport http spritefusion https://www.spritefusion.com/mcp

Codex

codex mcp add spritefusion --url https://www.spritefusion.com/mcp
codex mcp login spritefusion

Claude, Cursor, VS Code, ChatGPT or another agent? See the MCP docs.

In your code

import blackHole from "./black-hole";

const frame = { w: 320, h: 180, ox: 0, oy: 0, color: new Uint32Array(320 * 180), light: new Uint32Array(320 * 180) };
const fx = blackHole({ x: 320, y: 200, ground: 300 });

fx.update(1 / 60);
frame.color.fill(0);
frame.light.fill(0);
fx.draw(frame, "back");
fx.draw(frame, "front");
if (fx.done()) remove(fx);

More pixel art VFX