An Electron app with touch interactions for visual cognition testing in children treated by Project Prakash.
You can download the executable in the out
directory to install and run the app. If you simply want to run the app and see what it does, then then you will need to download two things:
- the executable for your system in the
out
directory (if there is now installer, then see the next section) - the
example_experiments
directory has example configuration directories inside that you can load into the app to see how it works. - the
example_datalogs
directory has some example log files from success runs of an experiment, it is useful for writing analysis scripts.
If there is not an installer in the out
directory for your OS, then you will need to build it for yourself using Electron and Electron Forge, it is really not too bad I promise.
- Install Node.js and the Node package manager NPM
- Install Electron by running
npm install --save-dev electron
- You can then try to build an app with one of the following two options
Following Electron's first app documentation
Building PrakAI-Pebbles by completing the following steps:
- Download this repo
- Terminal into the
prakAI-pebbles
directory inside the local copy - Install all dependencies by running
npm install
- Consider bumping updates as needed with caution
npm update
- Consider addressing vulnerabilities
npm audit fix
- Consider bumping updates as needed with caution
- Preview the app by running
npm start
- Install Electron Forge by running
npm i -g @electron-forge/cli
- Terminal into your project directory
- Create distributable by running
electron-forge make
The name of the PrakAI Suite is a reference to the use of technology in service of Project Prakash (Prakash means "light" in Sanskrit and their team treats children with curable blindness, more info at www.projectprakash.org). We chose to keep "Prak" in direct reference to Prakash, it is also a homonym of the Sanskrit verb root प्रच्छ् (transliterated as prachchh- or simply prach-) meaning "to ask, to seek, to desire, to know". Clearly, we have the great luxury of reflecting on word choice in our spare time and also concluded that the verb root प्रा (transliterated as pra-) meaning "to fill" combines well with the verb root कै (transliterated as kai-) meaning "to sound". Of course combining two verb roots is not grammaratically correct, but it creates something that one can transliterate as prakai प्राकै, which contains a reference to the use of technology and specifically artificial intelligence (abbreviated as AI). Thus after a truly well-intentioned and avant garde misuse of grammar in two languages and convenient choice of transliterations we arrive at the rather poetic "PrakAI".
The first use of this app was to create a touch-driven digital version of an existing experiment that was run by having children select matching pebbles from a table in front of them. It is also a small homage to a great story (credited to Edward de Bono) about lateral thinking called The Tale of Two Pebbles that illustrates the importance of changing one's perspective when faced with a seemingly difficult situation.