Code Monkey home page Code Monkey logo

fxhash's Introduction

fx(hash), fx(stdio), and p5 boilerplate

A boilerplate based on the fxhash-webpack-boilerplate, but with fx(stdio) and p5 installed.

Getting started

Ensure that you have nodejs installed.

Clone the repository:

git clone https://github.com/alt-escapism/fxhash-stdio-boilerplate.git your_folder && cd your_folder

Install:

npm i

Start server:

npm start

This last command will open up your project with fx(stdio) installed, and live reloading enabled, so that you can iterate faster on your projects.

Developing with fx(stdio)

The file src/index.js contains sample code for getting started with fx(stdio) and p5. This should show you how to integrate with fx(stdio). In short, import and use the randomization functions from @altesc/stdio, instead of the ones from p5. If you want a random variable to appear in the fx(stdio) UI, simply add a unique name as the first argument to the function.

See the fx(stdio) documentation for more information.

Publishing to fx(hash)

$ npm run build

This will prepare your bundle for publishing to fx(hash). The fx(stdio) UI will be stripped from this version.

A zip file can be found at dist-zipped/project.zip, which can be directly imported on fx(hash).

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.