Software Alternatives, Accelerators & Startups

Skia VS p5.js

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

Skia logo Skia

Skia is an easy-to-use and user-friendly 2D Graphics Library that comes with many prominent APIs for usage in software and hardware platforms.

p5.js logo p5.js

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

Skia features and specs

  • Open Source
    Skia is an open-source graphics library, which means it's free to use and has contributions from a large community that ensures a wider range of support and continual improvement.
  • Cross-Platform
    Skia supports multiple platforms, including Windows, macOS, Linux, Android, and iOS, which makes it versatile for developing applications that are intended to run on different operating systems.
  • High Performance
    Designed for high performance, Skia can support both CPU and GPU-accelerated rendering, making it suitable for applications that require efficient graphics processing.
  • Integration
    Skia can be easily integrated with various frameworks and technologies, such as Flutter, making it a flexible solution for developers working on different projects.
  • Rich Feature Set
    Skia provides a wide range of features, including vector graphics, text rendering, and complex shapes, which offer developers great flexibility in design and functionality.

Possible disadvantages of Skia

  • Complexity
    Due to its comprehensive feature set and cross-platform capabilities, Skia can be complex to learn and use effectively, especially for developers who are new to graphics programming.
  • Limited Documentation
    While Skia is supported by an active community, some users might find its official documentation lacking in depth and detail, making it difficult to fully understand and leverage its capabilities without additional research.
  • Steep Learning Curve
    The complexity and breadth of Skia's features can result in a steep learning curve for new users, which can be a barrier to quick adoption and productivity.
  • Lack of Direct Support
    As an open-source project, Skia does not offer official customer support, so users must rely on community forums and third-party resources for troubleshooting and assistance.
  • Integration Overhead
    While Skia is versatile in its integration capabilities, incorporating it into a project may require significant effort or additional tools, especially if the project isn't already using compatible frameworks.

p5.js features and specs

  • Ease of Use
    p5.js simplifies the process of learning and creating interactive graphics with its intuitive syntax, making it accessible for beginners.
  • Web-Based
    As a JavaScript library, p5.js runs directly in the web browser, enabling easy sharing and embedding of interactive sketches online without the need for additional plugins.
  • Creative Coding Community
    p5.js is supported by a vibrant community that shares a plethora of examples, tutorials, and resources, facilitating learning and troubleshooting.
  • Extensibility
    Its modular architecture allows for easy integration with other libraries like p5.sound, p5.dom, and even external JavaScript libraries, enhancing its functionality.
  • Accessibility
    p5.js emphasizes inclusivity, offering features that make it easier to create accessible web content, such as screen reader support.

Possible disadvantages of p5.js

  • Performance
    p5.js may not be as performant as other lower-level graphics libraries or frameworks, which can be a limitation for highly intensive graphical applications.
  • Learning Curve for Advanced Features
    While beginner-friendly, mastering complex features and fine-tuning performance in p5.js can require significant effort and understanding of JavaScript.
  • Not Ideal for Large Projects
    Due to its simplicity and focus on learning and prototyping, p5.js might not be suitable for large-scale, production-grade applications.
  • Limited 3D Support
    Although p5.js offers 3D rendering capabilities, these are less developed and performant compared to dedicated 3D libraries like Three.js.
  • Dependency on JavaScript
    Since p5.js is built on JavaScript, it inherits the language's limitations and quirks, which might be a hindrance for developers accustomed to other programming languages.

Skia videos

SkiA Ski Trainer Review

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 Skia and p5.js)
Development
100 100%
0% 0
Javascript UI Libraries
Photos & Graphics
100 100%
0% 0
Charting Libraries
0 0%
100% 100

User comments

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

Skia Reviews

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

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 should be more popular than Skia. It has been mentiond 146 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.

