Code Monkey home page Code Monkey logo

patches's Issues

Array plugin

Make an Array plugin with dynamic number of ANY datatype inputs, and an index input that changes the current output value of the plugin.

inputs: index, 0, 1, 2, 3, ... 
outputs: output

Eg. feed in 8 images, and alternate between the images with index

No less than or equal to plugin and alike

It obviously can be done by "or", "equal" and "less than" plugins but than, why there are "and", "or" and "not" plugins while they can be assembled from "nand"s ?

Missing logic plugins:

  • less than or equal
  • more than or equal
  • unequal
  • almost equal/unequal with definable proximity

Menubar refactor

Refactor the structure and style for the menu bar (logo, file, play, user, and help buttons).

  • Fix button heights
  • Remove forced navbar and user-pulldown styling
    and fix Login and Signup button heights.

dependency graph re-evaluation issue

see example:
http://create.vizor.io/uucidl/draw_scaled_image/edit

In this sketch I have a texture fed into a graph that will render it to the framebuffer

After you load the sketch for the first time in your browser, and you press play, nothing is shown.
Press edit into the draw_image subgraph. You will see the texture resolution is read as 0x0
Now press stop and play again, the texture resolution is now 512x512 and the picture shows.

TODO annotations

When working on some graphs or tools for a certain amount of time, it is useful to keep track of assumptions and missing features. One way to do that already is to simply create annotations.
Vizor could help us out further by harvesting these special TODO annotations so they are listed in a project management box.
A format I have seen used is the following:

TODO(<name of collaborator>) we don't do this necessary feature for now because <this / that but> let's not forget about it when <something> happen

Having the name of the person tagged in this way allows to group these TODOs according to their owner.
It's easy to extend this system to other kind of tags like NOTEs with another prefix.
It would also be quite useful for these to be harvested from shader code as well, so as not to treat them like second class citizen.
With this feature, vizor would immediately gain a small yet pragmatic way of dealing with project management.

Undo

  • add way of addressing any node by path
  • a way for Plugin's UI to report and react to changes in state/model
  • a way for Graph and NodeUI to report changes in graph shape
  • record changes into stack
  • rollback changes from stack -> change graph structure, state by address, and notify UI

Headless integration testing

Build a number of test cases that can be executed quickly, as an intermediate step between unit tests and full-fledged browser integration tests.

  • method of executing graphs headlessly (mock gl?)
  • method of testing graph outputs (via parameterListeners?)
  • implement test case graphs and expect results (a few fundamental system assertions)
  • add as part of npm test

Hotkeys for input proxy/output proxy/subgraph

These are the three most common plugins that are inserted into graphs, so they should have hotkeys for faster workflows.

Suggestions:
I for input proxy
O for output proxy
G for subgraph

Use case:
Hit G and the "Name new graph" dialog is opened. User puts in a name and the subgraph is created.
Hit I and a new input proxy with the default name (input-n) is created in the graph.
Hit O and a new output proxy with the default name is created in the graph.

Marquee selection freezes on screen in a certain mesh preset subgrapoh

To reproduce:

  1. new graph, press play
  2. load the preset: mesh with camera material and light and transforms
  3. go inside the mesh subgraph
  4. load a plugin using the search box: mesh/null
  5. disconnect the existing "cube" mesh from the mesh slot in "mesh" subgraph
  6. connect the "null" plugin to that mesh slot
  7. use a marquee to select the 3 orbit camera sliders
  8. blue marquee square should now freeze on the edit canvas

Screenshots attached.

marquee-freeze-bug-2
marquee-freeze-bug-1

Get rid of synchronous XHR calls

Most calls to XHR assume synchronous XHR is available, which causes load-time/initialization issues when it is not. Get rid of the ancient synchronous XHR calls.

Window resizing problem

window-resizing-problem

After some mysterious combination on web browser window resizing create.vizor.io renders wider than web browser window causing horizontal scroll bar to be displayed.

Google Chrome version 39.0.2171.95 m

Logging system improvements

  • replace msg() with a proper logging system (Tattletale.js?)
  • report error stack traces somewhere (Papertrail?)
  • send server logs too (winston + Papertrail?)

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.