https://github.com/mateuseap/intelligent-systems
Codes for IF684 (Intelligent Systems) discipline
https://github.com/mateuseap/intelligent-systems
javascript p5js
Last synced: about 1 year ago
JSON representation
Codes for IF684 (Intelligent Systems) discipline
- Host: GitHub
- URL: https://github.com/mateuseap/intelligent-systems
- Owner: mateuseap
- Created: 2023-02-01T13:14:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T20:00:57.000Z (over 3 years ago)
- Last Synced: 2025-02-12T03:51:30.796Z (over 1 year ago)
- Topics: javascript, p5js
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intelligent Systems
Codes for IF684 (Intelligent Systems) discipline.
## Activities made with p5.js
Below there's a list of finished activities containing the link to its code available in this repo and also in **p5.js** website:
Activity 2.1 - Agent collecting food
- [Code in this repo](https://github.com/mateuseap/intelligent-systems/tree/main/agent%20collecting%20food)
- [Code in p5.js website](https://editor.p5js.org/mateuseap/sketches/n5KUZQZGj)
Activity 2.2 - Agent looking for food
- [Code in this repo](https://github.com/mateuseap/intelligent-systems/tree/main/agent%20looking%20for%20food)
- [Code in p5.js website](https://editor.p5js.org/mateuseap/sketches/pHgR88XFZ)
Activity 2.3 - Evolution of an ecosystem
- [Code in this repo](https://github.com/mateuseap/intelligent-systems/tree/main/evolution%20of%20an%20ecosystem)
- [Code in p5.js website](https://editor.p5js.org/mateuseap/sketches/JwhbZkjk-)
## Running p5.js code locally
To run some code locally you'll need to install [Node.js](https://nodejs.org/en/) `http-server`, just follow these simples steps to install it:
- Download and install [Node.js](https://nodejs.org/en/)
- Open a terminal or command prompt (on **Windows** you might need to open the command prompt as admin)
- In the terminal type:
```bash
npm install -g http-server
```
If you get a permission error on **Ubuntu** try to run the command using `sudo`. After installing the `http-server` you're ready to go!
From then on just `cd` to the folder that has the code that you want to run and type:
```bash
http-server
```
It will show you where at URL the code will be running at, then you just need to open it up in your browse:
