You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

197 lines
3.1 KiB

# This is an empty Python script.
# It is here, so it tricks GitHub into thinking that this is a Python project.
# But because GitHub counts characters, we have to fill it with something.
# How about:
from math import sin, pi
wave = ['#' * (1 + round(amp * (1+sin(i/resolution*2*pi))))
for resolution, amp in zip(range(10, 30, 2), range(2, 22, 2))
for i in range(resolution)]
print('\n'.join(wave))
#
##
###
####
#####
#####
####
###
##
#
#
##
#####
#######
########
#########
########
#######
#####
###
##
#
##
###
#######
##########
############
#############
#############
############
##########
#######
####
##
#
#
##
####
#########
############
###############
################
#################
################
###############
############
#########
######
###
##
#
##
###
######
###########
##############
#################
####################
#####################
#####################
####################
#################
##############
###########
########
#####
##
#
#
##
#####
########
#############
#################
####################
#######################
########################
#########################
########################
#######################
####################
#################
#############
#########
######
###
##
#
##
###
######
#########
###############
###################
#######################
##########################
############################
#############################
#############################
############################
##########################
#######################
###################
###############
###########
#######
####
##
#
#
##
####
#######
###########
#################
#####################
#########################
############################
###############################
################################
#################################
################################
###############################
############################
#########################
#####################
#################
#############
#########
######
###
##
#
##
###
######
#########
#############
###################
#######################
###########################
###############################
##################################
####################################
#####################################
#####################################
####################################
##################################
###############################
###########################
#######################
###################
###############
###########
#######
####
##
#
#
##
####
#######
###########
###############
#####################
#########################
##############################
#################################
#####################################
#######################################
########################################
#########################################
########################################
#######################################
#####################################
#################################
##############################
#########################
#####################
#################
############
#########
#####
###
##
#