Tag Archives: JavaScript

To Do List Project: Part 1

Today I worked out a lot of the JavaScript that might be needed to effect the screen changes I want to have happen as various buttons are pushed. A To Do item against which no time has been expended would … Continue reading

Posted in Software | Tagged , , | 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 , , , , , | 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

Posted in Software | Tagged , , | Leave a comment

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 , , , | 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 , , , , | 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 , , , | 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 , , , | Leave a comment

Different Options for Empty Web Links

While working on yesterday’s post I noticed, apparently after far too long, that the Intro link on my site’s main page failed to run the animation when clicked. More accurately, it would run a frame or two of it and … Continue reading

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

A Bit About Website Navigation in JavaScript

I had the idea that I wanted to suppress the introductory animation on my site’s main page when navigating back to it from other pages within the site (i.e., if coming from another page in the rpchurchill.com domain). This is … Continue reading

Posted in Software | Tagged , , | Leave a comment

WebGL: Incorporating Device Orientation

At last night’s DCJS Meetup (specifically Sean’s talk referencing this) I learned that a means of reading the 3D orientation of a device has been readily available for some time. Descriptions were not hard to find. Setting up the listener … Continue reading

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