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
Random stuff with random Colours
By
Devjith P
Run
fill=color(r=random(50,225),g=random(50,225),b=random(50,225)) fill2=color(r=random(50,225),g=random(50,225),b=random(50,225),a=0.5) background_=rectangle(h=300,w=300,fill="white") r1=rectangle(h=290,w=290,stroke=fill,stroke_width=5) c1=circle(r=50,x=200,y=83,stroke=fill2,stroke_width=5) c2=circle(r=50,x=-50,y=200,stroke=fill2,stroke_width=5) c3=circle(r=50,x=-200,y=-63,stroke=fill2,stroke_width=5) c4=circle(r=50,x=50,y=-200,stroke=fill2,stroke_width=5) x=0.9 s1=r1|repeat(36,(rotate(7)|scale(x))) s2=c1|repeat(36,(rotate(5)|scale(x))) s3=c2|repeat(36,(rotate(5)|scale(x))) s4=c3|repeat(36,(rotate(5)|scale(x))) s5=c4|repeat(36,(rotate(5)|scale(x))) show(background_,s1,s2,s3,s4,s5)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login