davidn / collisions Goto Github PK
View Code? Open in Web Editor NEWA 1D particle collision simulator
License: Other
A 1D particle collision simulator
License: Other
Collisions - A 1D particle collision suite Copyright (c) 2009, David Newgas <[email protected]> Collisions consists of several programs for simulating 1D elastic particle collisions. The programs must be compiled, if you are compiling from git run ./autogen.sh && make if you are compiling from a distributed tarball run ./configure && make the main program is `collisions` it takes as input a set of bodies and outputs the state of every particle at every collision. It expects input in the format: inverse-mass radius position velocity and outputs in the format: time particle-1-x particle-1-y ... the program `interpolate` is not very useful, but will take the output of collisions are recast it in the same format, but at regular intervals. the program `gas` generates a group of particles. It currently gives them all the same speed, in random directions. It expects on the command line, first the number of particles, then their mass and radius, then the start and end range of positions they can be in, and then their speed. the program `plot` is an example gnuplot script. It will plot 12 particles in the file /tmp/bar. the program `RUNME` is an overall example session. It creates a random 10 particle gas between two walls, and simulates them and plots them over 10 seconds. RUNME expects to be run from the src directory of the collision sources.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.