pixijs

Ochiq manbalardan

PixiJS — WebGL va WebGPU yordamida brauzerda tez va interaktiv grafika hamda oʻyinlar yaratish uchun ochiq manbali HTML5 2D renderlash kutubxonasi.

KutubxonaKategoriya: Kutubxonalar va SDK · Animatsiya va 3DOpen sourcemaʼlumot tekshirilgan: 15-okt, 2026

Sharh

Brauzer uchun boy 2D grafika, animatsiya va interaktiv kontent yaratish odatda canvas yoki WebGL ning quyi darajali kodi bilan ishlashni talab qiladi. PixiJS — tez va yengil 2D renderlash kutubxonasi boʻlib, bu murakkablikni oʻz zimmasiga oladi: spraytlar, matn, primitivlar, niqoblar, filtrlar va aralashtirish rejimlari uchun moslashuvchan API, shuningdek resurslarni yuklovchi vosita hamda sichqoncha va koʻp teginishli (multi-touch) qoʻllab-quvvatlashni taqdim etadi. Kutubxona WebGL va WebGPU orqali ishlaydi, shuning uchun bir xil kod kompyuter va mobil qurilmalarda ishlaydi. Loyihani PixiJS Create CLI yordamida yaratish yoki mavjud npm loyihasiga pixi.js paketini qoʻshish mumkin, soʻngra interaktiv grafika, ma’lumotlarni vizualizatsiya qilish yoki brauzer oʻyinlarini ishlab chiqish mumkin. PixiJS MIT litsenziyasi ostida tarqatiladi va veb uchun unumdor 2D dvigateli kerak boʻlgan front-end dasturchilar, kreativ kodlovchilar hamda oʻyin ishlab chiquvchilari uchun moʻljallangan.
  • animation
  • canvas
  • canvas2d
  • data-visualization
  • game
  • glsl
  • javascript
  • pixi
  • pixijs
  • renderer
  • rendering
  • rendering-2d-graphics

Oʻrnatish

Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.
  • Til paketlari reyestrinodejsOchiq manbalardanpaket manifestidan — reyestrda chop etilgani tekshirilmagan
    npm install pixi.js

    Tekshirilmagan: oʻrnatishdan oldin reyestrdagi paket aynan shu loyihaga tegishli ekanini tekshiring.

    www.npmjs.com/package/pixi.js ↗
  • Manbadan yigʻishOchiq manbalardankatalog metamaʼlumotlaridan

    Manbadan yigʻish: tekshirilgan yigʻish retsepti yoʻq — repozitoriy koʻrsatmalariga amal qiling.

    github.com/pixijs/pixijs ↗

Moslik

«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.
PlatformaHolatArxitekturaDalilIshonchlilik
Node.jsMos—paket manifesti: package.json name0.60
PythonNomaʼlum———
JVMNomaʼlum———
.NETNomaʼlum———
WebAssemblyNomaʼlum———
Web browserNomaʼlum———

Relizlar

tekshirilgan: 29-okt, 2026
v8.22.0Oxirgi1-okt, 2026Rasmiy manba ↗

8.22.0 versiyasi fayllari

