Skip to content

Commit 31cc54d

Browse files
update README.md
1 parent b9b7691 commit 31cc54d

File tree

2 files changed

+118
-79
lines changed

2 files changed

+118
-79
lines changed

README-id.md

Lines changed: 59 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
1-
# cpp-playground
1+
🇮🇩 Bahasa Indonesia (Santai)
22

3-
## 🇮🇩 Bahasa Indonesia
3+
Kumpulan eksperimen dan kode C++ buat belajar dan iseng-iseng. Beberapa mungkin belum selesai—mohon maklum ya! Kalau mainan sama gambar PNG, pastikan udah install libpng sesuai sistem operasimu.
44

5-
Kumpulan eksperimen dan kode C++ sebagai hasil eksplorasi dan latihan. Beberapa proyek mungkin belum selesai, jadi harap dimaklumi. Untuk proyek manipulasi gambar PNG, Anda perlu menginstal **libpng** sesuai sistem operasi Anda.
5+
🎨 Proyek Terbaru
66

7-
### 🎨 Proyek Terkini
8-
- **Prime Art**: Visualisasi angka prima dalam bentuk spiral:
9-
1. `100 × 100` ![](prime-spiral-100-100.png)
10-
2. `250 × 250` ![](prime-spiral-250-250.png)
11-
3. `500 × 500` ![](prime-spiral-500-500.png)
12-
4. `1000 × 1000` ![](prime-spiral-1000-1000.png)
7+
Prime Art – visualisasi bilangan prima dalam bentuk spiral:
8+
9+
1. 100 × 100
10+
11+
12+
2. 250 × 250
13+
14+
15+
3. 500 × 500
16+
17+
18+
4. 1000 × 1000
19+
20+
21+
22+
23+
📂 Isi Folder
1324

14-
### 📂 Struktur Direktori
15-
```
1625
.
1726
├── .github/
1827
│ └── workflows/
@@ -31,38 +40,49 @@ Kumpulan eksperimen dan kode C++ sebagai hasil eksplorasi dan latihan. Beberapa
3140
├── prime-spiral-250-250.png
3241
├── prime-spiral-500-500.png
3342
└── prime-spiral-1000-1000.png
34-
```
35-
36-
### 📁 Deskripsi Folder
37-
- `3D/` Eksperimen pemrograman 3D.
38-
- `NN/` Implementasi Neural Network dari nol.
39-
- `basic/` Sintaks dasar C++.
40-
- `electrical/` Simulasi elemen elektronik.
41-
- `component/include/` Header file untuk komponen elektronik.
42-
- `image/` Pengolahan dan manipulasi gambar.
43-
- `number_system/` Sistem bilangan.
44-
45-
### 🚀 Kompilasi
46-
**Persyaratan:**
47-
- Kompiler C++20 (g++, clang++).
48-
- CMake (opsional).
49-
- **libpng** untuk proyek image/PNG.
50-
51-
```bash
43+
44+
3D/ – coba-coba grafik 3D
45+
46+
NN/ – bikin neural network sendiri dari nol
47+
48+
basic/ – eksperimen dasar dan syntax C++
49+
50+
electrical/ – simulasi komponen elektronik
51+
52+
component/include/ – file header komponen
53+
54+
55+
image/ – utak-atik gambar
56+
57+
number_system/ – sistem bilangan
58+
59+
60+
⚙️ Cara Kompilasi
61+
62+
Yang dibutuhin:
63+
64+
Compiler C++20 (g++ atau clang++)
65+
66+
CMake (opsional)
67+
68+
libpng (buat proyek gambar)
69+
70+
5271
g++ -std=gnu++20 ...
53-
```
72+
5473
atau
55-
```bash
74+
5675
clang++ -std=c++20 ...
57-
```
58-
atau menggunakan CMake:
59-
```bash
76+
77+
atau pake CMake:
78+
6079
cmake -S . -B build
6180
cmake --build build
62-
```
6381

64-
### 🤝 Kontribusi
65-
Ingin kontribusi? Silakan! Kalau tidak, juga tidak masalah. Proyek ini hanya untuk latihan kok.
82+
🤝 Mau Ikut Kontribusi?
83+
84+
Silakan banget! Tapi santai aja juga nggak apa-apa. Proyek ini buat latihan dan seneng-seneng aja.
85+
86+
📜 Lisensi
6687

