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
New Sketch
By
Abhima Mohan
Run
c1=circle(r=100,fill="#fc6900") flower=c1| scale(0.3) s1=flower| translate (x=120,y=0) | repeat(20,rotate (20)) s2=s1 | repeat (2,scale(0.8)|rotate(10)) s3=s2| repeat(4,scale(0.9)| rotate (10)) s4=circle (r=100,fill="white")| repeat (10,rotate(10)) s5=circle(r=150,fill="yellow")| repeat(10,rotate(10)) s6=circle (r=130,fill="#0019fa")| repeat(10,rotate (10)) s7=circle (r=180,fill="purple")| repeat(10,rotate (10)) s8=circle (r=80,fill="red")| repeat (10,rotate (10)) s9=circle (r=25,fill="brown")|repeat(10,rotate(10)) s10=ellipse(w=10,h=200,fill="red") | repeat(6,rotate(30)) s11=ellipse(w=10,h=300,fill="orange") | repeat(12,rotate(15)) def square(color, side): return rectangle(w=side, h=side, fill=color, stroke='none') br1=square(side=135,color='#fce300') | repeat(15, rotate(15)) br2=square(side=151.5,color='red') | rotate(22.5)|repeat(3, rotate(15)) br3=square(side=151.5,color='#fa00ab') | rotate(67.5)|repeat(3, rotate(15)) br4=square(side=170,color='#00d9fa') | rotate(30)|repeat(2, rotate(15)) br5=square(side=170,color='white') | rotate(30)|repeat(10, rotate(15)) br6=square(side=190,color='white') | rotate(37.5)|repeat(1, rotate(15)) br7=square(side=190,color='#279145') | rotate(37.5)|repeat(10, rotate(15)) show(s3,s6,s4,s8,flower,s9,br7,br6,br5,br4,br3,br2,br1|scale(0.5))
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login