Foldinator 2 Build 3

Development of Foldinator2 continues. You can see the third prototype here:

http://zingman.com/foldinator2/foldinator2.html

Earlier prototypes is archived here:

http://zingman.com/foldinator2/old_versions/foldinator2_build02/
foldinator2.html

http://zingman.com/foldinator2/old_versions/foldinator2_build01/
foldinator2.html

The main feature for this time around is that I am now generating the paper procedurally using the drawing API. This is core to the whole application, and everything going forward will be built on more sophisticated instructions to the drawing algorithm. The paper is initialized only after the user loads a model. The paper gets its initial state (white or colored side up) from the OrigamiXML for the model. I’ve defined a set of constants for the various lines weights and colors that the rendering will need. For the next build I am going to set the paper’s initial rotation as well.

I’ve also begun putting in controls to toggle the enabled states of the various buttons and to allow the user to switch between View and Edit modes. This will be more fully fleshed out in the next build.

Since it is still fairly early in the development cycle, even simple features require a fair amount of new behind-the-scenes structure to be built. For this build I extended the event framework to handle callback events. I use this in the app initialization sequence when loading the list of OrigamiXML files, and when a file is loaded to trigger the Paper initialization. I also created a class to hold application constants outside of the drawing API styles. These include definitions for steps, actions, folds and their properties and parameters. This will come into play as the folding code develops.

Everybody Knows a Turkey

Birds are the new bugs in origami in that making sculptural, realistic birds is trendy these days. Robert Lang has done quite a few, and Seth Friedman’s Blue Bar Pigeon is a recent standout, and other folders as well. So here’s my contribution: a turkey.

I tackled the subject because I’ve not seen an origami turkey out there that I like. I’ve make several prototypes and I’m pretty happy with the outcome. Mine features a detailed head complete with wattle, a nice round plump body, a fan tail, realistic four-toed feet (better to make it stand), and some nice color change effects. The base is unique and interesting. The feet are developed using a method similar to Robert Lang’s Songbird I in Origami Design Secrets, with little bird bases embedded in two corners. The main base is something like a semi-sunken stretched bird base, except that it use 15 degree symmetry instead of the more typical 22.5. The proportion between the feet and the rest of the body is also based on a 15 degree ratio, which provides some nice symmetries.

Unfortunately the design folds beautifully from foil but getting it to look good from regular paper is a bit more difficult. My recent folding style has been trending towards thicker papers, but for this model that kind of thing is completely inappropriate. Too many layers in the legs for one thing. So I’m on the hunt for some good paper to use. I have a couple sheets of origamido paper, but neither is two-colored, and I don’t want to risk wasting it on an experimental design. The way the tail comes out of the body seems to turn out a bit different every time. Plus I’d have to wet fold it, and so I’d have to work that out too. So I ordered some foil-backed washi from Nicholas Terry’s website. It’s 35cm square and brown on one side and gold on the other, so with luck that will be perfect for this model. Check back in a few weeks to see how it turns out.

And while we’re at it, here are a couple pictures of my Eve, to go with Brian Chan’s Wall-E.

Californigami

I just got back from a great trip to San Francisco for the Pacific Coast Origami Conference. It was Jeannie’s idea for me to go, and I must say I was kind of ambivalent about the whole thing until I actually started the journey. But it was great and she deserves a big thanks. The conference went from Friday to Sunday and was a ton of fun. I lived in the Bay Area from the mid-90’s to the early 2000’s, but haven’t been back for a few years, so I also spent an extra day visiting old haunts and catching up with friends.

I must be getting older. Old people are famous for getting up early. It didn’t really bother me to have to get up at 4:30 to get to the airport in time. It felt like getting up for a normal day of work. A few random skipped meals didn’t bother me either, nor did the time zone change or lack of sleep. I cashed out the last of my frequent flier miles from the 90’s when I flew 100,000 miles a year and got an upgrade to business class. It was awesome! The seat was like a living room recliner chair. Since I’m well over 6 feet tall it made a big difference for me being able to nap on the plane.

I was flying alone and wanted everything to fit in my carry on including the models for my exhibit. For my exhibit I made a new batch of models from the designs I know well; sort of a greatest hits collection. These included my Elephant, Moose, Lizard, Turtle, Balloon, UFO, Luv Bug and Loon.

The Pacific Coast Origami Conference (PCOC) is smaller than the New York convention, but a bunch of friends showed up, including some NYC people like Jan and Tony, and the M.I.T. crowd including Brian, Jason, Aviv, Andrea and Tian, who are smart and geeky enough to be fun to hang out with, and others like Eric G, Jared, and Nathan. Brian makes lots of puns and Jason quotes Monty Python enthusiastically and inaccurately and sings contagiously. Andrea has moved to San Mateo and is working for Oracle and Aviv was out there for an interview. Nathan is done college and living in SF working as a school teacher. And so it goes.

