phaser VS three.js

Compare phaser vs three.js and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
phaser three.js
6 451
36,353 98,992
0.5% -
9.8 9.9
6 days ago 5 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

phaser

Posts with mentions or reviews of phaser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-26.
  • 3 years of fulltime Rust game development, and why we're leaving Rust behind
    21 projects | news.ycombinator.com | 26 Apr 2024
    If you're targeting the browser first why not use a browser first library like PhaserJS [0]?. I don't see a reason to work around with WASM; HTML5 canvas might be everything that you need.

    [0] https://phaser.io/

  • Gamedev.js Jam 2024 start and theme announcement!
    4 projects | dev.to | 13 Apr 2024
    Gold : GitHub, Phaser Studio, Arcadia
  • Introduction to JavaScript: Empowering Web Development with Interactivity
    4 projects | dev.to | 25 Mar 2024
    Versatility: JavaScript is not limited to web browsers. It's used in a variety of environments, including mobile app development (using frameworks like React Native), game development (using libraries like Phaser), and even serverless computing (using platforms like AWS Lambda).
  • A developer portfolio as a 2D top-down walking simulator
    3 projects | news.ycombinator.com | 15 Mar 2024
    This reminds me of my first real dev job, 10y ago, making small facebook games with https://phaser.io it was actually kind of fun now that I think back.
  • Aftermath of switching from VSCode to Neovim
    3 projects | dev.to | 19 Feb 2024
    Is it worth it? I think while attempting to create a game engine with the Canvas API and vanilla JavaScript. (I quickly ditched that idea and started using PhaserJS)
  • Phaser: A fast, fun and free open source HTML5 game framework
    2 projects | news.ycombinator.com | 13 Sep 2023
    I didn't try to build anything with Phaser, but I evaluated it a bit when trying to pick a game engine for a 2D web game.

    The tech didn't impress me that much, but it also seemed like the most mature 2D game engine available in JS.

    Notably, Phaser 4 was announced ~four years ago and was an attempt to get the project written natively in TypeScript. It looks pretty dead in the water - https://github.com/phaserjs/phaser and having a "best effort" TypeScript experience layered onto Phaser 3 didn't excite me.

    Additionally, with browsers gaining support for WebGPU, I expect any game engine worth their snuff to begin rapidly adopting support for WebGPU. As best I can tell, any hope of Phaser supporting WebGPU is lumped into Phaser 4, so... not much to say there.

    Overall, it was a little tough for me to tell if I was being overly critical and viewing a mature product as a ghost town, but that's the impression I took away from it.

    As far as I can tell, BabylonJS is king in town for a TypeScript game engine, but its focus is 3D experiences. I didn't find an especially compelling 2D game engine. I ended up making a prototype using React + PixiJS + React-Pixi, but that was hardly an engine and had significant performance issues.

    Now I am building in Rust with Bevy. It's slow going, creating UI elements sucks right now, but the underlying tech is super solid and I feel good about what I write and what I learn even if I'm dismayed at the pace in which I am creating.

three.js

Posts with mentions or reviews of three.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-05.
  • I've made game engine (I think)
    2 projects | dev.to | 5 May 2024
    Hi! With Python and ThreeJS (https://threejs.org/) I have made app to make easy 3d visualisation, which you can test in browser. Like this:
  • Implementing 3D Graphics in React
    6 projects | dev.to | 3 May 2024
    In React, there are different libraries for rendering 3D. In this article, we will focus on how to use the Three.js Library, React Three Fiber library, and the React Three Drei library for creating 3D objects.
  • Implementing Bloom Effect with Mapbox and Three.js
    3 projects | dev.to | 8 Apr 2024
    Regarding the optimization of the effect, I found an issue on the three.js GitHub repository: https://github.com/mrdoob/three.js/issues/14104 The alpha channel issue seems to be a difficult problem, which has been present since 2018. At the end of the discussion, a solution proposed by a contributor is not to modify the UnrealBloomPass but to blend the source texture and target texture in the shader.
  • Finding Stars and Affirmations in the Sky with Three.js for Ayra Starr
    2 projects | dev.to | 1 Apr 2024
    Here's how we used Three.js to place and find affirmations in the sky.
  • Ask HN: Tips to get started on my own server
    19 projects | news.ycombinator.com | 25 Mar 2024
  • Incredible JavaScript Animation Libraries
    6 projects | dev.to | 24 Mar 2024
    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.
  • JavaScript Libraries That You Should Know
    8 projects | dev.to | 19 Mar 2024
    7. three.js
  • React: A Mess That Shouldn't Exist In Web Development
    3 projects | dev.to | 9 Mar 2024
    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 create my own wrapper to be able to use it.
  • JPEG XL Is a Stupid Name
    1 project | news.ycombinator.com | 5 Mar 2024
  • Things you should know before learning Three.js
    1 project | dev.to | 4 Feb 2024
    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.

What are some alternatives?

When comparing phaser and three.js you can also consider the following projects:

kaboom.js - 💥 JavaScript game library

BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

Excalibur - 🎮 Your friendly TypeScript 2D game engine for the web 🗡️

p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —

cocos-engine - Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.

model-viewer - Easily display interactive 3D models on the web and in AR!

Godot - Godot Engine – Multi-platform 2D and 3D game engine

heatmap.js - 🔥 JavaScript Library for HTML5 canvas based heatmaps

A-Frame - :a: Web framework for building virtual reality experiences.

melonJS - a fresh, modern & lightweight HTML5 game engine

framer/motion - Open source, production-ready animation and gesture library for React