From c3a4e6b0baeb1553fa89751bbbcb82409712460a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E5=BE=8B=E7=BA=AF?= Date: Mon, 23 Sep 2024 21:06:50 +0800 Subject: [PATCH] Update README.rst --- README.rst | 56 ++---------------------------------------------------- 1 file changed, 2 insertions(+), 54 deletions(-) diff --git a/README.rst b/README.rst index 19998fb..0bf82f8 100644 --- a/README.rst +++ b/README.rst @@ -1,54 +1,2 @@ -rysyn -====== - -Rysyn is a simple Python library for creating and manipulating 2D and 3D -shapes. It is built on top of the `pygame` library, and is designed to be -easy to use and understand. - -Rysyn is currently in development and is not yet ready for use in -production. However, it is already being used in a number of personal -projects, and we welcome contributions from the community. - -Installation ------------- - -Rysyn can be installed using pip: - -``` -pip install rysyn -``` - -Usage ---------- - -To use Rysyn, you first need to create a `Window` object: - -```python -from rysyn import Window - -window = Window() -``` - -You can then create shapes and add them to the window: - -```python -from rysyn import Circle, Rectangle - -circle = Circle((100, 100), 50) -rectangle = Rectangle((200, 200), (100, 50)) - -window.add(circle) -window.add(rectangle) -``` - -You can also set the background color of the window: - -```python -window.background_color = (255, 255, 255) -``` - -Finally, you can start the window's main loop: - -```python -window.run() -``` \ No newline at end of file +rysyn-lang +==========