Graphics system
-
Over the weekend I had some more fun with the ray-tracing application I'm writing for my BerkeleyX homework. This time, though, I ended up using AutoCAD to do some debugging (which was an interesting twist). The big problem with debugging an app such as a ray-tracer is that it's hard to picture a complex 3D […]
-
As mentioned in this previous post – in-between bouts of preparation for AU2013 and my other work responsibilities – I've been spending time following an edX class on computer graphics. It's been really beneficial: I've shored up some of the basics I'd missed out on studying formally at university and it was a great continuation […]
-
It seems like I'm working on a number of things that I can't talk about, at the moment, which – while the work itself is extremely stimulating – can get a little frustrating. Over my 7+ years of blogging, it seems I've developed a visceral need to share what I'm working on (I wonder if […]
-
After my initial fooling around with combining the Leap Motion JavaScript library with Paper.js – and some gentle prompting from Kerry Brown – I started looking at how it might be possible to integrate Leap Motion support into the Meta Balls and Voronoi samples from the Paper.js website. These are both somewhat more complex samples, […]
-
Today marks the public release of the Leap Motion controller: people who pre-ordered devices will start to receive them today, so it seemed a good time to post something related to it. Last week I came across a really interesting JavaScript library called Paper.js. According to its website, it's "an open source vector graphics scripting […]
-
In case you missed it, last week Scott Sheppard announced the availability of a new version of DesignScript on Autodesk Labs. This release unveils DesignScript Studio which brings a visual programming environment to the DesignScript language. People who are familiar with Rhino Grasshopper or SoftImage's ICE will be aware of the benefits of working with […]
-
After having some fun writing our first jig inside AutoCAD, last week, and calling it either from an HTML page or an AutoCAD command defined in a .js file, in today's post we're going to see how we can use AutoCAD's .NET API to extend its new JavaScript layer. We're going to take a concrete […]
-
Just to complement yesterday's post showing how to define a simple jig using JavaScript, here's the same code from a separate .js file: var doc = Acad.Application.activedocument; var center = new Acad.Point3d(0, 0, 0); var radius = 0; var trId; function pointToString(pt) { var ret = pt.x.toString() + "," + pt.y.toString() […]
-
After introducing the new JavaScript API as one of the new features in AutoCAD 2014, in the last post we looked at a simple command defined using JavaScript. In this post, we're going to implement a simple, palette-based UI inside AutoCAD using HTML5 and JavaScript. Let's start by looking at the HTML code (with the […]
-
OK, here goes: my first (public) attempt at integrating the brand new Kinect Fusion functionality – made available this week in v1.7 of Microsoft's Kinect for Windows SDK – into AutoCAD. There are still a few quirks, so I dare say I'll be posting an update in due course. As mentioned in the last post, […]