-
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
May 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 31
Tag Archives: discrete-event sim project
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
A Simple Discrete-Event Simulation: Part 54
Today I updated the mechanism by which the components pull entities from previous components when there are multiple options. This involves pulling the entity that has been waiting the longest. Each entity is timestamped using a new member named forwardAttemptTime, … Continue reading
A Simple Discrete-Event Simulation: Part 53
The framework is meant to work without including Path components, which would be the case when transfer between components is effectively instantaneous, as would be the case when simulating an information or logical system rather than a physical system of … Continue reading