F#
-
Some of you may remember this series of posts from the beginning of the year (I also mentioned it in the last post). It showed how you might use AutoCAD and .NET (in this case via F#) to animate the Star Wars opening crawl for the first 6 movies. Back then I said I'd update the video series to include Star Wars Episode VII: The Force Awakens, once it was released. Today is that day… due to some bizarre accident of international scheduling, I got to see it two days ago, here in Switzerland. I took a few snaps of…
-
Happy Friday! It's time to unveil the completed Star Wars opening crawl inside AutoCAD… After an intro and seeing various pieces implemented, in today's post we're going to add the crawl text and animate its movement into the distance. The initial blue text The theme music The star field The disappearing Star Wars logo The crawling text As the surprise "bonus" item 6, I decided to add a planet and – at the end of the crawl – shift the view downwards to show its surface: an effect I've seen in the opening crawl for at least one of the…
-
Now that we've introduced the series and seen how to add some introductory text, theme music and a field of stars, it's time for the Star Wars logo. The initial blue text The theme music The star field The disappearing Star Wars logo The crawling text The logo came, once again, from the HTML opening crawl, which embeds some SVG content representing it. I copied this into a standalone SVG text file, ran it through a web-service to translate it to DXF and then opened that inside AutoCAD. The outlines of the letters (or groups of letters) were continuous polylines…
-
After introducing this series in the last post, today we're going to address the first 3 items on our TODO list: The initial blue text The theme music The star field The disappearing Star Wars logo The crawling text The following two items are fairly significant, in their own right, so they'll each take a post of their own to complete. Oh, and I've thrown in a surprise item 6, which I'll unveil when we implement the crawling text. Before we dive in, it's important to make some points about the code: because this is mainly just a bit of…
-
Happy New Year, everyone! As mentioned in the last post, I took a couple of weeks off over the holiday period, extending Autodesk's annual "week of rest" between Christmas and New Year to a full fortnight. This time of year clearly has religious significance for many. Some go to church, to temple or even to Stonehenge, some watch one or more of the Star Wars trilogies – arguably which they choose depends on how devout they are. I only ended up watching one Star Wars film, over the holiday period, and while it was from the Despecialized Edition, I don't…
-
I mentioned some weeks ago that I was looking to automate the validation of a bunch of source files I have on disk before uploading them to GitHub. I decided to get started on that, this week, to see what was involved. As mentioned in the previous post, I wanted to programmatically query posts from Typepad, extract any embedded code from them and compare it with what I had on disk, to see which files were already correct and which needed to be created or removed. The first step was to choose a language. The fact this is really an…
-
Taking a rest from my AU prep, I headed across to Zurich last night for an F# meetup focused on machine learning. Primarily because I'm interested in machine learning as a field but also because it seemed a good opportunity to dust off my F# skills. It was interesting to be on the train when the news from the first day of Microsoft's Connect(); event hit the airwaves: the main headline being that .NET is going open source and cross-platform. Yes, folks, it's actually happening: .NET 5 is going to be supported on Linux and OS X. And .NET is…
-
I'm currently in Boston for an internal technical summit where I'll be presenting sessions on Kinect Fusion and Leap Motion (which will the sessions I've submitted - and will hopefully get accepted - for AU 2013). I arrived a day early and rented a bicycle from the hotel, taking the opportunity to cycle through the MIT and Harvard campuses (both of which are in Cambridge, where the summit is taking place) and then on to downtown Boston. It was really great being back in Boston after probably five years - it's still one of my favourite cities in the US.…
-
Or otherwise named "Creating an AutoCAD jig to dynamically display a guilloché pattern using F#". But then why pass up the chance for a Jerry Maguire reference? 🙂 Anyway, to continue on from last week's post, Doug – who had presented the original challenge – went on to suggest that I give it the same treatment as Spiro. Basically to implement a jig to display the guilloche pattern dynamically as you input the various options. I understand the difficulty in understanding the nature of the geometry being created in the previous version… the fact that I'd named the original variables…
-
Here's a fun one to finish up the week. And no, it isn't a belated April Fool's gag. 😉 I should probably say right away that you won't be printing money after reading this blog post, but you might know more about some of the security measures used by those who do. A couple of weeks ago, I received an email from Doug Bell at PaperMoneyWorld.net: I have tried your Spiro for AutoCAD and I enjoy it very much. I would like to challenge you to another function I would like to see that is related to the spirograph. I'd…