I stayed at the hotel where the conference was, which made it pretty convenient. We had some really good Thai food in Japan Town after wandering around in an indecisive group looking for a place Robert Lang recommended, but knew neither the name or location. I bought some really nice origami paper and won a sheet of handmade origamido paper for participating in a folding challenge.

While I was there I folded (among other things) a new original model: an Eve robot to go with Brian’s Wall-E. I taught a class which was a hit. I’m working on a book and brought a whole stack of diagrams, hoping people would fold them and give me feedback. Everyone wanted to fold my Turtle since it was in the model menu, and so I taught that from memory while a few people folded from diagrams on the side.

I’d forgotten what a beautiful city SF is. So mellow and picturesque, especially compared to New York. Saturday morning I took an epic walk. I went from the hotel across town, down the crookedest block of Lombard Street, up to Coit Tower, and then down and around to the waterfront, Pier 39 and Fisherman’s Wharf. I had planned on riding the cable car back to the hotel, but when I got there the line was way too long and there was a bad guitarist playing guitar and singing badly to try and get tips from the people in queue. So I walked back up to the hotel.

Monday I rented a car and drove down 280 to Silicon Valley. I had lunch with my friend Wanda in Palo Alto. It was great to see her and catch up. It was a beautiful day and fun to see my old neighborhood. I went for a hike at a place called Windy Hill, which is just up at the top of the hills from there. The ride up is a crazy switchback road thru redwood forests. From the top you can look down and see Stanford, Moffett Field and the whole bay, and even San Francisco off in the distance. Turn around and you see the Pacific Ocean out over the hills to the west.

Ah, my heart is torn in two. I loved living there and love the land and the climate and the culture and people and everything about the place and would love to go back.

In other news, Lizzy got her cast off the day I left. She was born in California and fantasizes about going to college at Stanford as her destiny. I tell her get good grades. She’s with me in pining to move back. I suppose if the right opportunity comes up. But then there’s reality of there here and now.

The last thing the happened at work before I left was that I packed up my office. My whole project moved to a new floor. I flew the red eye overnight Monday and worked at home yesterday, so today I got in to see my new space. It’s much nicer than my old one. It’s a corner office with windows on three walls and a view of Hell’s Kitchen and Times Square. The movers didn’t take my chair (which was a nice one that I brought with me from Nick when I joined the platform group), and my colleagues told me the chairs all were gone and lost. But I went up there and another guy had appropriated it, and gave it back without me having to get too insistent. Another thing, my company just announced extra days off for everyone for the holidays, so it looks like I can take a good long xmas vacation this year.

Coming soon: pictures!

Origami Polyhedra Design

My friend John Montroll has a new book out, called Origami Polyhedra Design. It’s been in the works for quite a while and is a real tour de force. Congratulations John! This is his third book on origami polyhedra, and his first for the publisher A. K. Peters. (They publish a bunch of origami books including Robert’s ODS, and the Proceedings from the 3OSME Conference, which contains a paper by yours truly.) Unlike most origami polyhedra, which are modular, John’s are always from a single square sheet. This a challenging and rigorous style to fold in.

In a change from John’s usual style, this book is much thicker, almost 300 pages, and divided into three major sections. The first is a wealth of theory including general principles, design techniques and consideration, and methods for dividing into nths, for finding angles, folding various polygons, and other related topics. This is really good stuff. The second section of the book is devoted to a variety of models related to the Platonic Solids, including color-change and sunken variations. Totally awesome. The third section is Dipyramid models. This a particular specialty of John’s and there is a great variety of dipyramids with different proportions and number of facets, and a chapter of really cool dimpled (semi-sunken) dipyramids.

All in all the book is really quite amazing, and really takes origami polyhedra design to the next level. And while it is a real Magnum Opus, John has enough unpublished polyhedra to form the basis of anther book, so I hope this one does well and a sequel materializes.

John asked me to fold a few of the models pictured on the cover. I must say it’s very nice looking cover, with the model well arranged and photographed. John’s site is not yet updated to list the new book, and if you go to order it on Amazon there is no cover image yet. So I was taking some pictures of my models for the upcoming PCOC origami convention in San Francisco, and thought I’d share a shot of John’s book while I’m at it. (I know the lizard there doesn’t strictly fit with the theme, but it reminded me of an Escher print and I thought it looked cool.)

