Question: Task 1 : Building a House in Rainfall i . Draw a house with a raindrop using the base primitives: points, lines, or triangles. You
Task : Building a House in Rainfall
i Draw a house with a raindrop using the base primitives: points, lines, or
triangles. You can use ONLY GLPONTS, GLLNES, or
GLTRIANGLES for designing this house. A diagram has been provided as
an example. You can modify the house design to your liking.
ii It has been raining unwantedly for the last few days, so let's control its
direction by designing a key that will change the direction of the rain when
clicked slightly bending the rainfall Design this functionality such that the
left arrow will gradually bend the rain to the left and the right arrow will
gradually bend the rain to the right.
iii. Formulate two more keysassign whatever key you like; pressing one will
gradually change the skin colour from dark to light simulating night to day,
and the other will change it from light to dark simulating day to night. You
must also consider the rain and the house visibility in different background
colours.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
