draw schematic

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
ragnar_123
Forum Newbie
Posts: 2
Joined: Sun Jul 23, 2006 11:20 am

draw schematic

Post by ragnar_123 »

is it possible to use phpgd to draw electronic schematic's ?

i am creating a led resistance calculator...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

why wouldn't it?
ragnar_123
Forum Newbie
Posts: 2
Joined: Sun Jul 23, 2006 11:20 am

Post by ragnar_123 »

thanks for a fast reply

but i am really new to this stuff.. could you explain how i do make it, or where i can learn it ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There are several potential ways of making them. The two that come to mind quickest are by using existing images of the smaller structures, such as logic gates and the various components, to create a composite image. The second is by storing the information needed to draw them using GD itself -- the lines, arcs and other shapes. I believe onion2k's site, PHPGD.com has examples of creating composites; I know he has examples of drawing various shapes.
Post Reply