notion parallax

what happens when ideas slide past each other
  • Home
  • buy me books
  • i look at this
  • i read this
  • tutorials

Posts Tagged ‘GC’

14 Jan 2010

latest GC tutorials

Making a reactive component and Programming a ScribbleI noticed that the version of the GC tutorials on the tutorials page isn’t very up to date

Here’s the latest, all in one special version
all in one - onesie

There are some bits and bobs that need updating (all the icons have changed, thanks guys) but you’ll get the gist of things…

14 January, 2010 at 1:49 by ben

Tags: GC
Posted in Uncategorized | No Comments »

4 Jan 2010

it’s real, so strange!

Dubai metro station entrance
When I worked at Aedas (straight after my degree) the main project I was assigned to was the dubai metro stations. Photos of the finished stations are startign to pop up now that it’s open, and it is very odd to see the real thing. It looks a lot like it did in microstation while I was working on it!

I did a lot of work on the station entrances in GC. They are the little stations that look a bit like insects having sex.
Dubai metro station

4 January, 2010 at 10:56 by ben

Tags: architecture, GC
Posted in Uncategorized | No Comments »

2 Nov 2009

SG autumn Event: Open Platform at TU Delft

sg poster There is going to be a Smart geometry workshop at the end of this month at TU Delft.
I’m going to be there as a tutor (I think) and it looks like it is going to be really interesting.
See below for the full details, but if you want to go, apply soon as it is going to be popular!


The SmartGeometry Group is now accepting applications for…

Open Platform

A 3-day Workshop at TU Delft University 27th-29th November

This event will complement SmartGeometry’s annual workshop and conference event, bringing many of SmartGeometry’s experienced tutors to guide participants in exploring computational design through a variety of technologies.

Click here to view the Event Poster

The event will run in two parallel streams: one stream will feature training in Generative Components (GC) and Grasshopper, while the second will be a workshop where participants have the opportunity to propose and work on individual design projects using a variety of software platforms. Both streams will offer participants close interaction with tutors from practices and universities known for their accomplishments in computational design and analysis, and complex geometry. Additionally, the stream featuring GC and Grasshopper will feature tutors from the companies behind each platform, Bentley and McNeel. Those working on individual projects will need to be proficient in their chosen platform but can draw on tutor’s skills in various technologies — for instance Processing, C++/OpenGL, RhinoScript — as well as tutors’ expertise in complex problems of geometry, structure, algorithms, and analysis. Participants will be able to change streams as it suits the development of their work.

In the evenings, participants can attend presentations demonstrating the latest projects and research in computational architecture and engineering. Read the rest of this entry »

2 November, 2009 at 19:59 by ben

Tags: GC, geek
Posted in Uncategorized | No Comments »

23 May 2009

Smart Geometry 2009 talk – so, um, it’s me

The videos from the Smart Geometry conference and alumni day are finally up. Look here for them, you might need to log in, which is a drag, but just make up a name

There is the chance to see really interesting talks from the likes of Josh Mason, Judit Kimpian & Jeroen Coenders (spooky J3 thing there) talking about using a model of generic towers to get very quick design space exploration, and a talk from Jim McBride of Makani Power Inc.

You also get the pleasure of seeing me presenting the visualising complexity group, there was some good stuff in there and I fear that my rabbit in the headlights/paralysing hangover stylings weren’t doing them justice.

It’ll be good to see how these projects pan out in the end, if you are one of the people I presented then let me know how it’s going in the comments.

This doesn’t work properly in any browser other than IE (as bentley haven’t noticed that it’s now a minority browser amongst the geeky types that will be watching these videos) so the slides won’t update automatically, might be time to brush the dust off that old IE for a few minutes.

23 May, 2009 at 13:11 by ben

Tags: architecture, GC, geek, video
Posted in Uncategorized | No Comments »

16 May 2009

centroid of points on the surface of a sphere

I was sat in the airport after SG, trying to figure out the logistics of the tutor group meeting up. Where would be the most logical place to go?

As I’d been thinking about geeky problems for the preceding week, my brain was fixed into that way of thinking, and started on trying to figure out the centroid of people’s locations on the globe. This one seemed easy until I tried to think it through and realised that there was a big stick in the spokes.

The seam!

Put more generally, assume that you have some points distributed randomly on the surface of a sphere, how do you find find the centroid of them?

Put into a (vaguely) real world example, my friends live all over the world, assuming that we all have amphibious planes as our only means of transport, where is the most convenient place for us all to meet up? (assuming that we also have a thunderbirds style floating island, and air space rights to everywhere etc.)

The obvious answer is that we map it back onto a plane, and then solve it on the plane, but this only works if people are clustered in one place.

