-
Recent Posts
Recent Comments
- R.P. Churchill on TWSL Series 07: Discovery and Data Collection
- R.P. Churchill on A Simulationist’s Framework for Business Analysis: Round Two
- LN on A Simulationist’s Framework for Business Analysis: Round Two
- R.P. Churchill on Starting to Learn About the Java Memory Model
- R.P. Churchill on Multidimensional Arrays in Javascript
Categories
Meta
April 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
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
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
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
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
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 discrete-event sim project, Three.js, virtual reality, WebGL
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
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
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
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
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