Tag Archives: Three.js

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

WebGL Is Supported By Most Browsers — Most of the Time

Working through yesterday’s post I found it necessary to test the code in multiple browsers and, when it failed, to use the debuggers to figure out where. The different examples I’ve put together for this site and for last week’s … Continue reading

Posted in Software | Tagged , | Leave a comment

Presentation for CharmCityJS Meetup Feb 1, 2017

Link.

Posted in Software | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 80

I was working on other things today so the only thing I added to this project was the grid. It’s at a y-elevation of zero. More interestingly, it’s generation is automated, with the relevant code being shown below. Because floating-point … Continue reading

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

A Simple Discrete-Event Simulation: Part 79

The direct link to the latest version is here. Open this in a new window and try resizing it. While preparing to give a presentation at the CharmCityJS Meetup this Wednesday I spent quite a bit of time investigating the … 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