Origami Site Update

I’ve made a number of updates to my Origami Site. I’ve added new photos for my Moose, Elephant, Baluchitherium and Bears. I’ve also added a few new models including my War Elephant, Castle, and accompanying explorations, and added a new section for Origami Architecture. This is a substantial step forward for my origami site. I have a few models still for which I want to fold and photograph an exhibit-quality model, and beyond that breaking the list of models down to be browsable by category and year.

Enjoy!

Fall Groove

Well it’s more of the same over here. Nonstop busy. Work work work, making Jack a dull boy. My job situation with the clueless manager seems to have sorted itself out at least. The fall has come. Leaf raking season is upon us, although I expect I’ll still have to mow the lawn one more time. It’s getting darker and colder. We have to turn the heat on every night these days. Starting to get up before the sky is fully light. Ugh. And it’s no longer light or warm enough to go skating in the evening when I get home from work. So I’ve switched to using the Nordic Track indoors, which is not as much fun but I can listen to music while I’m doing it, so it gives me a chance to listen to the mixes from my record. Continuing to chip away at that, thank you very much.

I did some cool origami stuff. I made some “megafauna” models to donate to the American Museum of Natural History for their holiday tree. More on that soon. I’ll take some pictures tomorrow in the daylight. I’ve also started diagramming my Medieval Dragon. It starts with dividing the paper into ninths, which is something I always used to eyeball, but for the diagrams I worked out how to do it the legit mathematical way, which is pretty cool.

Jeannie and celebrated out Crytsal anniversary last week (I looked it up). It was a school night and so we did laundry and helped the kids study. Ah, married life after 15 years. We did meet for lunch in the city and go to a nice Thai place called Yum Yum. Afterwards we went to Toys’R’Us in Times Square and I bought her a lego dwarven catapult.

Denis and Sarah came to visit last weekend. We all had lots of fun. Carrie and Michelle always get on great and little Anna is walking already. Saturday Mary’s all came over and Jeannie’s parents too. Jeannie made a fantastic dinner for sixteen people. Chicken parmesan, eggplant parmesan and pasta. I was surprised to discover we had enough tables and chairs for everyone to eat once.

Fall Down

Well the fall weather has arrived. We’ve passed the equinox and turned into the dark side of the year. The sun is setting sooner; not many days left for rollerblading after work. Last night it got down into the forties and we had to turn on the heat in the house. Today it’s only up to the mid fifties. Definite jacket weather. I mowed the lawn for possibly the last time this season this afternoon.

I’ve been very busy, but have had some time for family and friends. The kids have been watching more Star Wars, and I discovered episodes I – III are tolerable when you watch them in half-hour chunks. Michelle has been learning Weird Al’s “The Saga Begins” on the Ukulele and actually doing a pretty good job.

Last weekend Martin and Kathleen and their baby boy Charlie came down for a visit. I was great to see them and get caught up. We went down to Long Island for a party for our friend Nick, which was great too, and included a wider circle of friends to catch up with.

Towards the end of the night, the kids were playing scooters in the front and Lizzy fell down and hurt her arm. It turned out she has a hairline fracture in her radius and had to get a cast. So she’s out of gymnastics and swimming for the next month, but otherwise OK, and in good spirits. Everyone at school signed her cast, which made her quite happy.

Another Site Upgrade

I’ve completed step two of my ongoing site upgrade. In this round I defined styles css files and added div tags to the pages with names classes according to the function of a block on the page. The main change you will see on pages in the site is that the body is a fixed width. The styles largely duplicate the style info in the pages. Going forward I can now change the style sheet definition and have the appearance of all the pages in a section change without having to go in and update each page. I’ve also refactored a few more blocks into php modules, notably the section menu for the origami pages. So things are getting more modular and dynamic, even if only one step at a time.

Other than that, things are pretty quiet these days. Continuing work on a bunch of projects, but nothing finished yet. It’s back to school time, so everyone at home is really focused and there’s a lot less free time. The weather has been really pleasant and mild this September. The kids have been getting into watching Star Wars the last week or two. Jeannie insisted we watch them in the order they were made, which was a good call. I still like the original trilogy from the 70’s but when we watched Phantom Menace it was just as bad I remembered. Afterward I had the song American Pie running thru my head and it took me a while to remember it was the basis of the Weird Al song The Saga Begins. I played that for the kids and now they are all getting into Weird Al too.

Foldinator 2 Build 2

Development of Foldinator2 continues. You can see the second prototype here:

http://zingman.com/foldinator2/foldinator2.html

Meanwhile the first prototype is archived here:

