Another great find for you! XaraXtreme - the Open Source that never happened.
-
While I was working on the Bezigon tool algorithms I was researching into how other programs have implemented pen tools - and I learnt a great deal about bezier curves and their handling - as well as the various ways in which curves are approximated for smoothing.
And while doing so, I stumbled on this motherlode!
XaraXtreme the aborted project of making Xara Open Source for Linux. 20 years ago in 2006, Xara decided that they wanted to make their program Open Source for Linux at least.
This, I reckon, was because Xara made a very grave strategic error - they refused to develop their product for Apple. At the time Steve Jobs was out of Apple, and Apple looked like it was about to die. Who could have predicted what came next? Charles Moir, the director at the time, had to make a call: Spend his limited resource on a dying platform or spend it on Windows. He chose Windows. But it backfired on them spectacularly.
So eventually, I speculate, they wanted to make a backdoor comeback through Linux. But unfortunately, Xara jealously guarded their blisteringly fast rendering engine, the actual secret all the developers were really after. They refused to let it go. I found trails of back and forth on Way Back Machine. Frustrated developers complaining that it wasn't really Open Sourcing.
But I found one golden nugget: https://github.com/earl-kent/xara-lx - They did release the code for all their tools!
To me, that is amazing. I found the code for Shape Tool - Xara's version of Pen Tool, but which is far more intuitive than Bezier Pen tool. Shape tool allows you to literally shape your curves like putty clay. It is addictively good. It is under GNU General Public License which allows you to study for behaviour and use for any purpose. Unfortunately, it contains bugs which were never updated from the main version of the software. But that's okay. Here's where Catmull-Rom becomes relevant. Xara's Shape Tool uses a modified version of Catmull-Rom Spline.
Shape Tool in Xara is over 4500 lines of code. For comparison, my entire Bezigon implementation was 500 lines long including for tangent nodes.
I'm going to study and rebuild it over the next months - perhaps another great addition to VS!
-
@Daniel Hi Daniel. I remember Xara for linux. It was a nice software, kind of strange thing running in linux. Nice you can make alive again something of their legacy.
-
I’m one of those people who are familiar with Xara—I’ve been using it since version 1.
Back then, thanks to its speed and its blending features, it was far ahead of the competition
in the field of vector graphics. Even version 1 featured anti-aliasing for vector graphics, which
I always found a real treat for the eyes.I don’t see why not developing a Mac version should be considered a mistake; after all, PCs
were the most widespread platform at the time.I see their real mistakes as lying in how often the software changed hands or distributors.
For instance, there was a Corel version called "CorelXara," and things got even worse when
the distribution—at least here in Germany—shifted to Magix, who would always try to push
a cloud subscription on you whenever you made a purchase.That’s why I bought a version on Steam, which didn’t come with that requirement.
It’s still in my Steam software library, even though I don’t use it anymore—having
switched to VectorStyler instead.