Template:W2263-Exercises

From Coder Merlin
Revision as of 08:29, 3 October 2019 by Chukwuemeka-tinashe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
ExercisesExercisesIcon.png
  • Create a new project, W2263, using W2262 as a starting point.
  • Fill the background (sky) with a gradient.
  • Fill all other objects with various, gradient colors. You must use a total of at least eight different colors (excluding black and white) and at least four different gradients.
  • Add an animated sun which rises in an arc above the eastern horizon in the morning and sets below the western horizon in the evening, moving across nearly the entire canvas. The sun must initially appear in reddish hues, becoming a bright yellow at its zenith, and again in reddish hues as it sets. The change must be gradual throughout the "day".
  • BONUS: Alter the color of the buildings in accordance with the time of day

Getting started:

john-williams@codermerlin:~/Projects$ git clone https://github.com/TheCoderMerlin/IgisShellD W2263

john-williams@codermerlin:~/Projects$ cd W2263/Sources/IgisShellD

john-williams@codermerlin:~/Projects$ cp ../../../W2262/Sources/IgisShellD/main.swift .

To compile:

john-williams@codermerlin:~/Projects/W2263$ ./make.sh

To execute:

john-williams@codermerlin:~/Projects/W2263$ ./run.sh

Your associated url will be: http://www.codermerlin.com/users/john-williams/dyn/index.html