This project is a simple example of the integration of Svelte, Tau Prolog and P5.js
Tau Prolog is used to implement a simple Rectangular frame Learning algorithm. From a set of labeled points, it's able to learn an approximation to the original model.
P5.js is used to visualize the original model, the generated points and the learnt model.
Sevlete serves as a glue, to kkep all technologies together and present a nice looking website.
Install the dependencies...
npm install
...then start Rollup:
npm run dev
Navigate to localhost:8080. You should see your app running.
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
. This uses sirv, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.