canvas
PixiJS
Our great sponsors
canvas | PixiJS | |
---|---|---|
9 | 116 | |
1,422 | 42,552 | |
- | 1.3% | |
9.2 | 9.9 | |
9 days ago | about 4 hours ago | |
Go | TypeScript | |
MIT License | MIT License |
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.
canvas
-
Canvas vector graphics update: rich text and path boolean operation support
I wanted to share a recent large update to https://github.com/tdewolff/canvas, which is a vector graphics library written in Go to create images, PDFs, SVGs, OpenGL, etc. using vector drawing operations. Especially I wanted to show two new exciting features:
-
Client-side scripting for in-browser graphics.
It appears that there's a port of Cairo to Go which also targets webassembly. https://github.com/tdewolff/canvas
- Pixie โ A full-featured 2D graphics library for Nim
-
Processing equivalent in GoLang
https://github.com/tdewolff/canvas/blob/master/examples/opengl/main.go can draw primitves but i think it would be a bit hard to do event based animation
-
tdewolff/canvas: vector graphics in Go (mayor update)
Yes! See https://github.com/tdewolff/canvas/tree/master/examples/gonum-plot for an example using gonum-plot. You should be able to plug-and-play to use the canvas library!
- Cairo in Go: Vector to SVG, PDF, EPS, Raster, HTML Canvas, etc.
PixiJS
-
Release Radar โข March 2024 Edition
If you're into video game dev, then PixiJS is something you need to know about. It's a HTML5 game engine that provides a lightweight 2D library across all devices. This latest update has a new package structure, custom builds, graphics API overhaul, and lots more. You can read about all these changes in the PixiJS Migration Guide. Also big congrats to PixiJS for being part of the open source community for ten years now! ๐ฎ.
- Ask HN: Tips to get started on my own server
-
JavaScript Libraries That You Should Know
6. Pixi.js
- JSON Canvas โ An open file format for infinite canvas data
-
A Visual Interactive Guide to Bloom Filters
https://pixijs.com/ and https://gsap.com/. All of the source code for my posts can be found at https://github.com/samwho/visualisations :)
-
My thought on different engines
For full web games (yeah, I come from the web, so I try to make my family proud), I will recommend PixiJS. It has great support for TypeScript and works very well with Vite. It's lighter than other game engines, so it's better for web games. But you will need to do a lot of things by yourself.
-
Not only Unity...
PixiJS (MIT/TypeScript) https://github.com/pixijs/pixijs
-
Rebuilding Isometric World
That approach works well for what I was trying to archive but I am planning on adding more functionality into the website. Hence in this article, let me rebuild the project using Pixi.js and itโs React binding, React Pixi.
-
Ask HN: Possible to make a game engine in the browser?
https://openarena.live/
There's also a bunch of Javascript game engines: https://github.com/collections/javascript-game-engines
Of those, BabylonJS seems pretty powerful for 3D: https://www.babylonjs.com/games/
Or PixiJS for 2D: https://pixijs.com/
-
Consider web technologies for game development
https://pixijs.com/ is more of a 2D rendering framework, but powerful and very fast
What are some alternatives?
svgo - Go Language Library for SVG generation
Konva - Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
gg - Go Graphics - 2D rendering in Go with a simple API.
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]
tiny-skia - A tiny Skia subset ported to Rust
react-canvas - High performance <canvas> rendering for React components
generative-art-in-go - A companion source code repository to the book "Generative Art in Go"
A-Frame - :a: Web framework for building virtual reality experiences.
go-cairo - Go binding for the cairo graphics library
Leaflet.PixiOverlay - Bring Pixi.js power to Leaflet maps
bgracontrols - ๐ BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications.
cocos2d-html5 - Cocos2d for Web Browsers. Built using JavaScript.