# -*- coding: utf-8 -*-
import numpy as np
import matplotlib.pyplot as plt
def say_love(msg):
plt.figure('心相印')
for i in range(msg):
t = np.linspace(0, 2 * np.pi)
x = i * (2 * np.sin(t) + np.sin(2 * t))
y = i * (2 * np.cos(t) + np.cos(2 * t))
plt.plot(-x, -y)
plt.show()
if __name__ == '__main__':
say_love(msg=100)