matter-js
codespin
matter-js | codespin | |
---|---|---|
9 | 5 | |
15,983 | 58 | |
- | - | |
7.0 | 9.5 | |
7 days ago | 12 days ago | |
JavaScript | 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.
matter-js
-
Copying Angry Birds with nothing but AI
Do you think this worked so cleanly because there is a tutorial similar to this and its in the dataset?
https://github.com/liabru/matter-js/wiki/Tutorials
-
Draggable physics button? How would you create such an effect?
If you don't want to create your own physics engine, there are also existing ones like matter.js.
-
Advice about useful libraries to create a 2D car game (hill climb racing style)
A physics engine for the basic stuff (colisions with the terrain, gravity, rigid body mechanics, suspension springs...) would be great and I think Matter.js it's a great option
-
Phaser vs PixiJS for making 2D games
Another option is to add a third-party physics library such as Matter.js, although setting up and integrating the physics library can be tricky. If you need physics in your game, especially more complex physics effects, Phaser is a better choice.
-
Canvas Liquid Effect using Matter.js and SVG Filters
I have created a demonstration for liquid (or gooey) effect on HTML Canvas using Matter.js and SVG Filters.
-
Server side game collisions
I recently came across this library: https://github.com/liabru/matter-js
-
Is there a good JavaScript library for 2D collision?
This was a bold faced lie. Matter.js has no continuous collision detection. You wasted so much of my time I hope you are mildly inconvenienced in the near future! https://github.com/liabru/matter-js/issues/5
-
Matter.js z-index?
https://github.com/liabru/matter-js/issues/243 was a bit confusing. The solutions in this thread don't seem to work for me, and i cant find any information elsewhere.
-
Walking AI: Simple Neural Network from Scratch
Over half of the source code is just making the robots exist. If you haven't used matter.js before, you can download it here. You can read the whole documentation here, but the functions we will need are:
codespin
-
GPT-4 Turbo with Vision is a step backwards for coding
Shameless plug. I have a VS Code extension that's very nearly ready.
Codespin CLI tools (ready to use): https://github.com/codespin-ai/codespin
VS Code extension for the CLI tool (soon): https://www.youtube.com/watch?v=2TJqosFmkao
I'll do a Show HN in a week or two.
-
LLMs and Programming in the first days of 2024
Shameless plug: https://github.com/codespin-ai/codespin-cli
It's similar to aider (which is a great tool btw) in goals, but with a different recipe.
-
Copying Angry Birds with nothing but AI
That AI is transformative for development is not in doubt any more. Just this past week, I've been able to build two medium sized services (a couple of thousand lines of code in python, a language I hadn't used for more than a decade!). What's truly impressive is that for the large part, it's better than the code I'd have written anyway. Want a nice README.md? Just provide the source code that contains routes/cli args/whatever, and it'll generate it for you. Want tests? Sure. Developers have never had it so easy.
Another thing to note is that for code generation, GPT4 runs circles around GPT3.5. GPT35 is alright at copying if you provide very tight examples, but GPT4 kinda "thinks".
Shameless plug: I have this open source app which automates a lot of grunt work in prompt generation - https://github.com/codespin-ai/codespin-cli
- An Open Source Node.JS-based CLI tool for Generating Code using GPT
- CodeSpin: Code generation framework and tools using OpenAI APIs
What are some alternatives?
kaboom.js - 💥 JavaScript game library
nitter - Alternative Twitter front-end
melonJS - a fresh, modern & lightweight HTML5 game engine
offscreen-canvas - Demo app using worker.Canvas
engine - Fast and lightweight JavaScript game engine built on WebGL and glTF
Projectile-Motion-Simulation - A simple projectile motion simulator made made using matter.js , it looks cool and ofc gonna help you see physically accurate projectile motion
svelte-canvas - 🎨 Reactive canvas rendering with Svelte.
Pattern-Script - Open Source HTML5 Game Engine based on PuzzleScript
LittleJS - LittleJS is a HTML5 game engine with many features and no dependencies. 🚂 Choo-Choo!
bob-the-walking-AI - A simple, yet effective, walking AI.
walkingAI - It's an AI... that sort of walks.
taro - A lightweight 3D game engine for the web.