simulation

Open source, pure Java physics / dynamics library

I'm looking for a lightweight, pure Java physics engine to do some simulations for robotic motion control. My requirements: Rigid body physics Joint constraints and forces Convex object collision detection Lightweight, pure Java so it can be embedded in my application Ability to run simulations quickly Handles 50-100 objects comforta...

Java: Interface with squares (to drag), lines (to link the squares) and animation (square follows the line)

I'm starting to create a Industrial Simulation (IS) interface, using Java. The problem I'm pointing here is the interface. A IS interface will have some big squares (geometrical figure) (unfilled, instead of it they will have their "names" inside it), one or more lines linking the squares, and while time will be going, some "mini-square...

application or component to aid in raw material utilization

problem: I have a physical production process that takes one bulk input and converts it to many individual jobs. The output of each job is numerous individual pieces. It is possible during the process to split the bulk input between two different jobs (at the same time) and each job my be able to produce 1 to n individual pieces. I am ...

AI and Design of an El-fish like simulator environment?

Hi there, first post here on stack overflow, hoping to get some advice on how to construct a simulation program akin to the 1993 maxis simulator known as El-Fish wiki here , Also, game info here . Are there known "Simulation system" algorithm groups that can function and create real life interaction etc... e.g. the visualization known a...

Flight Simulator with an API

I would like to experiment with various control algorithms, currently I use FlightGear and connect over telnet but when it is running it is making my compter crawl. What I was wondering is are there any flight simulators that would allow me to plug my AI that are not as resource hungry? ...

Best practices when implementing a scientific simulation methodology from scratch

Hi, in the field of scientific simulations (physics) I am thinking about developing some new simulation package in C/C++. What do you think would be the best practices when starting here from scratch? Can you recommend some bibliography? Thanks ...

How to vectorize a random walk simulation in Matlab

I am rewriting a monte carlo simulation model in Matlab with an emphasis on readability. The model involves many particles (represented as (x,y,z)) following a random walk over a small set of states with certain termination probabilities. The information relevant for output is the number of particles that terminate in a given state. Th...

What's the best language for physics modeling?

I've been out of the modeling biz, so to speak, for a while now. When I was in college, most of the models I worked with were written in FORTRAN, which I never liked. I'm looking to get back into science, so I'm wondering if there are modern languages with feature sets suited for this kind of application. What would you consider to be an...

Simple balls physics implementation not working.

Dear experts, I wanted to implement ball physics and as i m newbie, i adapt the code in tutorial http://adam21.web.officelive.com/Documents/JavaPhysicsTutorial.pdf . i try to follow that as i much as i can, but i m not able to apply all physical phenomenon in code, can somebody please tell me, where i m mistaken or i m still doing some...

iPhone Browser simulator for Windows?

Note: This is a question about simulating the Browser on the iPhone, not simulating the whole device. I know that iPhone-device simulation is not possible on Windows, as discussed at length here. I have a web site that looks really weird when viewed on an iPhone - its some sort of CSS issue. The same issue does not occur when I view th...

How does Simulink simulation engine work ?

Hi ! I would like to understand how Simulink simulation engine works. Does it use a discrete event simulation mecanism (then how continous time is handled ?) ? Does it rely on a static cycle-based code generation ? Or ? Thx ! JC ...

High-level Architecture (HLA) versus Distributed Interactive Simulation (DIS)

Is there a high-level overview of HLA versus DIS simulation frameworks? Can one host the other and vice-versa? ...

Flash Command Line Interface

I am looking to build a Flash/ActionScript 2 Command Line interface simulator which acts like a Unix/Dos CLI. Does anyone know how to do this, or have a good resource like a tutorial about it. I've been scouring the web for a solution, but only seem to be able to find a tutorial about the effect, not actually having it interactive. A ...

real time gui for python using only traits.

Is it possible to create a ui using traits from python to make an interface for a cellular automata simulation? ...

Implementing semi-implicit backward Euler in a 1-DOF mass-spring system

I have a simple (mass)-spring system wih two points which are connected with a spring. One point is fixed at a ceiling, so I want to calculate the position of the second point using a numerical method. So, basically I get the position of the second point and it's velocity, and want to know how these two value update after one timestep. ...

generate a random path in 3 dimension

while I am working at a project that requires simulate the movement of a fish, I put the fish in a 3D environment and I wish it could swim in a path looks like a real fish will do. I am wondering if there is any algorithm that can generate a quasi-random, fish-like path? best wishes,everyone. ...

Easy code sample for formula for simulating deceleration of a rotating sphere due to friction and gravity?

I have a rotating sphere that the user rotates by applying a virtual force, like a virtual accelerator. I want to be able to simulate a nice momentum effect so that when they lift off the accelerator the ball winds down in speed in a natural and realistic way, as if due to friction and/or gravity. I don't want to get into any deep phys...

How is time-based programming done?

I'm not really sure what the correct term is, but how are time-based programs like games and simulations made? I've just realized that I've only wrote programs that wait for input, then do something, and am amazed that I have no idea how I would write something like pong :) How would something like a flight simulator be coded? It obvi...

Consideration to implement a Simulalor

We are going to implement a Surgery Simulator which simulate some behaviour in ortopedy surgury room. I didn't have an experience in simulation. I'm using dot net and want to use Microsoft Simulation API which used in Flight Simulator and Microsoft Flight. I have complete information about surgery room documentation and about the react...

dummynet driver for windows server 2008 64bit

Where I can find dummynet (ipfw) driver for 64bit windows machine? ...