http://zingman.com/foldinator2/old_versions/foldinator2_build01/foldinator2.html

It still doesn’t fold paper, but it’s starting to do some interesting things. You can click on the “Load” button and see a list of models, encoded as OrigamiXML files. Select one and open it. You can see the UI update display the model name and author, and the text annotation for the first step. You can use the shuttle controls in the lower right to move forward and backward thru the steps, and jump to the beginning or end of the model.

A bunch of stuff is going on behind the scenes in support of this. I’ve implemented a file loader for the xml file that contains the list of models and their file names, as well as for the models themselves. I’ve create a hierarchy of classes to represent the data. The first of these is OrigamiModel, which contains metadata about the model, such as the title and author, and holds references to two other objects, OrigamiPaper and an ArrayCollection of steps. OrigamiPaper has properties for the papers proportions, color and starting orientation. The steps are of type OrigamiStep. This class contains properties for the steps action, annotation, and an ArrayCollection of creases. OrigamiCrease encapsulates the data to represent a crease, including properties such as the end coordinates, angle, parity swing, layers, etc. These last two classes will likely develop more properties and functionality as I build the folding engine.

I need to do a bit of bulletproofing around the initialization, and then it’s on to the main event, namely drawing and animating the folding paper. To begin with I’ll just be drawing a square procedurally and in accordance with the initial state specified in origamiPaper. Then I’ll be analyzing the geometry of the crease in the first step and breaking the square into appropriate polygons with a common edge, and rendering that. At first I’m going to concentrate on non-folding operations, namely Flip and Rotate the paper. Then it’s on to simple folds: Valley Fold, Mountain Fold, and Fold/Unfold. It’ll be a fair amount of work to get this far. Hopefully I’ll be able to apply this recursively for the second and subsequent steps, but more than likely there’ll be some gotcha.

New Song: Touch The Ceiling

I’ve been working on a new recording of a song called Touch The Ceiling. This is the last song for my current forthcoming album, whose working title is Face The Heat. Like the last number Making Miles, this one is a cover of sorts, a blast from my own past. Way back in the 1980’s I was in the prog rock group Infinigon. We did mainly covers by bands like Rush, Yes, Genesis, and ELP, but we aspired to write our own original songs.

Touch the Ceiling was one of the best. It was written by our drummer Mark Colicchia, crafted by contributions from the whole group. The song is a good expression of Mark’s philosophy as well as a really good song with a strong melody and groove, some interesting twists, an atmospheric middle section and a jamming ending. I recall contributing a few ideas to the arrangement.

I’m doing this new arrangement in collaboration with John Neumann, the original Infinigon bassist, who is now a fellow recording studio artist and the driving force behind Tea With Warriors. He’s playing the bass and guitar, singing the second parts, and contributing some cool synthesizer textures. Meanwhile on my side, I’m doing most of the keyboard parts, and this song involves more drum programming that usual, as there are a few different rhythms, a couple of drum breaks and a good handful of fills.

My friend Erik came by last night and I ran him though my mixes, and we worked out a strategy for bringing them over to his studio. The main thing is he doesn’t use SampleTank, which is my main onboard software synthesizer, so I’m going to have to take all my drums and keyboard tracks and render them out as audio. So I’ll be getting going on that as I finish this song.

Things have been hectic for me this week with work, the car and all, so it may be a couple weeks still until I have the rough mix up. Have to finish up the drums and the synth solo at the end, and drop in John’s parts. Meanwhile, you can enjoy Mark’s lyrics.

Touch The Ceiling
by Mark Colicchia

Light side of summer ready to roll vivid perfect day
Song playing over the radio with nothing to day
Land upon the lunar surface streets and I’m on my way
Going out to spend tomorrow’s half of next week’s pay

You gotta go with the feeling
Avoid disbelieving
If you can’t touch the ceiling
Reach as high as you can

Waiting for the weekend takes so long then it’s gone too soon
Young night lit by ancient stars and pie-graph moon
Strange invitation you go it alone and the evening seems to loom
Searchlight eyes meet a similar gaze from across the room

You gotta go with the feeling
The moment revealing
If you can’t touch the ceiling
Reach as high as you can

Work live for paper pagan reward it’s the modern way
Stress cynicism all from the game what a price to pay
Plan for tomorrow but don’t forget to enjoy today
Do what you know is right in your mind it’s the winning play

Making the scene what does it mean what does it say?
Too many flaws plaguing the laws that we obey
Don’t let the sights of golden lights lead you astray
Life can be hard sometimes the cards fall where they may

And go with the feeling
Avoid disbelieving
If you can’t touch the ceiling
Reach as high as you can