Explore
Courses
Batches
Sketches
Statistics
Code a Pookkalam
Jobs
Devsprint
People
Course Creation
Create a Course
Guidelines
Resources
Support
Blogs
My Profile
About Us
Login
Sketches
0
Afreen Poly
By
Afreen Poly
Run
c1 = circle(r=150,fill='#006D5B') c2 = circle(r=140,fill='#D10068',stroke='red') def s(color, side): return rectangle(w=side, h=side, fill=color, stroke='none') yelp=s(side=200,color='#FFFF00') | repeat(16, rotate(22.5)) bluep=s(side=170,color='#6500B0') | repeat(16, rotate(22.5)) yelp2=s(side=140,color='#f5bd1f') | repeat(16, rotate(22.5)) whi=s(side=120,color='#FFC0CB') | repeat(16, rotate(22.5)) c3 = circle(r=70,fill='#C576F6') c4 = circle(r=60,fill='#FFFF2E') redp=s(side=83,color='#AE002B') | rotate(10)|repeat(8, rotate(45)) viop=s(side=80,color='#7500D1') | rotate(80)|repeat(8, rotate(45)) whi2=s(side=60,color='#FFFFFF') | rotate(55)|repeat(4, rotate(90)) ora=s(side=60,color='#FF4B2E') | rotate(12)| repeat(4, rotate(90)) c5 = circle(r=20,fill='#7500D1') c6= circle(r=20,fill="#354d1d") c7 = circle(r=15,fill="#298f24") c8= circle(r=10,fill="#8f2462") c9 = circle(r=5,fill="#fc0830") show(c1,c2,yelp,bluep,yelp2,whi,c3,c4,redp,viop,whi2,ora,c5,c6,c7,c8,c9)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login