-
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
December 2023 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 91
I started thinking about the design of processes that require resources and realized there are a lot of ways I could go with this, so I thought I’d back up and think it through in writing. Let’s begin with a … Continue reading
A Simple Discrete-Event Simulation: Part 90
This evening I attended the DC IIBA Meetup on the subject of process mapping, which is obviously an area in which I have some experience. Since I’ve reached a natural break in writing about pure business analysis subjects I’m going … Continue reading
JavaScript Inheritance: A Form of Composition
Lectures 53 through 56 of JavaScript: Understanding the Weird Parts discuss more about the creation and manipulation of objects under the hood. I’d seen different aspects of this material previously, which gave me a different take on how to build … Continue reading
Posted in Software
Tagged composition, discrete-event sim project, inheritance, JavaScript, memory management, OOP in JS, Underscore.js
Leave a comment
A Simple Discrete-Event Simulation: Part 89
Direct link for mobile devices. I was walking a few miles in the nice weather this evening when two possible solutions popped into my head for the DisplayGroup drag problem I had in the simulation app (where the pointer arrow … Continue reading
Posted in Software
Tagged discrete-event sim project, drag items, JavaScript, mouse events, select items, touch events
Leave a comment
A Simple Discrete-Event Simulation: Part 88
Direct link for mobile devices. Today I updated the code to define DisplayGroups for all non-Path components, which means the internal data for each component will become visible when the relevant component is clicked. Moreover, each visible DisplayGroup object can … Continue reading
Posted in Software
Tagged discrete-event sim project, drag items, JavaScript, mouse events, select items, touch events
Leave a comment
A Simple Discrete-Event Simulation: Part 87
Today I connected the display of the DisplayGroup objects to the component selection event. That is, if you click on a component it brings up that component’s DisplayGroup object. This process involves several steps. First, the location on the canvas … Continue reading
A Simple Discrete-Event Simulation: Part 86
I was working to add the next behavior when I discovered that things that used to work no longer did. After a bit of digging I realized that the problem was trying to handle click events separately from mouseup and … Continue reading
Posted in Software
Tagged discrete-event sim project, JavaScript, mouse events, touch events
Leave a comment
A Simple Discrete-Event Simulation: Part 85
Direct link for mobile devices. Today I made the selection action work using touch events in addition to the mouse click event. The touch mechanism in JavaScript for mobile browsers does not current have a click counterpart so we have … Continue reading
Posted in Software
Tagged discrete-event sim project, JavaScript, mouse events, select items, touch events
Leave a comment
A Simple Discrete-Event Simulation: Part 84
Today I implemented the ability to select graphic elements using a mouse click. This involves sensing the mouse click event and its location, variations of which we’ve already visited, and identifying the graphic element on that part of the screen. … Continue reading
Posted in Software
Tagged discrete-event sim project, JavaScript, mouse events, select items
Leave a comment
A Simple Discrete-Event Simulation: Part 83
Direct link for mobile devices. Now that I have the chance to return to the Discrete-Event Simulation project the next item to work on is touch events. I had already implemented the ability to scroll the 2D display horizontally and … Continue reading
Posted in Software
Tagged discrete-event sim project, JavaScript, mobile devices, touch events
Leave a comment