cannon-es-debugger
programming-2022
cannon-es-debugger | programming-2022 | |
---|---|---|
1 | 3 | |
102 | 11 | |
-1.0% | - | |
0.0 | 0.0 | |
about 1 year ago | about 2 years ago | |
HTML | HTML | |
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.
cannon-es-debugger
-
Hello guys can someone help me with this? I'm trying to use the wireframe because I think I made an error when implementing the quaternion to my cube. I'm trying to use the debug tool. Do I need to import something with that? I already imported the Cannon.Js and everything works fine.
the debugger is here: https://github.com/pmndrs/cannon-es-debugger
programming-2022
-
Math notation library for CojureScript
The latest thing the system can do is run interactive 3d mathematical visualizations. Here are some physics examples: https://twitter.com/sritchie/status/1503220063264026629, with code living here: https://github.com/sritchie/programming-2022
-
Literate programming is much more than just commenting code
- multiple stories about the same piece of code, but all with the ability to IMPORT the story as a library
I've been writing sicmutils[0] as a "literate library"; see the automatic differentiation implementation as an example[1].
A talk I gave yesterday at ELS demos a much more powerful host that uses Nextjournal's Clerk to power physics animations, TeX rendering etc, but all derived from a piece of Clojure source that you can pull in as a library, ignoring all of these presentation effects.
Code should perform itself, and it would be great if when people thought "LP" they imagined the full range of media through which that performance could happen.
[0] sicmutils: https://github.com/sicmutils/sicmutils
[1] autodiff namespace: https://github.com/sicmutils/sicmutils/blob/main/src/sicmuti...
[2] Talk code: https://github.com/sritchie/programming-2022
[3] Clerk: https://github.com/nextjournal/clerk
-
Physics in Clojure: Elliptical Paths
Yes, for these examples SICMUtils is handling the state updates and gives new coordinates to Mathbox to render.
The library works in both JS and the JVM, so I was able to generate an unevaluated code form for the equations of motion (simplified, optimized!), which clerk sends over the wire for the JS build of sicmutils to run.
Here is the code for that demo: https://github.com/sritchie/programming-2022/blob/main/src/p...
The api is settling, of course this is all quite playful! I will add instructions on how to get this building when I’m back at the keyboard.
Another way this will all get more powerful is via the in-progress https://github.com/ChristopherChudzicki/mathbox-react project. When that’s settled we can send a data structure representing a full scene across the wire, and build stuff like www.math3d.org , but with the full power of Clojure augmenting the UI equation editor. Dreamy stuff!
What are some alternatives?
cannon-es - 💣 A lightweight 3D physics engine written in JavaScript.
sicmutils - Computer Algebra, Physics and Differential Geometry in Clojure.
webxr-threejs-midi-visualizer - WebXR, augmented reality MIDI data visualization, built with Three.js and Tone.js. See video: https://youtu.be/lIecCGtbqSM
clerk - ⚡️ Moldable Live Programming for Clojure
noc-book-2023 - Nature of Code with p5.js and Notion workflow / build system. [Moved to: https://github.com/nature-of-code/noc-book-2]
srcweave - A literate programming system for any language.
visu-segment-anything - visualisation of the product of segment-anything
usql - Universal command-line interface for SQL databases
pytudes - Python programs, usually short, of considerable difficulty, to perfect particular skills.