Typescript Math Toolkit Function Graphing Engine Update

TSMT

I’m making very good progress on the Typescript Math Toolkit Function Graphing Engine, so I thought it would be a good time for a comprehensive update.  The FGE contains a large number of independent components, some of…

Typescript Math Toolkit Random Integer In Range

I just finished the V1.0 math package for the Typescript Math Toolkit.  The final holdout was the random integer in range class and a supporting (seeded) RNG.  The problem of computing a pseudo-random integer in a…

Programming Test Problems In Typescript

dvis-header

I had a good discussion with friend and fellow developer, Dave, last week.  Dave is a 15-year veteran who does mostly C++/JS programming.  He is the type of guy who can setup his computer in front…

Angular2 Animations, Custom Directives, And More

a2

This demo resulted from two questions that I hope to answer in the context of a single example. The first question was how to choreograph two different animations on two separate DOM elements using only the…

Broccoli Merge Trees Error

I recently updated some code and config files in an older Angular 2 CLI project.  I made a simple change and then executed the usual ng build.  I was greeted with a Broccoli merge-trees compilation error….

Typescript Math Toolkit Line Decorators

Decorator is one of my favorite design patterns.  I like how decoration can be applied at compile-time (see Typescript annotations such as @Component) and at run-time.  A great example of run-time decoration is line decorators.  Suppose…

Angular 2 (RC4) Component Router Demo

I wanted to create a demo with the new (RC4) Component Router since we’ve been waiting for this one for so long  After sketching out a couple ideas and then doing some spiking, it became evident…

Typescript Math Toolkit Function Parser

TSMT

Back in the day, I wrote a C++ function parser for functions expressed in a calculator-style syntax (infix notation).  For example, a function of two independent variables s and t could be described as 2*s +…