Is there a command to draw a circle in javascript or I have to use only a circle picture?
Also is there a way to arrange many circles randomly in a browser page ,using html/javascript?
kararu
0
Junior Poster in Training
Recommended Answers
Jump to PostYou will need to use SVG to do this which is not widely supported yet. So basically you will need to use images.
Jump to PostHi,
Use a transparent background circle image in gif or png format and create many image instance with javascript assigned to the smae source. You can even arrange their radius with using a single image given it has the resolution of the largest circle to avoid aliasing and pixelation …
All 6 Replies
stymiee
111
He's No Good To Me Dead
Team Colleague
Lord Soth
4
Posting Whiz in Training
FreeGroup
0
Newbie Poster
Leaping Fish
0
Newbie Poster
fxm
23
Posting Pro
rajarajan2017
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.