Giter Site home page Giter Site logo

puppeteer's Introduction

puppeteer

GitHub last commit

View puppeteer on File Exchange

A MATLAB class that can control anything.

The Problem:

  • You have a simulation or a function with some parameters. It's complicated
  • You want to get a feel for it by twiddling the parameters and seeing how it changes
  • It's a pain to write bespoke wrappers for your code and worry about UI generation

The solution

puppeteer does all the hard work of generating UI elements for you. Here's how it works.

Generate a new puppeteer instance and tell it the parameters you want to manipulate:

p = puppeteer();

p.add('Name',Name,'Value',Value,'Group',categorical({'Wow'}),'Upper',1e-3,'Units','M');
% and so on...

Then wire up a callback function that gets called every time the sliders move:

p.valueChangingFcn = @self.manipulateEvaluate; 

Finally, ask it to draw the UI

p.makeUI;

That's it. Enjoy.

License

GPL 3. puppeteer is free software.

puppeteer in use

  1. black-box-neuron
  2. xolotl

puppeteer's People

Contributors

sg-s avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fagan2888

puppeteer's Issues

The manipulate bar window is opened at a weird position

What you were trying to do (include code to reproduce error)

x.manipulate

What you expected to happen

The top of the manipulate window should be visible

What actually happened

image

This is a minor issue, but I always have to drag the window down after running x.manipulate

Parameters missing in new puppeteer

It looks like a row of sliders is getting cut off in the new puppeteer.

image
image

The first parameter listed at the top in Group 2 should be AB.GenericKdLike.m_tau_A , but it starts on ..._tauB. This trend continues across each tab.

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.