-
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
October 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: canvas
Prettying Up the 3D Graph Output
Here I’ve prettied the graph up so the lines change color every 100 degrees F, and I’ve added a legend. I suppose I could choose consecutive colors with a bit more contrast.
Graphing the Matrix Output
Here I continually run the heating routine for a piece with an initial temperature of 70 degrees in a furnace set to 2300 degrees. The temperature scale, expressed vertically, runs from 0-2500 degrees. The bottom of the piece, which sits … Continue reading
Controlling the Animation
One way to pause a running animation is simply to inhibit the action as shown in the first example below, and based on the following code. As you can see, the window.requestAnimationFrame is still called, but setting the value of … Continue reading
More Basic Animation
Today I continued experimenting with the techniques I started using yesterday. I tried the exercise with filled circles and also after having placed additional objects on the screen. The only drawing modes that came close to supporting what I was … Continue reading
Beginnings of an Animation
I wrote various two- and three-dimensional animations for years and am looking into various aspects of the practice beginning here. I took a course in computer graphics during my senior year in college using Microsoft Pascal on first-generation IBM PCs … Continue reading
Adding to the Graphing Capabilities
As you saw yesterday in the figure below, I’ve added the ability to plot individual points on the graph rather than a continuous function. The x- and y- locations are determined independently by transforming a value to a pixel location … Continue reading
Steam Table Functions, Curve Fitting, and Yes, the Graph Project
I’m finally detouring back to fixing the handful of errant segments in the steam table functions I created for my simulation work in the early 90s. This graph, originally posted on March 16th, shows a hiccup in the segment from … Continue reading
Posted in Tools and methods
Tagged canvas, curve fitting, graph project, thermodynamics
Leave a comment
Graph Project: Updated To Do List
At this point I need to change direction and get back to addressing the issues which led me to create the JavaScript graph object in the first place. I’ve got enough solid functionality in place to proceed, and I’ll add … Continue reading
Graph Project: Show or Hide Graph and Axis Labels
The figures below show that the graph and axis labels can be hidden or shown independently.
Graph Project: Auto-Sizing Works — The Hard Part, Part Two
Today’s work involved getting the plot area to size itself properly when the last major tick on an axis does not fall right at the end of the axis. It turned out to be just a bit complex and it … Continue reading