Marketpleys bu fayllarni saqlamaydi: yuklab olish rasmiy manbadan. Biz ularni skanerlamaganmiz.
FaylPlatformaHajmSHA-256Rasmiy manbadan yuklab olish
advanced-blend-modes.jsboshqa36,9 KBa15dd33b5118…Rasmiy manba ↗
advanced-blend-modes.js.mapboshqa66 KBa5591262ffb6…Rasmiy manba ↗
advanced-blend-modes.min.jsboshqa30,9 KB18c73fc95ca2…Rasmiy manba ↗
advanced-blend-modes.min.js.mapboshqa62,2 KBa140392e8ec7…Rasmiy manba ↗
gif.jsboshqa44,3 KBd0ee8ae69c6e…Rasmiy manba ↗
gif.js.mapboshqa86,2 KB7506b469ef77…Rasmiy manba ↗
gif.min.jsboshqa14,6 KB9a0f89c376c3…Rasmiy manba ↗
gif.min.js.mapboshqa70,2 KB5c164ee8b17a…Rasmiy manba ↗
html-source.jsboshqa14,1 KB08d1138d1f4c…Rasmiy manba ↗
html-source.js.mapboshqa36,3 KB9e22d6285d6d…Rasmiy manba ↗
html-source.min.jsboshqa4,5 KB02399b3a8608…Rasmiy manba ↗
html-source.min.js.mapboshqa32,6 KB11a8bd0c18e6…Rasmiy manba ↗
math-extras.jsboshqa6,6 KBfa92de55d6be…Rasmiy manba ↗
math-extras.js.mapboshqa20,2 KBbdd6155b3638…Rasmiy manba ↗
math-extras.min.jsboshqa2,8 KB346a8523084b…Rasmiy manba ↗
math-extras.min.js.mapboshqa15 KB49752f7d4cc1…Rasmiy manba ↗
pixi.jsboshqa2,4 MB27bcdad5c17f…Rasmiy manba ↗
pixi.js.d.tsboshqa1,6 MB68690cc14ca9…Rasmiy manba ↗
pixi.js.mapboshqa5,2 MB212148d925e4…Rasmiy manba ↗
pixi.min.jsboshqa821 KB06d9ef9823e7…Rasmiy manba ↗
pixi.min.js.mapboshqa4,5 MBbd0363c22680…Rasmiy manba ↗
pixi.min.mjsboshqa821,6 KB66257bc46776…Rasmiy manba ↗
pixi.min.mjs.mapboshqa4,5 MB71aaa2ddb9c2…Rasmiy manba ↗
pixi.mjsboshqa2,1 MB8c7c745f667a…Rasmiy manba ↗
pixi.mjs.mapboshqa5,2 MB4c5ff08b7c53…Rasmiy manba ↗
unsafe-eval.jsboshqa35,3 KBe5080621b200…Rasmiy manba ↗
unsafe-eval.js.mapboshqa96,8 KBa0326af27fee…Rasmiy manba ↗
unsafe-eval.min.jsboshqa15,4 KB80d5eabed0e1…Rasmiy manba ↗
unsafe-eval.min.js.mapboshqa78,7 KB2fc26b20bb83…Rasmiy manba ↗
webworker.jsboshqa2,4 MB1838ea392884…Rasmiy manba ↗
webworker.js.mapboshqa5,2 MB7b47c8d05d4c…Rasmiy manba ↗
webworker.min.jsboshqa847,4 KBe2508e4a71c2…Rasmiy manba ↗
webworker.min.js.mapboshqa4,5 MB4cd94be7c966…Rasmiy manba ↗
webworker.min.mjsboshqa848 KB0380fc21425e…Rasmiy manba ↗
webworker.min.mjs.mapboshqa4,5 MB5ac919e06d34…Rasmiy manba ↗
webworker.mjsboshqa2,2 MBfc67d7358514…Rasmiy manba ↗
webworker.mjs.mapboshqa5,2 MB9a5ce1a2ab17…Rasmiy manba ↗

Relizlar tarixi

Sifat profili

algoritm quality-v1.0 · baholangan 15-okt, 2026
Sifat bahosi100
Xavf bahosi0
Ishonchlilik 1.00
Sifat bahosi va xavf bahosi — turli koʻrsatkichlar. Yuqori sifat xavfsizlikni kafolatlamaydi.

Baho tarkibi

Qoʻllab-quvvatlash · 2020
last activity 1 days ago
Hujjatlar · 1515
README 4974 chars, description present
Foydalanishga tayyorlik · 1515
install instructions: yes; releases: yes
Metamaʼlumotlar · 1010
4/4 of description, homepage, license, topics
Relizlar · 1010
10 release(s), latest 14 days ago
Kategoriya aniqligi · 1010
classifier confidence 1
Ommaboplik · 1010
48387 stars (log-dampened, 10k = max)
Litsenziya aniqligi · 55
SPDX MIT
Hamjamiyat · 55
issues enabled, 5097 forks

