Point Pedro Design

point pedro screenshot

view full size screenshot


Really need to sleep but wtf. My dad gave me his Frequent Flyer Miles in exchange for a website, for his friend Sarvi. ‘Bout the right rate, actually a little good. I haven’t done it till yet, but just started. Doing a site invariably consists of doing fuck-all for a month and then going on a 2-day binge. The client will probably want to change it completely so I’m including screenshots as I like it. It’s for a Point Pedro (North-East) economic researcher and his papers. I used some Tamil kolams/rangoli as iconic and border elements, and he wanted a map of Sri Lanka. Getting CSS to simulate layers was a little tricky. The kolams are a really cool art form, I’d like to see more of them. This is going to be of Zero interest to anyone except the people at Vesses. I think the xHTML actually validates, though the CSS doesn’t yet. The URL is www.pointpedro.org, but it’s not really live yet.

*Rich Typography (Fonts)*

Websafe fonts are like Georgia, Arial, Verdana, Lucida, etc. You can sorta count on 95% of users having those fonts installed. I like Georgia and Lucida but the rest are gross. To use another font on a site you have to use SIFR (Flash) like Prabath, or image replacement. I instinctively hate Flash cause it turns the Internet into TV – taking away right-clicking and copying and hacking ability. It was also just easier to use…

Cold Forged Headline Images: This is a WordPress plugin. You stick some fonts on the server and then use the options page to set them up. Can add shadow and transparency and stuff easily. Pretty straightforward.

I’m using the font Maiandra, which I found somewhere. I’m not especially attached to it, but I now feel like it may all be for naught. The client wants to use this weird blocky font. It’s his site, but I won’t link to it looking like that. The site is kinda simpled and relaxed, but that font just yells ugly.

*Layered CSS Images*

Basically, the map looks like it goes over the horizontal kolam, but it doesn’t. CSS isn’t really great at handling layers (like Photoshop). I’m using a fluid layout which expands and contracts on different sized screens. That means that I can’t just Photoshop it as I like it and make that one background, each layer has to be actually independent. Basically, the way it stacked the horizontal kolam would go over the map, which I though looked ugly. The way the CSS was set it rendered background images in the following order:

[body] – map
[header] – horizontal kolam

I couldn’t switch them without really fucking up the code. What I need is for the line to go under Sri Lanka, but I can’t do that. The image is actually shaped like a rectangle, not an island. Even if I put the line under the image it’ll look stupid. I could save the map as PNG, which supports transparency, but Internet Explore is 7 years old and can’t understand that. Could use a GIF, but it fucks up the shaddow. What I did was make a dummy image which looks like this:

cover image

Made a div and stuck the image in the bottom right corner, then moved the margins around till it covered up the overlap.

[body] – map
[header] – horizontal kolam
[cover] – cover image (position:absolute, so it doesn’t really matter where it stacks)

That basically masks the map so it looks like the kolam flows underneath it, though it doesn’t. A silly hack, but it works.

*Kolams*

I was looking for Tamil Art and I came across these kolams. They go outside, draw a bunch of dots, uh, here…

Kolam is an auspicious art of decorating courtyards and pooja rooms/prayer halls in South India drawn mainly by women and girls. Some women use rice flour to draw a kolam, which is the traditional medium to be used while others use sandstone or limestone powder.

Generally, a kolam is drawn with bare fingers using predetermined dots. The dots are either connected together to make a pattern or loops are drawn encircling the dots to complete a design. Nowadays there are perforated rolling tubes, perforated trays and stencils available to speed the process of making kolams. During festivals and weddings, rice flour paste is used instead of the flour. This tradition of decorating with kolams is passed on from generation to generation. (i-kolam.com)

They’re very mathematical and beautiful, I like them. I used some colorful ones to go next to each post title, as you can see above. Those little rangoli are nice. Using PhotoMatt’s random image script to keep the site looking kinda fresh. As long as the font doesn’t change I’ll be happy with it. Just need to start uploading content.

RSS feed | Trackback URI

1 Comment »

2005-07-22 09:54:28

That image hack is quite neat.

Flash is rather shitty, as you say, but the advantage of using sIFR over image replacement techniques are the reduction in file size (it’s a 15kb dowonload that gets cached), lesser number of server requests, and in this case, less processing to be done at the server end. At Nidahas I use a plain “Continue Reading” link to allow right-clicks, but that’s not an option you always have. Some time ago, I had the main navigation in sIFR too, which really sucked.

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

email indi AT indi.ca.


Recent Comments


Sarath Fonseka And Minority Politics (2)

indi: I don’t consider him a racist, but he certainly wouldn’t have been seen as a minority champion, until he became a candidate

St. Fallen: Why are we accepting that he’s racist based on that statement? Fonseka is not a politician. What set him apart was the fact that he spoke uninhibited, which landed him in jail. I think he was brave to make a statement that he...

General Sarath Fonseka Out Soon? (2)

Jilebi: Isn’t SF a US Permanant Resident?

shammi: Great news. I didn’t believe it would happen. The general’s lung condition must be bad, and Mahinda knows that the people wont forgive him if anything were to happen to SF, and it was thought that he was denied proper medical...

Sri Lanka Has One Million ‘Extra’ Women (24)

shammi: You missed an apostrophe in girlfriends. Do we add it before or after the “s” ?

Ainsley Samarajiwa (1924-2012) (23)

Giules: Agreed. My deepest sympathies, Indi.

Rumesh: Hey bro, a writing of great depth and value just as the man himself. Growing up as a child through immense suffering and pain, I remember how seeya (I used to call him ‘loku seeya’) and of course aachchi cared for us and...

Kevin: Indi, my deepest sympathies. Please convey my sympathies to Aunty Evelyn.

The iPlayboy App. For The Articles (1)

Tharindu: It was very interesting to see Playboy mags of 50s and 60s….

Night Watch (7)

LC Perera: My deepest sympathies to you and family, Indi.

Sarath Fonseka And Minority Politics

I started off not really liking General Sarath Fonseka, him being part of the aggressive war effort. I didn’t support the war (largely cause I thought it would fail), and I thought Gotabhaya Rajapaksa and Fonseka were gleefully stomping everything. Fonseka even came out and said “I strongly believe that this country belongs to the Sinhalese but there are minority communities and we treat them like our people,” in 2008 (National Post). Then when he ran for President in 2010, he won mainly in minority areas. Which shows you how things can change.

General Sarath Fonseka Out Soon?

General Sarath Fonseka was arrested on a bunch of trumped up charges, but mainly for daring to threaten Mahinda in a Presidential election. Despite his poor health, Fonseka was arrested in February 2010 and sentence to three years. Word on the street now, however, is that he’ll be released soon. Like any day now. President Mahinda Rajapaksa has told the Hindu so, so it looks like the General will be out soon. Without his title, a proper house or much shot at power, but out still.

The iPlayboy App. For The Articles

I’ve been testing a lot of apps. A very interesting one is iPlayboy, from Playboy magazine. It’s bad porn but a good magazine, especially since you can read issues from its cultural heyday – the Mad Men era of the 60s.

Reading Comics Again (Marvel Comics App)

I’m going to get back to blogging. I buy a shitload of stuff on my iPad. Not that I like spending money, and the exchange rate terrifies me, but it’s just so easy, and so good. For example, I’ve been reading comics again. Spiderman, and Carnage. Except this time Spiderman is friends with Iron Man, and Carnage has boobs. Amazing. I’ve realized, however, that Marvel never ends stories. They are all cliff-hangers. Sequels are the business model. They’re such assholes money machines.