Category Archives: Simulation

A Simple Discrete-Event Simulation: Part 64

As I’ve been developing and experimenting with JavaScript over the last year-plus I’ve been more interested in showing my experience in simulation, graphics, and analysis than I have been with cross-browser- or backward-compatibility. If it ran on my phone (iPhone … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 63

Today I finally implemented the first part of the reporting capability. So far the system keeps track of the total time spent trying to get through the major process areas and through the entire system as well. The entities are … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 62

Today I added the ability for the user to control how the display is updated. Two new buttons have been added to the button row between the 2D display and the 3D display. The second button from the right, labeled … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 61

If everything is right to this point then additional components and logic should be able to be added in any way desired. The complexity was increased by quite a lot and only turned up one minor code change. That’s a … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 60

Here the rendering output is piped through a transform that produces a stereoscopic display with slightly offset views. Make the element full screen then check it out using your favorite 3D goggles (Google Cardboard should do nicely). Here’s a direct … Continue reading

Posted in Simulation | Tagged , , , | Leave a comment

A Simple Discrete-Event Simulation: Part 59

After attaching some new functionality, drawing the paths using the DisplayElements objects, defining 3D elements using the information already available, and learning some more about the Three.js framework and WebGL, we have a nice 3D display. There are many possible … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 58

Today I started experimenting with the Three.js framework that supports the creation of WebGL apps in most modern browsers. I started from the most basic example I saw demonstrated at a recent JavaScript Meetup in Baltimore. I then began to … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 57

Today I got a number of things done. I’ll describe them briefly but forego the code listings for today. Too much going on. I created an external way to graphically represent the non-Path components. These work roughly the same way … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 56

I the process of working off some of the TODO: items I have sprinkled through the code I ended up fleshing out the model verification function. It is called after everything is defined but before the model runs. I haven’t … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 55

Today I got a lot of updates into the mechanism for forwarding entities from one component to another. The changes were chiefly made to the Queue and Process components with some supplementary changes to the Path component. The first change … Continue reading

Posted in Simulation | Tagged | Leave a comment