Git Product home page Git Product logo

compute.rhino3d.appserver's Introduction

GitHub package.json version node-current (scoped)

Rhino Compute AppServer

A node.js server acting as a bridge between client apps and private compute.rhino3d servers.

This app is intended to host one or more custom grasshopper definitions and serve as the API that client applications can call to have definitions solved with modified input parameters.

Features

  • Easy to get started: fork/clone this repo and run it locally for testing or push to a service like Heroku for a production web server
  • Easy to customize: fork this repo, place your custom grasshopper definitions in the files directory and you now have a custom AppServer for your definitions.
  • Caching: Assuming definitions produce the same results when the same set of inputs are provided, the appserver caches all results in memory for faster response times.
  • Timings: Server-timing headers are returned to the client to help diagnose bottlenecks in the definition solving process.

Getting Started

  1. Fork this repo
  2. Follow the installation guide to test and debug on your computer
  3. Follow the Heroku hosting guide to push your customized AppServer to Heroku for a production web server

How and What Video

Example

When we have our testing server up and running, you can visit

https://compute-rhino3d-appserver.herokuapp.com/examples/

To see a sample web application that passes three numbers based on slider positions to the AppServer for solving a grasshopper definition. Results are returned to the web page and new mesh visualizations are created.


Other Information

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.