As I’m British, I’ve got a British map with UK in the centre. If I lived in Alaska (hi Sarah P), and my friend lives in Vladivostock, (simple case with only 2 points) I can draw a line between us and we should meet at the midpoint of this line. simple.

No, that point is in Norway somewhere, which is clearly wrong as the centroid of our positions is somewhere in the Aleutian isles or in the Bearing straights. So what’s the solution?

I found this PDF outining a solution, but it doesn’t make much sense, and it’s both a bit mathematical, and a bit clunky. Is there an elegant solution out there?

I’ve come up with a few possible solutions, I’d be interested to see what other people think.

solution 1 – pair wise great circle solving

With a given set of points on a sphere, pick 2, draw two complementary arcs through these points with the centre of the sphere as the centre of the circle.

Pick the shorter of the two arcs and draw a point at it’s midpoint.

remove the two initial points from the working set, and replace it with the new one

repeat until the centroid is found.

As I have no other way of testing this method, i can’t be sure if it’s accuarate. Does anyone have any insight?

Here’s some GC script that produces a centroid point.

The only condition is that the points must lie on the surface of the a sphere.

transaction script "make a centroid"
{
   Point workingSet = point01; //make the random points be our set of points to test

   Point finalPt = new Point("CentroidPt");// get a point ready to give to the world
   while (workingSet.Count >= 2) //once we are down to two at the top, one will come out of the bottom
   {
      int indexEnum = Series(0,workingSet.Count-1,1);     //
      int indexOne = indexEnum[Random(workingSet.Count)]; //this section makes sure we have picked
      indexEnum = RemoveAt(indexEnum,indexOne);           //two unique points from the set
      int indexTwo = indexEnum[Random(workingSet.Count)]; //

      //set a workign plane based on those points
      Plane tempPlane = new Plane().ByOriginXYPoints(baseCS, workingSet[indexOne], workingSet[indexTwo]);

      //draw two arcs through the points with the centre as the centre of the earth
      double theAng = Angle(baseCS,workingSet[indexOne], workingSet[indexTwo]);
      Arc tempArc1 = new Arc();
      tempArc1.ByCenterRadiusSweepAngle(baseCS, tempPlane, 10, 0, theAng);
      Arc tempArc2 = new Arc();
      tempArc2.ByCenterRadiusSweepAngle(baseCS, tempPlane, 10, theAng, 360-theAng);

      //test to see which arc is shortest
      Point childPt = new Point();
      if (tempArc1.Length

I can’t see any problems with this except that it’s not going to be very fast, and it relies heavily on geometry libraries. There must be a faster way, although I think this is likely to be the most easily understood solution.

solution 2 -  mean vector

I think this will work, but I’m not sure, there are some indications from a GC model that there is something fish about it, and I can think of situations where it might fail.

From the centre of the earth to each person is a vector (x,y,z) which will have a length of 1 if we assume that the earth has a radius of 1.

if we round up all the vectors and average their x,y and z components then we’ll get a vector that has the right direction.

If we then unitise it so that it’s length is 1 again, it’s endpoint will be the meeting place.

solution 3 – manipulation of lat and long

I’m still working on this, but there must be a way to give back both values for the average latitude, but I’m not sure how at the moment. I can make it work fine for 2 points on a circle, but 3 goes wrong.

There will be updates to this post over the next week. hopefully a solution, and definitely lots more diagrams and gct sketches.

if you’ve got anything to pitch in, please comment, if i don’t solve this soon, it may lead to divorce!

16 May, 2009 at 8:21 by ben

Tags: GC, geek
Posted in Uncategorized | 10 Comments »

« Older Entries
Newer Entries »
  • Recent Posts

    • Union Square
    • Nature by numbers
    • architects’ pay?
    • UK emissions attributable to the built environment?
    • Teaching texture mapping
  • Recent Comments

    • Steve: This is something I get really animated about as well, and all I can say is that I’m thankful I’m...
    • Steve: No you really shouldn’t go to Dubai… it sucks balls.
    • ben: http://www.notionparallax.co.u k/blog/index.php/2009/09/archi tecture-as-instrument-talk/ It turns out that the...
    • Ben: Blogging while at work? Of course I’m not reading your blog while at work…
    • Tanagram: 40! Are you nuts! The 40 is way to dramatic. It’s too small. All that mess and effort. It just wastes...
  • Tags

    advertising Aedas architecture australia bikes books climbing coffee colaberative cool links diploma economics eco stuff ecotect enhancement flying food future Gardening GC geek hardware house keeping interaction Judit late night life major study masters music processing rmit scooter smart geometry surfing teaching thinking toys trips turning japanese tutorials Uncategorized vector illustration video writing
notion parallax is powered by WordPress
Theme Design by Generic Designer

Entries (RSS) and Comments (RSS)