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
pookolam draft2
By
Sahaja
Run
skin= color(252, 215, 162) #head head = ellipse(x=0,y=65,w=50,h=60,fill=skin,stroke='none') #neck neck = rectangle(x=0,y=35,w=20,h=15,fill=skin,stroke='none') #right hand h1 = line(x1=-25,y1=25,x2=-75,y2=75,stroke_width=10,stroke=skin) h2 = line(x1=-73,y1=73,x2=0,y2=135,stroke_width=10,stroke=skin) hand1 = h1+h2 #left hand h3 = line(x1=30,y1=30,x2=50,y2=-75,stroke_width=10,stroke=skin) #skirt c1 = line(x1=0,y1=0,x2=-100,y2=-100,stroke_width=10,stroke='white') c2 = circle(x=-100,y=-100,r=5,fill='orange',stroke='none') c3 =circle(x=-50,y=-50,r=5,fill='orange',stroke='none') s = c1+c2+c3 skirt = s|repeat(90,rotate(1)) #body body = rectangle(h=60,w=60,fill='white',stroke='none') #background r=rectangle(w=300,h=300,fill='white') f=color(r=255,g=0,b=100,a=0.25) c = circle(x=50,r=150,fill=f,stroke='none')|repeat(8,rotate(45)) a = color(200,0,255) b = color(255,200,0) e1 = ellipse(x=100,y=0,w=50,h=25,fill=a)|repeat(15,rotate(30)) e2 = ellipse(x=100,y=0,w=50,h=25,fill=b)|rotate(15)|repeat(15,rotate(30)) show(r+c+e1+e2) #combine shape = h3+hand1+head+neck+body+skirt|scale(0.5) show(shape)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login