Skia mentions (23)

  • Skia Canvas: Browser-Less Implementation of the HTML Canvas Drawing API for Node
    > Firefox and Chrome have at various points in time used Skia as a backend for their own implementations of the Canvas API, too. Skia is the graphics engine used by Chrome and Android to render everything: https://skia.org/. - Source: Hacker News / 5 months ago
  • Web Browser Engineering
    Yes [4]. > [1] The library is used as of 2023 in Google Chrome, ChromeOS, ChromiumOS, Mozilla Firefox, Mozilla Thunderbird, Android, Firefox OS, Flutter,[5] Avalonia (from Alpha 4), LibreOffice (from version 7.0) and RAD Studio[6](since version 12.0). > [2] Changes to the Skia repository will be rolled into Chromium by the AutoRoll bot several times per day. > [3] It serves as the graphics engine for Google Chrome... - Source: Hacker News / 7 months ago
  • Cairo – Open-Source 2D Graphics Layer/API with Fonts and Many Back-Ends
    Didn't know about Skia previously! So, let's provide some links: Overview: https://en.wikipedia.org/wiki/Skia_Graphics_Engine Homepage: https://skia.org/ Source: https://skia.googlesource.com/skia/ https://github.com/google/skia where the following github projects which involve drawing are mentioned: https://github.com/bkaradzic/bgfx https://github.com/wjakob/nanogui we find the following interesting quote:... - Source: Hacker News / almost 2 years ago
  • Lottie under the hood
    Actually, that's not entirely accurate. The lottie-web Library itself doesn't support rendering to WebGL. However, there is a package called canvaskit-wasm that wraps Skia (a graphics engine) with WebAssembly (wasm). This package includes a module called skottie which supports rendering animations into a WebGL surface. However, there is a drawback with this approach: using wasm requires loading a relatively large... - Source: dev.to / almost 2 years ago
  • Widely-used graphics library
    Skia is pretty great if you can get it running. Source: about 2 years ago
View more

p5.js mentions (146)

  • Ask HN: Who Are Your Favorite Photography and Generative Coding Artists?
    p5.js is a JavaScript library that I've enjoyed messing with. It's related to Processing. https://p5js.org/. - Source: Hacker News / 2 months ago
  • Art Blocks and the Future of Open Source with Blockchain
    Art Blocks, founded by Erick Calderon in 2020, is a platform that enables artists to create generative art using blockchain technology. It operates on the Ethereum blockchain, leveraging smart contracts to mint unique art pieces as NFTs. The process begins with artists submitting scripts that define the artwork's parameters. Once approved, these scripts generate unique pieces upon purchase, offering collectors a... - Source: dev.to / 2 months ago
  • Rant: state of generative AI in code generation.
    In my experience with AI code generation, in visual projects like UI development or JavaScript based animation (using three.js or p5.js) etc. AI tools work pretty well. - Source: dev.to / 3 months ago
  • Procedural Generation and Noise
    For this most recent assignment we were tasked with contributing a larger feature to an open source project. During my time with the previous assignment I worked on a game engine called Litecanvas, inspired engine by libraries like raylib and p5.js/Processing. - Source: dev.to / 6 months ago
  • Antirez/load81: SDL based Lua programming environment for kids similar to Codea
    Let’s not forget P5js which has a long and esteemed history of helping to teach kids and more to program. It’s browser based so it’s compatible with every OS and requires no install. FOSS with an active community of users and contributors. I personally taught some middle schoolers with zero programming experience how to make interactive monsters in 1 hour. It was awesome! https://p5js.org/. - Source: Hacker News / 6 months ago
View more

What are some alternatives?

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

Cairo - Cairo is an open-source 2D graphics library released under the GNU Lesser General Public License with support for several output devices.

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

Anti-Grain Geometry (AGG) - Anti-Grain Geometry (AGG) is an open-source 2D graphics library that provides you with tools to create multiple shapes and also comes with detailed documentation for explaining all the important concepts.

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

PlotDevice - PlotDevice is a graphics language for tinkerers, designers, developers and is written in Python.

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