This template repository will get you started working with Brains@Play and engaging with our mission to support Universal Web Development.
In particular, we highlight escode: a framework for rapidly prototyping high-performance applications.
Note: The main branch of the brainsatplay-starter-kit repository is being updated regularly to conform to the latest escode distribution. To view source code from our November 2022 recording of ESCode: A First Look, make sure to switch to the firstlook branch.
Our software has been designed from the bottom-up to support visual reactive programming. In addition to an advanced CLI, we have on-browser visualization and editing tools to support the authoring and remixing of ES Components by anyone with a browser.
To take advantage of escode in your project, all you'll need to do is import the core escompose library, which instantiates applications from .esc.js files.
import * as escompose from 'https://cdn.jsdelivr.net/npm/escompose@0.1.7/dist/index.esm.js'
When using a bundler, you may also install escompose using NPM:
npm install escompose
Usage inside a JavaScript file would look quite similar:
import * as escompose from 'escompose'
To create a functional escode application, you'll need to understand a few fundamental concepts:
This is covered in the hello world demo.
This is covered in the composition demo, which introduces listeners.
These can be triggered inline in your own code files—or configured in .esc format to produce shareable ES Components.
This is covered in the web components demo.
This is covered in the game development demo, which usesthe Phaser (v3) API to create a game.
This is covered in the previous demo and the physiological signals demo.
This is covered in the education file, which demonstrates how to organize text in an escode project and embed demos inside interactive visual editors.
Brains@Play is led by Garrett Flynn and Joshua Brewster, who use contract work and community contributions through Open Collective to support themselves.
The ongoing development of escode for the education of new generations of engineers and researchers has been generously supported by Chris Crawford at Human Technology and Interaction Lab (HTIL) of the University of Alabama.
Support us with a monthly donation and help us continue our activities!
Become a sponsor and get your logo here with a link to your site!