Steve Rodrigue
Steve Rodrigue

Reputation: 77

How to create a 3D effect with Raphael, in javascript?

I know that Raphael.js is a vector graphic javascript engine. However, I need to create cylinders in javascript and have text written on the round part of the cylinder. The text needs to follow the surface of the cylinder, which makes a 3D like effect.

Does anyone knows how to do this with Raphael? Otherwise, which other library should I use to achieve my goals?

Thanks in advance guys! Steve

Upvotes: 0

Views: 3354

Answers (1)

Neil
Neil

Reputation: 8121

The best 3d javascript library out there in my opinion is:

Three.js by mr doob

Head on over and look at the examples there and view the source code. If you do fancy getting in to three.js checkout the tutorials by aerotwist:

aerotwist tutorials

EDIT

Three.js also has a SVG Renderer I found this example on fiddle

Upvotes: 1

Related Questions