Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/le-nn/vscode-vector-aquarium
A joke extension for vscode. Make your vscode an aquarium and heal you ! 🐟
https://github.com/le-nn/vscode-vector-aquarium
extension vscode vscode-extension
Last synced: about 1 month ago
JSON representation
A joke extension for vscode. Make your vscode an aquarium and heal you ! 🐟
- Host: GitHub
- URL: https://github.com/le-nn/vscode-vector-aquarium
- Owner: le-nn
- License: mit
- Created: 2022-11-08T01:54:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-08T09:41:36.000Z (5 months ago)
- Last Synced: 2024-12-07T15:13:20.597Z (about 2 months ago)
- Topics: extension, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 7.64 MB
- Stars: 57
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 🐟🐠🐡 VSCode Vector Aquarium 🦪🦈🐚
English / [日本語](https://qiita.com/le-nn/items/244c638b5ecebc54868b)
Make your vscode an aquarium and heal you !
## UniAquarium
An binding for Unity Editor
https://github.com/Garume/UniAquarium?tab=readme-ov-file
## Install
Search ```vscode-vector-aquarium``` in your vscode extension tab or install from following url.
https://marketplace.visualstudio.com/items?itemName=le-nn.vscode-vector-aquarium
## Features
* When tapped, bait appears and fish will chase and eat it.
* When fish tapped, fish will diffuse and escape.
* Other creature will swim.
* Grouped fish swim in swarm## How it works
Swarm of fish is implemented with boid algorithm.
https://en.wikipedia.org/wiki/BoidsDraw and movement logic is here.
https://github.com/le-nn/vscode-vector-aquarium/tree/main/src/webview/libs## Usage
Open extension tab.
### View on secondary side bar
Enable secondary side bar from ```View > Appearance > Secondary Side Bar```.
Drag from primary side bar and drop Fish icon to secondary side bar in order to make side bar enabled.![](./assets/appearance.png)
![](./assets/secondary-zoom.png)## Setting
Press F1 and input following command.
```
vscode-vector-aquarium.config
```And setting file will open.
Here is example of settings.
The ```fish``` field represents a swarm of fish.
One child of array is one swarm. Its child field represents one fish.
The setting example is as the field name.```json
{
"isFoodEnabled": true,
"isRippleEnabled": true,
"fish": [
[
{
"color": "#3f51b5",
"scale": 1,
"location": {
"x": 0,
"y": 0
}
},
{
"color": "#3f51b5",
"scale": 1,
"location": {
"x": 0,
"y": 0
}
},
],
[
{
"color": "#2196f3",
"scale": 0.9,
"location": {
"x": 0,
"y": 0
}
},
{
"color": "#2196f3",
"scale": 1,
"location": {
"x": 0,
"y": 0
}
}
]
],
"jerryfish": [
{
"color": "#9c27b0",
"scale": 1,
"location": {
"x": 340,
"y": 120
}
},
{
"color": "#e91e63",
"scale": 0.88,
"location": {
"x": 120,
"y": 230
}
}
],
"lophophorata": [
{
"color": "#3f51b5",
"scale": 1,
"location": {
"x": 120,
"y": 200
}
}
]
}```
## License
Designed with ♥ by le-nn. Licensed under the MIT License.