p5.js textStyle() Function
The textStyle() function in p5.js is used to set or return the style of the text for system fonts to NORMAL, ITALIC, BOLD, or BOLDITALIC. This may be overridden by CSS styling. Syntax: textStyle(style) or textStyle() Parameters: This function accepts a single parameter style that stores the styling