Code Monkey home page Code Monkey logo

rigid2d230911's Introduction

Rigid2D230911

这是一个 2D 刚体物理模拟程序. 它支持圆形, 凸多边形, 也支持这些图形的组合. 它可以模拟刚体之间的碰撞, 摩擦和电磁力等. 此外这个程序也支持在物体之间添加连接件, 比如绳子, 连杆, 弹簧等. 用户可以用鼠标拖拽, 选定和创建物体. 用户也可以使用脚本语言编辑场景, 指定物体的移动轨迹等.

我写这个主要是兴趣和学习目的, 我不是专业搞编程的, 我的代码也完全算不上规范, 我希望它有种 "实用主义的美", 但事实可能并非如此. 如果代码中有 bug 或性能缺陷, 或者有更简洁清晰的实现方式, 欢迎提醒我.

要下载程序的话: https://zhangyh.itch.io/2d-rigid-body-sandbox 一个实机演示视频: https://www.bilibili.com/video/BV1Am4y157hT

rigid2d230911's People

Contributors

zhangyh2000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.