67-
### 📜 Lisensi
68-
Proyek ini dilisensikan di bawah **GPL v3 License**. [Baca detailnya di sini](LICENSE).
88+
Proyek ini pakai GPL v3 License. Baca selengkapnya di sini.

README.md

Lines changed: 59 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
1-
# cpp-playground
2-
[README.md Bahasa Indonesia](README-id.md)
1+
🇺🇸 English (Casual)
32

4-
## 🇺🇸 English
3+
Just a bunch of C++ experiments and random code from my learning and tinkering. Some stuff might be unfinished—thanks for your patience! For anything with PNG images, make sure you've got libpng installed for your OS.
54

6-
A collection of C++ experiments and code created as part of exploration and practice. Some projects might still be incomplete, so please bear with it. For PNG image manipulation, you need to install **libpng** based on your operating system.
5+
🎨 Latest Experiments
76

8-
### 🎨 Recent Projects
9-
- **Prime Art**: Visualization of prime numbers in a spiral:
10-
1. `100 × 100` ![](prime-spiral-100-100.png)
11-
2. `250 × 250` ![](prime-spiral-250-250.png)
12-
3. `500 × 500` ![](prime-spiral-500-500.png)
13-
4. `1000 × 1000` ![](prime-spiral-1000-1000.png)
7+
Prime Art – visualizing prime numbers in a spiral:
8+
9+
1. 100 × 100
10+
11+
12+
2. 250 × 250
13+
14+
15+
3. 500 × 500
16+
17+
18+
4. 1000 × 1000
19+
20+
21+
22+
23+
📂 What’s in the folders?
1424

15-
### 📂 Directory Structure
16-
```
1725
.
1826
├── .github/
1927
│ └── workflows/
@@ -32,38 +40,49 @@ A collection of C++ experiments and code created as part of exploration and prac
3240
├── prime-spiral-250-250.png
3341
├── prime-spiral-500-500.png
3442
└── prime-spiral-1000-1000.png
35-
```
36-
37-
### 📁 Folder Descriptions
38-
- `3D/` 3D programming experiments.
39-
- `NN/` Neural Network implementation from scratch.
40-
- `basic/` Basic C++ syntax.
41-
- `electrical/` Simulations of electronic elements.
42-
- `component/include/` Header files for electronic components.
43-
- `image/` Image processing and manipulation.
44-
- `number_system/` Number systems.
45-
46-
### 🚀Compilation
47-
**Requirements:**
48-
- C++20 compiler (g++, clang++).
49-
- CMake (optional).
50-
- **libpng** for image/PNG projects.
51-
52-
```bash
43+
44+
3D/ – messing around with 3D graphics
45+
46+
NN/ – homemade neural network stuff
47+
48+
basic/ – basic C++ tests and syntax
49+
50+
electrical/ – simulating electronic components
51+
52+
component/include/ – headers for those components
53+
54+
55+
image/ – image editing or processing stuff
56+
57+
number_system/ – number systems, conversions, etc.
58+
59+
60+
⚙️ How to Build
61+
62+
You’ll need:
63+
64+
A C++20 compiler (like g++ or clang++)
65+
66+
CMake (if you want)
67+
68+
libpng (for image projects)
69+
70+
5371
g++ -std=gnu++20 ...
54-
```
72+
5573
or
56-
```bash
74+
5775
clang++ -std=c++20 ...
58-
```
59-
or using CMake:
60-
```bash
76+
77+
or with CMake:
78+
6179
cmake -S . -B build
6280
cmake --build build
63-
```
6481

65-
### 🤝 Contributions
66-
Want to contribute? Feel free! If not, that's fine too. This is a practice project.
82+
🤝 Wanna Help?
83+
84+
Feel free to pitch in! No pressure—it’s mainly just for fun and practice.
85+
86+
📜 License
6787

68-
### 📜 License
69-
This project is licensed under the **GPL v3 License**. [Read more here](LICENSE).
88+
This project uses the GPL v3 License. See LICENSE for details.

0 commit comments

Comments
 (0)