Software Alternatives & Reviews

p5.js VS Three.js

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

p5.js logo p5.js

JS library for creating graphic and interactive experiences

Three.js logo Three.js

A JavaScript 3D library which makes WebGL simpler.
  • p5.js Landing page
    Landing page //
    2023-07-22
  • Three.js Landing page
    Landing page //
    2019-05-05

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

Three.js videos

Getting Started With Three.js

More videos:

  • Review - Ricardo Cabello (Mr doob) - 5 years of three.js

Category Popularity

0-100% (relative to p5.js and Three.js)
Javascript UI Libraries
46 46%
54% 54
Charting Libraries
57 57%
43% 43
Flowcharts
36 36%
64% 64
3D
100 100%
0% 0

User comments

Share your experience with using p5.js and Three.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 Three.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.

Three.js Reviews

Top 20 Javascript Libraries
Cross-browser JS library and API that allows for the creation of beautiful animations, Three.js relies on WebGL rather than conventional browser-plugins. Through its library utilities, developers can include complex 3D animations on their website without much effort. Three.js include many features like geometry, lights, materials, shaders, effects, scenes, data loaders,...
Source: hackr.io

Social recommendations and mentions

Based on our record, Three.js should be more popular than p5.js. It has been mentiond 229 times since March 2021. 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 / 9 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

Three.js mentions (229)

  • Finding Stars and Affirmations in the Sky with Three.js for Ayra Starr
    Here's how we used Three.js to place and find affirmations in the sky. - Source: dev.to / 26 days ago
  • Incredible JavaScript Animation Libraries
    Three.js is dedicated to generating 3D visuals, offering a powerful suite of features and tools. It is built atop WebGL and optimizes GPU usage for rapid rendering, ensuring smooth performance across devices, including those with limited resources. Three.js's versatility allows for the creation of a vast spectrum of 3D graphics and animations, ranging from simple shapes to intricate models. - Source: dev.to / about 1 month ago
  • React: A Mess That Shouldn't Exist In Web Development
    Most of frontend libraries are made with Vanilla JS. An example of library that you might frequently use is "Chart.js". But React is not compatible with Chart.js so here it comes "React-chartjs-2" A wrapper library to work with Chart.js in React ecosystem. Oh you want to use "three.js" for some cool 3D? You will need "React-three/fiber". In my case, I need to implement "telegram-web-app", not so fast, I have to... - Source: dev.to / about 2 months ago
  • JPEG XL Is a Stupid Name
    The websites uses a 3D library called three.js https://threejs.org/ I think it is used for the loading splash screen. - Source: Hacker News / about 2 months ago
  • Things you should know before learning Three.js
    For one of my 100-Day Challenges, I chose to dive into Three.js, a JavaScript 3D library. It's easy to start learning, and it becomes difficult to master with the inclusion of shaders. - Source: dev.to / 3 months ago
View more

What are some alternatives?

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

Pixi.js - Fast lightweight 2D library that works across all devices

PixiJS - Fast and flexible WebGL-based HTML5 game and app development library.

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

Anime.js - Lightweight JavaScript animation library

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

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.