- ARCHIVE / Sylvester
- What are you doing with Sylvester?
Apparently some people are actually using Sylvester. Which comes as something of a surprise to me because I’ve had nobody (until today) email me or comment here about it at any length. It initially came out seven or eight months ago, and while I intented it to be a full 3D rendering environment, my day [...]
- for vs. do {} while
While developing Sylvester, I’ve read up a little on how to make JavaScript perform as best it can. One of the recommendations given in this Andy King article and elsewhere is that you should use do {} while instead of for for looping purposes. I’m not singling out King for criticism, but I want to [...]
- Writing a linked list in JavaScript
Before I get into the details of this, what exactly is a linked list? Well, it’s a type of data storage structure that has some similarities to the array data type. The key difference is that, rather than storing values using numeric indexes, it stores them by creating links between successive elements so that they [...]
- Sylvester 0.1.3
Rounding out today’s flurry of posts, a quick note to the effect that Sylvester is now at version 0.1.3. The 0.1.2 release missed a couple of bugs that I meant to fix with it. Well not bugs, as such, but places where value/reference ambiguity could have caused problems. I’m beginning work on 0.2 again, after [...]
- Sylvester 0.1.2
Time for the once-a-month update to Sylvester, my JavaScript vector maths library. This release fixes some bugs to do with variables being passed by reference instead of value, and allows you to pass plain arrays to various Matrix methods as long as they are properly nested into rows and columns. If they take some other [...]
- When to use plain arrays, or, know when you’re repeating yourself
UPDATE: since writing this, Sylvester continues to be tweaked for performance. Some of the below may no longer apply, and you should always do your own testing for performance to find out what works for you. I’m leaving this article up to illustrate the broader points it has to make.
Now that Sylvester allows you to [...] - Sylvester 0.1.1 released
As I’m sure I’ve mentioned before, Sylvester 0.1.0 was slow. Very very slow in fact. With that in mind, today sees the release of version 0.1.1. Here’s what’s changed.
First and foremost: the vast majority of the framework has got much faster. Some notable highlights (speed comparisons are approximate and may depend on your computer):Matrix.Rotation in [...]
- Sylvester API docs
It’s been out nearly a week, and now its API documentation is finished. If anyone spots any hideously glaring omissions then do let me know in the comments.
- One loop is enough
Sylvester has been out for a few days now, and seems to be drawing, ahem, mixed reactions over on Ajaxian (mostly for variable naming rather than its actual functionality). It’s nice that a few people seem to be checking it out, even if it is a little rough-round the edges.
One thing I’m really pleased with [...] - Announcing Sylvester
So, after a couple of weeks beavering away on this of an evening, I’m pleased to announce the initial release of Sylvester, a vector and matrix mathematics library for Javascript. The project site has a bunch more information, and API docs for about half the code. My plan is to build this up into a [...]