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
Sketch
By
Adithya Praveen
Run
bg = rectangle(w=300,h=300,fill='white') show(bg) c=circle(r=150,fill='black') show(c) for i in range(10): # shape1 = rectangle(w=180, h=180,fill='white',stroke='none') | repeat(10, rotate(10)) shape2 = rectangle(w=190, h=190,fill='yellow',stroke='none') | repeat(10, rotate(10)) shape3 = rectangle(w=200, h=200,fill='orange',stroke='none') | repeat(10, rotate(10)) shape4 = rectangle(w=210, h=210,fill='red') | repeat(10, rotate(10)) show(shape4+shape3+shape2) c = circle(r=130,fill='green') c1 = circle(r=125,fill='pink') show(c+c1) el = ellipse(w=240,h=100,fill='red') | repeat(6, rotate(30)) show(el) for i in range(2): r1 = rectangle(w=140,h=140,fill='white') r2 = rectangle(w=150,h=150,fill='yellow') r3 = rectangle(w=160,h=160,fill='orange') r4 = rectangle(w=170,h=170,fill='brown') rec_copy = r4+r3+r2+r1 | repeat(4,rotate(30)) show(rec_copy+r4+r3+r2+r1) # # picture # r5 = rectangle(x=0,y=52,w=140,h=38,fill='#fae6af') # show(r5) # c2 = circle(x=0, y=50, r=15,fill='yellow',stroke='none') # c3 = circle(x=0, y=50, r=20,fill='orange',stroke='none') # show(c3+c2) # r6 = rectangle(x=0,y=14,w=140,h=50,fill='blue') # show(r6) c5 = circle(x=50, y=0, r=25,fill='purple') | repeat(36, rotate(10)) show(c5)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login