Skip to content

jtmonroe/learning-birds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Birds

screenshot

Description

A simple genetic algorithm woven together with a neural network based upon a tutorial by Patryk27. Some major changes were made, including changing the backend neural network implementation to matrix designs and rebuilding the frontend in SolidJS.

Dependencies

  • npm for running the site
  • Rust for building & testing rust
    • Use Rust nightly for planned dependency on wasm-bindgen-rayon. Although this ought to be set by the rust-toolchain.toml file.
  • wasm-pack to build the .wasm files for us in javascript.

Usage

Assuming you have the cargo toolchain installed and wasm-pack, running npm run build from the ./app directory will build the project. Using npm start will bring the project up on localhost:3000.

TODO:

  • Add RustDocs
  • Integrate Rayon throw wasm-bindgen-rayon
  • Add more tests to Rust and Typescript code
  • Handle resize event
  • Refactor observers on the front-end to own their elements

About

A neural-network toy project in Rust WebAssembly & SolidJS started from a tutorial (https://pwy.io/en/posts/learning-to-fly-pt1/) from patryk27 (https://github.com/patryk27)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published