How to write PHP Algorithms? we
{
Border-radius: 62px;/* All Corners use rounded corners with a radius of 5 px. This attribute is a standard attribute of CSS3 */
-Moz-border-radius: 62px;/* private attribute of Mozilla browser */
-Webkit-border-radius: 62px;/* Private attributes of the Webkit browser */
Background: #000;
Width: 62px; height: 62px;
Border-radius: 62px 62px 62px;/* The four radius values are the upper left corner, the upper right corner, the lower right corner, and the lower left corner */
Margin-left: 15px; margin-top: 15px; float: left; color: # FFF;
Color: # FFF;
}
Reply to discussion (solution)
Why are you not clear?
Html5?
If you want to achieve this effect
Use html5 canvas for better implementation
Does not understand... Silent Tears
Why are you not clear?
. We {border-radius: 62px;/* All Corners use rounded corners with a radius of 5 px. This attribute is the standard attribute of CSS3 */-moz-border-radius: 62px; /* Mozilla's private properties */-webkit-border-radius: 62px;/* Webkit's private properties */background: #000; width: 62px; height: 62px; border-radius: 62px 62px 62px;/* The four radius values are top left, top right, bottom right, and bottom right */margin-left: 15px; margin-top: 15px; float: left; color: # FFF ;}
Why are you not clear?
. We {border-radius: 62px;/* All Corners use rounded corners with a radius of 5 px. This attribute is the standard attribute of CSS3 */-moz-border-radius: 62px; /* Mozilla's private properties */-webkit-border-radius: 62px;/* Webkit's private properties */background: #000; width: 62px; height: 62px; border-radius: 62px 62px 62px;/* The four radius values are top left, top right, bottom right, and bottom right */margin-left: 15px; margin-top: 15px; float: left; color: # FFF ;}
I am not drawing a circle now. I want to make it like that... Use algorithms .. How to draw... 1. it is too troublesome to maintain each painting at that time.
Locate the position of each dot in the graph
$ A = rand (0, 2 * M_PI); // polar angle $ r = rand (0, $ R ); // polar distance $ x = $ ox + $ r * cos ($ a); $ y = $ oy + $ r * sin ($ );
To ensure that the dots do not overlap, you need to calculate the distance between two points separately:
Sqrt (pow ($ x1-$ x2), 2) + pow ($ y1-$ y2), 2)/2 <= dot radius
How does the data about the circle size and position come from? This is the key point.
Locate the position of each dot in the graph
$ A = rand (0, 2 * M_PI); // polar angle $ r = rand (0, $ R ); // polar distance $ x = $ ox + $ r * cos ($ a); $ y = $ oy + $ r * sin ($ );
To ensure that the dots do not overlap, you need to calculate the distance between two points separately:
Sqrt (pow ($ x1-$ x2), 2) + pow ($ y1-$ y2), 2)/2 <= dot radius
You cannot understand .. Could you help me write my results?