* doc : README updated

* doc : demo.ipynb updated

* doc : demo.ipynb updated

* doc : README updated
pull/154/head
Sepand Haghighi 2022-09-14 20:50:39 +04:30 zatwierdzone przez GitHub
rodzic d9224cd6fc
commit 2717332d85
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 28 dodań i 9 usunięć

Wyświetl plik

@ -190,10 +190,14 @@ Samila is a generative art generator written in Python, Samila let's you create
7. List (example: `color=["black", "#fffeef",...]`)
⚠️ **Transparent** mode is only available for background
⚠️ **List** mode is only available for color
⚠️ In **List** mode, the length of this list must be equal to the lengths of data1 and data2.
⚠️ In **List** mode, the length of this list must be equal to the lengths of data1 and data2
#### Point Color
You can make your custom color map and use it in Samila
```pycon
>>> colorarray = [
... [0.7, 0.2, 0.2, 1],
@ -210,7 +214,6 @@ Samila is a generative art generator written in Python, Samila let's you create
```
<img src="https://github.com/sepandhaghighi/samila/raw/master/otherfiles/images/8.png">
You can make your custom color map and use it in Samila.
### Regeneration
```pycon

Wyświetl plik

@ -134,9 +134,7 @@
"source": [
"## Color\n",
"\n",
"We can assign colors for both the background as well as the line\n",
"\n",
"Supported colors are available in `VALID_COLORS` list\n"
"We can assign colors for both the background as well as the line\n"
]
},
{
@ -170,7 +168,7 @@
"\n",
"⚠️ **List** mode is only available for color\n",
"\n",
"⚠️ In **List** mode, the length of this list must be equal to the lengths of data1 and data2."
"⚠️ In **List** mode, the length of this list must be equal to the lengths of data1 and data2"
]
},
{
@ -179,7 +177,7 @@
"source": [
"### Point Color\n",
"\n",
"You can make your custom color map and use it in Samila."
"You can make your custom color map and use it in Samila"
]
},
{
@ -369,7 +367,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.10 64-bit",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
@ -383,7 +381,25 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.5.2"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Samila Demo",
"title_sidebar": "Samila Demo",
"toc_cell": false,
"toc_position": {
"height": "382px",
"left": "10px",
"top": "10px",
"width": "256px"
},
"toc_section_display": false,
"toc_window_display": true
},
"vscode": {
"interpreter": {