changing single() to space() for empty mark characters

This commit is contained in:
manetta 2021-05-08 18:43:13 +02:00
parent 27704e8213
commit 1f36610246
4 changed files with 5 additions and 5 deletions

View File

@ -16,8 +16,8 @@ image_pattern = image(image_path)
# Set the marker, in this case it makes a random selection from
# the list: +, *, $, #, ,
mark = random(['+', '*', '$', '#', ' ', ' '])
# Define what to use on a blank space, as a variation you coul use: single('*')
blank = single()
# Define what to use on a blank space, as a variation you could use: single('*')
blank = space()
# Make a canvas
lines = make_lines(width, height)

View File

@ -22,7 +22,7 @@ image_pattern = image(image_path)
# Set the marker, in this case a sentence
mark = sentence('ASCII ')
# Define what to use on a blank space, as a variation you coul use: single('*')
blank = single(' ')
blank = space()
# Make a canvas
lines = make_lines(width, height)

View File

@ -21,7 +21,7 @@ for amplitude in range(-40, 50, 10):
# We use a sentence to draw the text
mark = sentence('VARIA-')
# Define a blank character
blank = space('-')
blank = single('-')
# Make the canvas
lines = make_lines(width, height)

View File

@ -15,7 +15,7 @@ pattern = sinus_vertical(period=40, amplitude=30)
# We use a sentence to draw the text
mark = sentence('OPEN DESIGN COURSE ')
# Define a blank character
blank = single(' ')
blank = single('-')
# Make the canvas
lines = make_lines(width, height)