Skip to content

Commit d110add

Browse files
update README.md
1 parent 1e1cded commit d110add

File tree

2 files changed

+104
-48
lines changed

2 files changed

+104
-48
lines changed

README-id.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# cpp-playground
2+
3+
## 🇮🇩 Bahasa Indonesia
4+
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.
6+
7+
### 🎨 Proyek Terkini
8+
- **Prime Art**: Visualisasi angka prima dalam bentuk spiral:
9+
1. `100 × 100` ![](prime-spiral-100-100.png)
10+
2. `1000 × 1000` ![](prime-spiral-1000-1000.png)
11+
3. `1024 × 1024` ![](prime-spiral-1024-1024.png)
12+
4. `10240 × 10240` ![](prime-spiral-10240-10240.png)
13+
14+
### 📂 Struktur Direktori
15+
```
16+
.
17+
├── .github/
18+
│ └── workflows/
19+
├── 3D/
20+
├── NN/
21+
├── basic/
22+
├── electrical/
23+
│ └── component/
24+
├── image/
25+
├── number_system/
26+
├── .gitignore
27+
├── CMakeLists.txt
28+
├── LICENSE
29+
├── init-cmake.sh
30+
├── prime-spiral-100-100.png
31+
├── prime-spiral-1000-1000.png
32+
├── prime-spiral-1024-1024.png
33+
└── prime-spiral-10240-10240.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
52+
g++ -std=gnu++20 ...
53+
```
54+
atau
55+
```bash
56+
clang++ -std=c++20 ...
57+
```
58+
atau menggunakan CMake:
59+
```bash
60+
cmake -S . -B build
61+
cmake --build build
62+
```
63+
64+
### 🤝 Kontribusi
65+
Ingin kontribusi? Silakan! Kalau tidak, juga tidak masalah. Proyek ini hanya untuk latihan kok.
66+
67+
### 📜 Lisensi
68+
Proyek ini dilisensikan di bawah **GPL v3 License**. [Baca detailnya di sini](LICENSE).

README.md

Lines changed: 36 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# cpp-playground
1+
# cpp-playgroun
2+
[README.md Bahasa Indonesia](README-id.md)
23

3-
Kumpulan eksperimen dan kode kode C++ hasil gabut dan latihan.
4-
Beberapa masih belum selesai sih, tapi ya begini adanya. Untuk project image png perlu libpng, jadi install dulu sesuai OS masing masing
4+
## 🇺🇸 English
55

6-
## Overview
7-
- `some prime art`
8-
1. `prime spiral 100 × 100 png` ![](prime-spiral-100-100.png)
9-
2. `prime spiral 1000 × 1000 png` ![](prime-spiral-1000-1000.png)
10-
3. `prime spiral 1024 × 1024 png `![](prime-spiral-1024-1024.png)
11-
4. `prime spiral 10240 × 10240 png`![](prime-spiral-10240-10240.png)
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.
127

8+
### 🎨 Recent Projects
9+
- **Prime Art**: Visualization of prime numbers in a spiral:
10+
1. `100 × 100` ![](prime-spiral-100-100.png)
11+
2. `1000 × 1000` ![](prime-spiral-1000-1000.png)
12+
3. `1024 × 1024` ![](prime-spiral-1024-1024.png)
13+
4. `10240 × 10240` ![](prime-spiral-10240-10240.png)
1314

14-
## Struktur Direktori
15-
15+
### 📂 Directory Structure
1616
```
1717
.
1818
├── .github/
@@ -27,55 +27,43 @@ Beberapa masih belum selesai sih, tapi ya begini adanya. Untuk project image png
2727
├── .gitignore
2828
├── CMakeLists.txt
2929
├── LICENSE
30-
├── init-cmake.sh // cmake only
30+
├── init-cmake.sh
3131
├── prime-spiral-100-100.png
3232
├── prime-spiral-1000-1000.png
3333
├── prime-spiral-1024-1024.png
3434
└── prime-spiral-10240-10240.png
3535
```
3636

37-
## Deskripsi Folder
38-
39-
* `3D/` Eksperimen 3D
40-
* `NN/` Implementasi neural network dari nol
41-
* `basic/` sintaks dasar C++
42-
* `electrical/` Simulasi elemen elektronik nyata
43-
44-
* `component/include/` Header file untuk komponen elektronik
45-
* `image/` Pengolahan dan manipulasi gambar
46-
* `number_system/` Sistem bilangan
47-
48-
## Run
49-
50-
Prerequisites:
51-
52-
* Compiler C++20 (g++, clang++)
53-
* CMake (opsional)
54-
* libpng untuk build projek image/PNG
55-
56-
Kompilasi dan cara jalanin:
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.
5751

5852
```bash
59-
g++ -std=gnu++20 ...
53+
g++ -std=gnu++20 ...
6054
```
61-
62-
Atau
55+
or
6356
```bash
64-
clang++ -std=c++20 ...
57+
clang++ -std=c++20 ...
6558
```
66-
67-
Atau pake CMake:
68-
59+
or using CMake:
6960
```bash
70-
cmake -S . -B build
71-
cmake --build build
61+
cmake -S . -B build
62+
cmake --build build
7263
```
7364

74-
## Kontribusi
75-
76-
Mau kontribusi silahkan, ga ya silahkan. Orang projek latihan doang
77-
78-
## Lisensi
79-
80-
GPL V3 License.[CEK DISINI](LICENSE).
65+
### 🤝 Contributions
66+
Want to contribute? Feel free! If not, that's fine too. This is a practice project.
8167

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

0 commit comments

Comments
 (0)