Giter Site home page Giter Site logo

acorn's Introduction

Acorn

Acorn

Minimal Creative Coding with a set of opinionated environments.

  1. Choose an environments (i.e. 2d, 3d, animation, interactive, music)
    • Some commands become available, a standard set are always available
  2. Write Script
  3. Iterate and enjoy!

Manifesto

Creative coding should be about exploring ideas in computation, not about tripping over tools. Just the essence of the idea (or close to it as possible)

Environments

At the beginning of your script, select an environment and set its options. Environments give you script more features and functionality. They are also in charge of setting up variables and function calls behind the scenes. Also, a core set of robust commands exist on all environmentes (worth memorizing)

Goals

  • Easy to integrate into HTML
  • Hostable anywhere with sufficient resources (web browser, app, desktop, rPi)

Anti-Goals

  • JS NPM package
  • Requires 3rd party packages
  • Web only

Neat features to Add

  1. Shortcut key to popup environment docs (current available commands)
  2. Save as image / video
  3. Input controls X. Flush out more environments and their spec

Building Library

npm run build

Using Library

???

acorn's People

Contributors

kylestew avatar

Watchers

 avatar

acorn's Issues

Expose current Environment Info on shortcut key

Going to need to collect doc strings for any active functions or variables in some sort of container first
Then expose them in some sort of HTML/CSS setup

Doc view exposes information about the current environment

Name, settings, params
Currently attached HTML element (other info needed)
Current palette
Currently active functions in global scope
???

Layout examples page template

Example gets the entire view to work with (except exit/home button and GH link)
Expose Source and info on shortcut key

image

Website building script

Script will read JS files and compile them into subpages in the examples directory as well as creating an index of all examples

Other website files are static

Explore debug tools

Better visual debugging of variable contents that adapts to the libraries data types

It would be nice to not have to rely on the Console.Log so you can debug visually in the browser anywhere

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.