Skip to content

Commit b7ac2f7

Browse files
committed
add typography example
1 parent 650afa1 commit b7ac2f7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from p5 import *
2+
3+
def setup():
4+
no_loop()
5+
6+
def draw():
7+
s = "The quick brown fox jumped over the lazy dog."
8+
fill(51)
9+
text(s, (10, 10), wrap_at=10)
10+
11+
if __name__ == '__main__':
12+
run()

0 commit comments

Comments
 (0)