Angular 2 and Typescript Math Toolkit – Interactive Graph Marker

If you have followed blog posts on the Typescript Math Toolkit function graphing engine, then you may have seen this screen shot from the engine’s predecessor (the Javascript Math Toolkit). The red circular sprites are draggable…

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…

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…

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 +…

Angular 2 Reactive Form Validation

a2

The very recent Angular 2 Release Candidates saw slight changes in forms and expected changes in the A2 Router.  As we expect RC4 to be the immediate predecessor to A2 Final, I thought it would be…