Topic: need javascript coding! Pages that link to <a href="https://ozoneasylum.com/backlink?for=31180" title="Pages that link to Topic: need javascript coding!" rel="nofollow" >Topic: need javascript coding!\

 
Author Thread
suresh01
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Jul 2009

IP logged posted posted 07-29-2009 15:17 Edit Quote

Hi friends,


I need know how make a image rounded with the help of Javascript. If anyone knows the script please let me know. I have given a link below that shows the sample of how i need the image.

zazzle.com/cr/design/pt-mug

Please help!!!!!!

Arthurio
Paranoid (IV) Inmate

From: cell 3736
Insane since: Jul 2003

IP logged posted posted 07-29-2009 16:27 Edit Quote

Not a simple problem.

The image in your example isn't 'rounded' it's wrapped around a 3D cylinder that is at a slight angle to the viewer.

Doing this with pure javascript may be possible but not a very good idea.

You have 2 basic ways to approach this problem:
1) client side flash or java applet
2) js ajax + server side processing

I would prefer the 1. option and do it in flash. This way you could even rotate the 'cup' in real time.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 07-29-2009 16:58 Edit Quote

You know what I'm thinking ? Displacement map.

You can do that directly using SVG, and can fallback to Canvas or Flash or a server side process.

WebShaman
Lunatic (VI) Mad Scientist

From: The Happy Hunting Grounds...
Insane since: Mar 2001

IP logged posted posted 07-30-2009 01:43 Edit Quote

Oooo....Poi be thinking outside of the box!

I like it!

WebShaman | The keenest sorrow (and greatest truth) is to recognize ourselves as the sole cause of all our adversities.
- Sophocles

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 07-30-2009 22:45 Edit Quote

I apologize up front if this is not the case but...is this some crafty spam?

I don't see anything in the link posted that is "rounded"

Later,

C:\

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 07-31-2009 08:12 Edit Quote

CPrompt: To be honest I thought the same. But not the initial post was more poorly worded and uneducated ( javascript coding, images, in a server side forum ?? ) than spamy ( no actual link, no keywords bombing, ... ).

But a quick search undoubtly flags this as spam. Btw it's interesting to read the answers given to that same post on other forums.






(Edited by poi on 07-31-2009 08:13)

WebShaman
Lunatic (VI) Mad Scientist

From: The Happy Hunting Grounds...
Insane since: Mar 2001

IP logged posted posted 07-31-2009 09:24 Edit Quote

Ok, moving this one to the Basement *sigh*

WebShaman | The keenest sorrow (and greatest truth) is to recognize ourselves as the sole cause of all our adversities.
- Sophocles



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu