love ❤ Here comes the code

Murakami said :“ Ceremony is a very important thing .”
Real life is full of trivia , The sense of ritual is always forgotten , A mediocre dinner , Littered clothes , The chaotic life makes the original plain life a backwater , Can't find the fun of life .

Before showing love , You can copy it first love Link opens in browser , There will be the following pictures !( Just look below without using this link Java code )
link :love.wazf.top/S94

fairy tale 《 princeling 》 The fox said to the little prince :“ You'd better come at the same time every day , For example, you come at four in the afternoon , So from three o'clock , I began to feel happy . As time approaches , The happier I feel . At four o'clock I'll be fidgeting , If you come at any time , I don't know when to prepare my mood , The ceremony makes me feel that one day, one moment will be different .”

Next is the love code and display effect

<> Code display :
import javax.swing.*; import java.awt.*; public class heart extends JFrame {
private static final long serialVersionUID = -1284128891908775645L; // Define load window size
public static final int GAME_WIDTH = 500; public static final int GAME_HEIGHT =
500; // Get screen window size public static final int WIDTH = Toolkit.getDefaultToolkit().
getScreenSize().width; public static final int HEIGHT = Toolkit.
getDefaultToolkit().getScreenSize().height; public heart() { // Set window title this.
setTitle(" Cardioid curve "); // Set the initial position of the window this.setLocation((WIDTH - GAME_WIDTH) / 2, (HEIGHT
- GAME_HEIGHT) / 2); // Set window size this.setSize(GAME_WIDTH, GAME_HEIGHT); // Set background color
this.setBackground(Color.BLACK); // Set window closing mode this.setDefaultCloseOperation(
JFrame.EXIT_ON_CLOSE); // Setting window display this.setVisible(true); } @Override public void
paint(Graphics g) { double x, y, r; Image OffScreen = createImage(GAME_WIDTH,
GAME_HEIGHT); Graphics drawOffScreen = OffScreen.getGraphics(); for (int i = 0;
i< 90; i++) { for (int j = 0; j < 90; j++) { r = Math.PI / 45 * i * (1 - Math.
sin(Math.PI / 45 * j)) * 18; x = r * Math.cos(Math.PI / 45 * j) * Math.sin(Math.
PI/ 45 * i) + GAME_WIDTH / 2; y = -r * Math.sin(Math.PI / 45 * j) + GAME_HEIGHT
/ 4; // Set brush color drawOffScreen.setColor(Color.PINK); // Draw ellipse drawOffScreen.fillOval
((int) x, (int) y, 2, 2); } // Generate picture g.drawImage(OffScreen, 0, 0, this); } }
public static void main(String[] args) { heart demo = new heart(); demo.
setVisible(true); } }
<> The following is the display effect

Finally, I wish you all a happy life , Go to a simple and happy life !!!

Technology
©2019-2020 Toolsou All rights reserved,
C++ of string of compare usage Python Study notes ( one )evo Tool usage problems ——Degenerate covariance rank, Umeyama alignment is not possibleRISC-V_GD32VF103-TIMER0 timer interrupt java Array subscript variable _Java Basic grammar : array be based on stm32 Control four-wheel trolley motor drive ( one ) be based on redis Design of liking function Software engineering career planning mysql Query random data by conditions _MySQL Random query of several qualified records centos7 install RabbitMq