z_draw_texte.py

Created by cent20

Created on April 19, 2021

410 Bytes


from kandinsky import *

# Du texte
draw_string("Un dégradé de gris :",1,1)
for i in range(10):
  draw_string(str(i),0+i*11, 21, (24 * i, 24 * i, 24 * i ))
  
draw_string("Du texte, oui du texte",64, 64, (120,0,0))


draw_string("si je veux",120,120,(42,120,120))
draw_string("où je veux",200,200,(120,42,120))

draw_string("ici",1, 200, (0,120,0))
draw_string("là",280, 1, (0,0,120))

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.