pyconar-talk
PixiJS
pyconar-talk | PixiJS | |
---|---|---|
1 | 116 | |
3 | 42,656 | |
- | 1.1% | |
10.0 | 9.9 | |
over 6 years ago | 4 days ago | |
Python | TypeScript | |
- | 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.
pyconar-talk
-
Ask HN: Resources to learn generative art programming?
Start by copying some existing example code and running it locally, then edit it and see what changes. Comment pieces out, look at the results. Change magic numbers to understand the effect. It probably has some calls to a random number generator in it; add more calls to the random number generator.
There are lots of examples bundled with Proce55ing, on Shadertoy, on bl.ocks.org, on ObservableHQ, on Jared Tarbell's website, in the Coding Train vlog, etc. My own repo of examples using Python and PyGame is at https://github.com/kragen/pyconar-talk, but I've also done examples like http://canonical.org/~kragen/sw/dev3/tweetfract.html with (you have to click on the invisible to see it) and http://canonical.org/~kragen/sw/dev3/plotiir.html. Start with small things.
There's probably some kind of awesome example repo out there for deepdream ANN stuff but I don't know what to recommend.
But that's just where to start. Once you're doing stuff you'll want to understand what you're doing and learn about more techniques (algorithmic, software design, and interfaces to libraries and devices) so you can expand your range. There's lots of resources out there (Tarbell in particular has given an hour lecture you can find on YouTube about what techniques he finds useful) but I can suggest:
โ Many instances of the same thing that differ by incrementing a variable. For example, you can create 64 particles that move from point A to point B at successive points in time 30 milliseconds apart, or at the same point in time at 64 different velocities, or 64 Bezier curves from point A to point B that start at 64 angles evenly spaced around a circle.
โ Adding randomness to things. Adding randomness to pixel colors gives you "graininess"; adding randomness to object positions gives you spatial dispersion or, if the randomness varies over time, jittering; adding randomness to the angles of different objects gives you visual variety.
(to be continued)
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?
iao - iao
Konva - Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
awesome-generative-art - Awesome generative art
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]
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
react-canvas - High performance <canvas> rendering for React components
A-Frame - :a: Web framework for building virtual reality experiences.
Leaflet.PixiOverlay - Bring Pixi.js power to Leaflet maps
cocos2d-html5 - Cocos2d for Web Browsers. Built using JavaScript.
box2d-wasm - Box2D physics engine compiled to WebAssembly. Supports TypeScript and ES modules.
EaselJS - The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.
React Konva - React + Canvas = Love. JavaScript library for drawing complex canvas graphics using React.