Draw pixel 2: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(This should be a draft task as there aren't yet any solutions. Also (255, 255, 0) is yellow, not green, in the RGB color model.)
Line 1: Line 1:
{{task|GUI}}[[Category:Basic language learning]]{{requires|Graphics}} [[Category:Simple]]
{{draft task|GUI}}[[Category:Basic language learning]]{{requires|Graphics}} [[Category:Simple]]


;Task:
;Task:
Line 5: Line 5:


::#  1-the window is 640 x 480
::#  1-the window is 640 x 480
::#  2- the color of the pixel must be green (255,255,0)
::#  2- the color of the pixel must be yellow (255,255,0)
::#  3-that the position of the pixel is random
::#  3-that the position of the pixel is random

Revision as of 11:33, 9 May 2018

Draw pixel 2 is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Task

Create a window and draw a pixel in it

  1.  1-the window is 640 x 480
  2.  2- the color of the pixel must be yellow (255,255,0)
  3.  3-that the position of the pixel is random