Based on our record, Phaser should be more popular than Anime.js. It has been mentiond 120 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.
Anime.js (48.8k ⭐) — A lightweight library with a simple API that can animate HTML, CSS, JS, SVG and DOM attributes. It has a built-in staggering system, callbacks and controls, and various easing and animation effects. - Source: dev.to / 6 days ago
This direct manipulation allows you to leverage robust animation libraries like GSAP or Anime.js, which require direct DOM access to perform optimally. - Source: dev.to / 16 days ago
Anime.js is celebrated for its simplicity, speed, and versatility. This compact library simplifies the animation process, enabling developers to craft visually striking animations with minimal effort. Anime.js supports a wide array of effects like scaling, morphing, and rotating, offering developers the tools to create complex timelines and animations with ease. - Source: dev.to / about 2 months ago
Https://animejs.com/ As seen in their source code here:. - Source: Hacker News / 10 months ago
To your original question though, there are lots of ways to achieve these types of animations and the best solution is dependent on your requirements and experience. I suggest looking into css animations and anime.js. If you're looking to do more complex animations, a tool like lottie might be a better fit. Source: 12 months ago
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/. - Source: Hacker News / 19 days ago
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). - Source: dev.to / about 2 months ago
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. - Source: Hacker News / 2 months ago
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). - Source: dev.to / 3 months ago
Just use an actual game framework https://phaser.io/. Source: 5 months ago
Pixi.js - Fast lightweight 2D library that works across all devices
PixiJS - Fast and flexible WebGL-based HTML5 game and app development library.
GSAP - GSAP (GreenSock Animation Platform) is a suite of JavaScript tools for high-performance animations that work in all major browsers.
Unity - The multiplatform game creation tools for everyone.
p5.js - JS library for creating graphic and interactive experiences
Godot Engine - Feature-packed 2D and 3D open source game engine.