Software Alternatives & Reviews

p5.js VS Pixi.js

Compare p5.js VS Pixi.js and see what are their differences

p5.js logo p5.js

JS library for creating graphic and interactive experiences

Pixi.js logo Pixi.js

Fast lightweight 2D library that works across all devices
  • p5.js Landing page
    Landing page //
    2023-07-22
  • Pixi.js Landing page
    Landing page //
    2023-10-14

p5.js videos

Processing or p5.js? My opinions

More videos:

  • Review - Q&A #1: Side-Scroller in p5.js
  • Tutorial - 17.11: Sound Visualization: Frequency Analysis with FFT - p5.js Sound Tutorial

Pixi.js videos

PixiJS Crash Course

Category Popularity

0-100% (relative to p5.js and Pixi.js)
Javascript UI Libraries
67 67%
33% 33
Charting Libraries
63 63%
37% 37
3D
100 100%
0% 0
Development
0 0%
100% 100

User comments

Share your experience with using p5.js and Pixi.js. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare p5.js and Pixi.js

p5.js Reviews

20+ JavaScript libraries to draw your own diagrams (2022 edition)
A JS client-side library for creating graphics and interactive experiences, based on the core principles of Processing to make coding accessible to artists, designers and educators. Beyond drawing, this project provides offers web audio functionality, collision detection and even generation of graphical user interfaces from p5.js sketches.
8 Best Free and Open-Source Drawing Libraries in JavaScript
The p5.js library is a great option for people who are looking for a library that doesn't have a steep learning curve, but which can create very complicated systems if necessary. The get started with P5.js page on the official website has a functional example that draws circles wherever you move your mouse in only a few lines of code.

Pixi.js Reviews

We have no reviews of Pixi.js yet.
Be the first one to post

Social recommendations and mentions

Based on our record, p5.js seems to be a lot more popular than Pixi.js. While we know about 133 links to p5.js, we've tracked only 5 mentions of Pixi.js. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

p5.js mentions (133)

  • Turbo Pascal Turns 40
    Processing (P5) had this: you can select any string of text in its IDE anl search for it in the docs, and if it's one of the built-in functions or constants it will open the associated static html page that came installed with the software, so no internet nor server required. And despite being offline you can still navigate the docs too. This feels a lost basic skill in static site generation these days. It was... - Source: Hacker News / 5 months ago
  • My Google Play Developer account has been terminated
    I thought it could be funny to use the javascript version of it https://p5js.org/ in a web page and then wrap it in a Unity app, since Unity was and is the environment I use for making apps. - Source: Hacker News / 6 months ago
  • Repetition can make you loopy!: Intro to JavaScript Loops
    In this last section, I'll be creating some visual examples to show how helpful loops can be. I'll be using p5js, a JavaScript library with functionality for creative coding. That being said, I'll try to give a condensed version of the functions being utilized in the following examples. - Source: dev.to / 8 months ago
  • Ask HN: How to teach a kid of 15 Linux and programming
    > how do I get him learning programming in a fun way? Processing / P5.js can be pretty fun to learn. You use a real programming language to create art and animations. With little code you can get a circle on the screen, then making it move, then following your mouse, then adding other shapes, then changing colour depending on some event… It’s conductive to experimentation and a way to gradually introduce concepts.... - Source: Hacker News / 10 months ago
  • [OC] I created a simple, free waveform and genre visualizer for your top ten Spotify songs, a few samples below and link to the tool in the comments!
    Then I used p5js to create the 'art' itself, really user friendly coding framework with lots of resources online! If you want to get into coding, that is a really great entry point with Daniel Schiffman's coding train videos on YT! Source: 11 months ago
View more

Pixi.js mentions (5)

  • Release Radar • March 2024 Edition
    If you're into video game dev, then PixiJS is something you need to know about. It's a HTML5 game engine that provides a lightweight 2D library across all devices. This latest update has a new package structure, custom builds, graphics API overhaul, and lots more. You can read about all these changes in the PixiJS Migration Guide. Also big congrats to PixiJS for being part of the open source community for ten... - Source: dev.to / 20 days ago
  • Advice about useful libraries to create a 2D car game (hill climb racing style)
    I would need a renderer to display the graphics of my calculations on the "backend". After some research I think pixijs which is written in TS could be a great tool. Source: about 1 year ago
  • Is programming just not for me?
    And if that seems to up your alley you could look into Javascript game/renderer frameworks. They have 2D engines like https://github.com/photonstorm/phaser or https://github.com/pixijs/pixijs . Or my personal choice A-Frame which is a 3D, AR and VR engine (XR) https://github.com/aframevr/ . Source: over 1 year ago
  • Pixie – A full-featured 2D graphics library for Nim
    This has a high risk of being confused with pixi.js: https://github.com/pixijs/pixijs. - Source: Hacker News / over 2 years ago
  • Custome game engine: what stack ?
    WebGL, I hear, has a similar API to OpenGL. (Also, WebGPU is coming at some point.) Or, you could use a thin library that handles the WebGL drawing of sprites for you. I prefer that option over using a full game engine: I find it's better to only include dependencies when they become necessary. I recently tried a web rendering library called PixiJS, and it seemed like a pretty clean and nice-sized API, and... Source: almost 3 years ago

What are some alternatives?

When comparing p5.js and Pixi.js, you can also consider the following products

Three.js - A JavaScript 3D library which makes WebGL simpler.

Anime.js - Lightweight JavaScript animation library

Processing - C++ and Java programming at the speed of thought.

D3.js - D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS.

Paper.js - Open source vector graphics scripting framework that runs on top of the HTML5 Canvas.

Substance - A JavaScript library for web-based content editing