Aug-30-2017, 11:04 PM
(This post was last modified: Aug-30-2017, 11:14 PM by defenderofthebit.)
#the size of the display is set here by naming the built in function "size" and
#setting the parameters of the resolution within the () separated by a comma
#to distinguish the difference between the x and y axis
#common size resolutions are (800, 600) (1280,720) (1600, 900)
size(640, 360);
#the background function sets...??? care to finish?
#it seems a bit beyond my reach, as of yet. it is like writing a public text book though.
background(0);
noStroke();
# i dont know what createFont is or how to use it. is SourceCodePro-Regular.ttf something that comes standard in the py library?
#or do i need to download the Qt library? maybe scintilla? or autopygui or pygame to use that particular ttf file?
textFont(createFont("SourceCodePro-Regular.ttf",24));
#setting the parameters of the resolution within the () separated by a comma
#to distinguish the difference between the x and y axis
#common size resolutions are (800, 600) (1280,720) (1600, 900)
size(640, 360);
#the background function sets...??? care to finish?
#it seems a bit beyond my reach, as of yet. it is like writing a public text book though.
background(0);
noStroke();
# i dont know what createFont is or how to use it. is SourceCodePro-Regular.ttf something that comes standard in the py library?
#or do i need to download the Qt library? maybe scintilla? or autopygui or pygame to use that particular ttf file?
textFont(createFont("SourceCodePro-Regular.ttf",24));