Software Alternatives, Accelerators & Startups

raylib VS p5.js

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

raylib logo raylib

Cross-platform, open-source game development library in C.

p5.js logo p5.js

JS library for creating graphic and interactive experiences
  • raylib Landing page
    Landing page //
    2022-07-08
  • p5.js Landing page
    Landing page //
    2023-07-22

raylib videos

Raylib 3.0 Released -- The Best Way to Learn C or C++ Game Development*

More videos:

  • Tutorial - Raylib tutorial | Episode 1 | Setting up Raylib and Creating a Window
  • Review - RayLib Receives An Epic MegaGrant!

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

Category Popularity

0-100% (relative to raylib and p5.js)
Game Engine
100 100%
0% 0
Javascript UI Libraries
0 0%
100% 100
Game Development
100 100%
0% 0
Charting Libraries
0 0%
100% 100

User comments

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

raylib Reviews

  1. Raylib, a hidden Powerhouse

    I got to know Raylib just a few days ago taking a course on learning C++ to start using Unreal Engine. I have a background with assembler(a long time ago), Python/Pygame, C#/Monogame, and Unity/C#. Within the few days I used it, I am simply blown away by the simplicity but yet extremely powerful Raylib library. The routines and functions are very clear and access is very simple. Everything is well documented. I am yet to go in-depth with the library but I never had such an experience in the past building games, which is my main interest. If you stumbled upon this by chance stop and give it a go. You'll never regret it. Right now I am thinking of the many ways I can use this with the languages I know.

    🏁 Competitors: MonoGame, Pygame

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.

Social recommendations and mentions

Based on our record, p5.js seems to be a lot more popular than raylib. While we know about 136 links to p5.js, we've tracked only 6 mentions of raylib. 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.

raylib mentions (6)

  • Are there any game engines that support 3D that are more code orientated?
    It sounds like you're maybe asking for code frameworks/libraries instead of engines? Something like https://raylib.com/ might be better suited? Source: over 1 year ago
  • How can I make graphics games using cpp?
    I would recommend SFML or Raylib, they're both excellent and fairly easy to set up, plus have really good documentation. And if you decide to really dig into them you'll eventually be able to create any game you want. Source: over 1 year ago
  • Best C++ libraries for 2D game development
    I'd also recommend raylib as an option. Check out its website: http://raylib.com/. It is beginner friendly enough with good cheatsheet and examples. Source: almost 2 years ago
  • Question about graphic/game libraries
    Finally, you can use raylib.com , a C library but it has a great interface and multiple examples. Howeve, it is not wide-spread like SDL. Source: almost 3 years ago
  • confused new dev
    The easiest option is C# and Unity, even though I think at some point (if you want to experience real programming) you'd better off using a framework. Source: almost 3 years ago
View more

p5.js mentions (136)

  • Battlesnake Challenge #2 - JavaScript
    JavaScript is everywhere. Not only is JavaScript on every layer of the tech stack (frontend/middleware/backend), but you can also find JavaScript in every software domain. No matter if you want to do command-line tools, creative coding, or machine learning, you can do it in JavaScript. Because JavaScript is so ubiquitous, as a developer it’s the best career choice you can make. - Source: dev.to / 5 days ago
  • Processing Foundation 2024 Software Development Grant (pr05): 'New Beginnings' Open Call
    The Processing Foundation is thrilled to announce the open call for pr05 (pronounced “pros”), a new grant and mentorship initiative designed to support the professional growth of early to mid-career software developers through hands-on involvement in open-source projects. This is a unique opportunity to grow as a developer while making a tangible impact on software projects used by millions of creatives, artists,... - Source: dev.to / 5 days ago
  • How to build an associative graph using React + p5
    I'm using the JavaScript graphics library p5 inside a react component, like so:. - Source: dev.to / 17 days ago
  • 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 / 6 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 / 7 months ago
View more

What are some alternatives?

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

SFML - SFML provides a simple interface to the various components of your PC, to ease the development of games and multimedia applications. It is composed of five modules: system, window, graphics, audio and network.

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

SDL - Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level...

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

Vulkan - Vulkan is a new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.

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