English / ζ₯ζ¬θͺ
Make your vscode an aquarium and heal you !
An binding for Unity Editor
https://github.com/Garume/UniAquarium?tab=readme-ov-file
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
- 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
Swarm of fish is implemented with boid algorithm. https://en.wikipedia.org/wiki/Boids
Draw and movement logic is here. https://github.com/le-nn/vscode-vector-aquarium/tree/main/src/webview/libs
Open extension tab.
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.
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.
{ "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 } } ] } Designed with β₯ by le-nn. Licensed under the MIT License.




