Skip to main content

🌀 Fracticons

Beautiful fractal avatars from any string

Generate unique, deterministic avatars powered by Julia set fractals. Perfect for user profiles, placeholder images, or anywhere you need beautiful, consistent visual identifiers.

Why Fracticons?

Lightning Fast

Generates 128px avatars in ~3ms. No external API calls, no network latency.

🔒

Deterministic

Same input always produces the exact same avatar. Perfect for caching and consistency.

🎨

10 Color Palettes

Choose from fire, ocean, neon, pastel, and more. Or let it generate harmonious colors.

📦

Zero Dependencies

Pure TypeScript with a custom PNG encoder. Works in Node.js, browsers, and edge runtimes.

🖼️

Native PNG Output

Generates PNG images without Canvas API. Returns data URLs ready for img tags.

🌀

Real Fractals

Based on Julia sets—mathematical fractals that create infinitely complex, unique patterns.

Simple to Use

Just two lines of code to generate beautiful avatars

import { generateFracticonDataURL } from 'fracticons';

// Generate avatar from any string (email, user ID, etc.)
const avatar = generateFracticonDataURL('user@example.com');

// Use directly in an <img> tag
document.getElementById('avatar').src = avatar;
npm install fracticons