Wednesday, January 14, 2009

Quartz Composer Whiteboard Application

12 January 2009

As soon as we reached the office, Leonard showed us a very neat Mac trick. And no, I'm not going to reveal the trick here. On the way out to have breakfast, we were approached by Daryl from Corporate Comms to write an article for IHPC Newsletter: "Powering Discoveries!". We were asked to write about our experiences here in IHPC and the project which we are working on. We need to submit a first draft by the 22 January 2009. I guess we'll have to start drafting the article soon.

After lunch, I helped Leonard and You Hock with their testing before heading back to fixing the Cocoa application's toggle function. However, the result was still fruitless at the end of the day.


13 January 2009

Helped out with the testings of Ryan's, Leonard's and You Hock's features: "Drag and draw" & "Creating new pen". We found some problems when tested. The drawing for the pen did not follow the laser and the pen was unable to drag out of the palette after it is being created. We managed to fix the drawing part before lunch with the help of Ming Hong.

After lunch, we managed to fix the dragging out of palette function before showing Kevin our progress. Here's how our application currently looks like:


Kevin gave us comments on how we could improve the application and what are the plans after that. I've also told him about my problem with the Cocoa and he said that Ming Hong would help me on that. After the discussion, You Hock went for his video shoot as he missed the video shoot last week.

Once You Hock was done with with his video shoot, we continued working on the application. Ryan and You Hock worked on touching up the version we showed Kevin to create a working demo-able version while Leonard and I designed the new pens, eraser and palette in Photoshop Elements.

I managed to finish designing the eraser by the end of the day.


14 January 2009

I discussed with Leonard on how we should design the new pens when we reached the office. We then agreed to switch the design of the pens and eraser. So I used the design I completed yesterday and used it as the pen while Leonard designed the new eraser. We managed to finish designing the pens before lunch and exported them to ".gif" format. However the images are distorted.


After lunch, I edited the pen images with Leonard's help. Here's a before and after picture of the pens:



As soon as we were done, we showed the images to Kevin and Ming Hong on the large display.


Ming Hong commented that we should smoothen the edges of the images. I guess we'll smoothen the edges of the image tomorrow.


15 January 2009

After the usual breakfast routine with Bernard, I helped Ryan with making the new palette slide in when the application is toggled while Leonard and You Hock worked on their task. Ryan and I managed to complete the patches for making the palette slide in before lunch. Here's how our patches to make the palette slide in looks like:


After lunch, we first tested the sliding palette with the mouse and it was successful. We then moved on to test the sliding palette with the laser, but the result was not as expected. Ryan and I seek help from Kevin and Ming Hong and we managed to solve the problem.

Ming Hong also commented that the image for the palette is too big and Leonard went to crop the palette image. After Leonard crop the image, we went to re-position the palette. After the re-positioning the palette, I helped You Hock check the positioning of the trash bin, eraser, colors and brush size and testing for the rest of the day.


16 January 2009

As soon as we got to the office You Hock and I discussed on what we had to do while Leonard starts on writing the article. You Hock and I decided that we should finish up the smaller features before making the major ones. We managed to change the image of the pen when dragged to the palette, disable the toggle function when a pen is being dragged or is drawing and disallowing the pen from changing size, color and mode when it is drawing before lunch.

We wanted to change the codes for the "Drag and Draw" function but were unsure on how to go about doing it as Ryan went for his NS medical check up. Luckily, he came back by noon and was able to help us on that.

Since Ryan is back, I went over to help Leonard with the article. We decided that we should refer to past articles on the newsletter so that we could get a brief idea on how we should go about writing it. Hence, we went the the receptionist to ask for the past newsletter issues. Here's a picture of the issues we received for reference:


After reading a few articles, we realized that what we had written was totally of a different caliber. So we spent the rest of the day researching on how to write an article.


Reflection for the week:

This week have been spent on making enhancement and changes to the "Whiteboard" application in Quartz Composer. In the process of enhancing the application, I realized that by improving the application's visuals, it would make others want to try the application - like how the desktop for Microsoft Windows 7 looks like a Mac. I would definitely keep this lesson in mind for my applications in the future.

On a side note, I found out a really cool "hidden" feature in Safari. In Safari, you could do this:


Cool huh? =P

No comments: