step 1
big_circle_center is (150;100)
big_circle_radius is 100

angles are in radian
lines_angle is 1.3

default color is red

draw circle big_circle with center big_circle_center, radius big_circle_radius, color blue





step 2
first_line_origin_x is ( big_circle_center_x + big_circle_radius * cos ( lines_angle ) )
first_line_origin_y is ( big_circle_center_y + big_circle_radius * sin ( lines_angle ) )

first_line_end_x is ( big_circle_center_x - big_circle_radius * cos ( lines_angle ) )
first_line_end_y is ( big_circle_center_y - big_circle_radius * sin ( lines_angle ) )

draw line l1 from (first_line_origin_x;first_line_origin_y) to (first_line_end_x;first_line_end_y), color red

second_line_origin_x is ( big_circle_center_x - big_circle_radius * cos ( lines_angle ) )
second_line_origin_y is ( big_circle_center_y + big_circle_radius * sin ( lines_angle ) )

second_line_end_x is ( big_circle_center_x + big_circle_radius * cos ( lines_angle ) )
second_line_end_y is ( big_circle_center_y - big_circle_radius * sin ( lines_angle ) )

draw line l2 from second_line_origin to second_line_end, color red


step 3
distance_small_vertical_circles_from_center is (big_circle_radius / ( 1 + cos (lines_angle)))
distance_small_horizontal_circles_from_center is (big_circle_radius / ( 1 + cos ( ( pi / 2 ) - lines_angle)))

radius_small_vertical_circle is ( distance_small_vertical_circles_from_center * cos (lines_angle ) )
radius_small_horizontal_circle is ( distance_small_horizontal_circles_from_center * cos (( pi / 2 ) - lines_angle ) )

upper_small_circle_center_y is big_circle_center_y - distance_small_vertical_circles_from_center
lower_small_circle_center_y is big_circle_center_y + distance_small_vertical_circles_from_center
upper_small_circle_center_x is big_circle_center_x
lower_small_circle_center_x is big_circle_center_x

left_small_circle_center_x is big_circle_center_x - distance_small_horizontal_circles_from_center
right_small_circle_center_x is big_circle_center_x + distance_small_horizontal_circles_from_center
left_small_circle_center_y is big_circle_center_y
right_small_circle_center_y is big_circle_center_y

draw circle left_small_circle with radius radius_small_horizontal_circle, center left_small_circle_center, color green

draw circle right_small_circle with radius radius_small_horizontal_circle, center right_small_circle_center, color green

draw circle upper_small_circle with radius radius_small_vertical_circle, center upper_small_circle_center, color green

draw circle lower_small_circle with radius radius_small_vertical_circle, center lower_small_circle_center, color green