Litsenziya

MIT
Litsenziya maʼlumrepozitoriy xostingi maʼlumotlariga koʻra

Bu katalog siyosati holati, yuridik xulosa emas.

Manbalar

github.com/pixijs/pixijsAsosiy★ 48 387 yulduzfaollik: 14-okt, 2026Asosiy repozitoriy · Ishonchlilik 1.00

Sharhlar

Sharh yozish uchun kiring

Hali sharhlar yoʻq.

Muqobillar

README

pixijs/pixijs dan · litsenziya MIT · yuklangan 29-okt, 2026

PixiJS ⚡️

Next-Generation, Fastest HTML5 Creation Engine for the Web

  • 🚀 WebGL & WebGPU Renderers
  • ⚡️ Unmatched Performance & Speed
  • 🎨 Easy to use, yet powerful API
  • 📦 Asset Loader
  • ✋ Full Mouse & Multi-touch Support
  • ✍️ Flexible Text Rendering
  • 📐 Versatile Primitive and SVG Drawing
  • 🖼️ Dynamic Textures
  • 🎭 Masking
  • 🪄 Powerful Filters
  • 🌈 Advanced Blend Modes

PixiJS is the fastest, most lightweight 2D library available for the web, working across all devices and allowing you to create rich, interactive graphics and cross-platform applications using WebGL and WebGPU.

Setup

It's easy to get started with PixiJS! Just use our PixiJS Create CLI and get set up in just one command:

npm create pixi.js@latest

or to add it to an existing project:

npm install pixi.js

Usage

import { Application, Assets, Sprite } from 'pixi.js';

(async () =>
{
    // Create a new application
    const app = new Application();

    // Initialize the application
    await app.init({ background: '#1099bb', resizeTo: window });

    // Append the application canvas to the document body
    document.body.appendChild(app.canvas);

    // Load the bunny texture
    const texture = await Assets.load('https://pixijs.com/assets/bunny.png');

    // Create a bunny Sprite
    const bunny = new Sprite(texture);

    // Center the sprite's anchor point
    bunny.anchor.set(0.5);

    // Move the sprite to the center of the screen
    bunny.x = app.screen.width / 2;
    bunny.y = app.screen.height / 2;

    app.stage.addChild(bunny);

    // Listen for animate update
    app.ticker.add((time) =>
    {
        // Just for fun, let's rotate mr rabbit a little.
        // * Delta is 1 if running at 100% performance *
        // * Creates frame-independent transformation *
        bunny.rotation += 0.1 * time.deltaTime;
    });
})();

TypeScript

PixiJS supports WebGPU, so its type declarations depend on the WebGPU types. Where those come from depends on your TypeScript version.

TypeScript 5: no WebGPU types are built in, so PixiJS adds @webgpu/types for you. No additional setup required.

TypeScript 6 and 7: the WebGPU types are built into the "dom" library, but some releases leave parts out, such as GPUTextureUsage. Use @types/web, which has the full set, in place of "dom". Remove @webgpu/types from types if it's there, since it conflicts with the built-in types.

npm install --save-dev @types/web
{
  "compilerOptions": {
    "lib": ["esnext"],
    "types": ["@types/web"]
  }
}

Contribute

Want to be part of the PixiJS project? Great! All are welcome! We will get there quicker together :) Whether you find a bug, have a great feature request, or you fancy owning a task from the road map above, feel free to get in touch.

Make sure to read the Contributing Guide before submitting changes.

License

This content is released under the MIT License.

Change Log

Releases

Support

We're passionate about making PixiJS the best graphics library possible. Our dedication comes from our love for the project and community. If you'd like to support our efforts, please consider contributing to our open collective.

Repozitoriyni ochish ↗