Giter Club home page Giter Club logo

pex-next's Issues

Installing non existing module

When installing non existing module there is no page reload and no error or warning.

The server doesn't crash though.

General Architecture

Currently considering multiple approaches:

1 - Low level intermediate mode (kind of stack-gl-ish, but also more like Foam)
https://github.com/vorg/pex-next/blob/master/00-core/basic.js

  • more control but also more boilerplate
  • less hidden state
  • no automagic

2 - Game-engine / Vulkan / Metal like command oriented renderer
https://github.com/vorg/pex-next/blob/master/01-draw-command/basic.js

  • more functional / data driven
  • potentially easier to optimize (state switching, batching)

3 - Even more OOP? SceneGraph?

shader program

I'm working on ShaderProgram abstractions that right now are not very tied to any particular framework. They are like gl-shader but with a bit more focus on modularity, simplicity, performance and developer UX.

var shader = createShader(gl, { vertex: '...', fragment: '...' })

//use program
shader.bind()

//gl.uniform1f
shader.uniforms.lights[0].radius(2)

//gl.getUniform
var radius = shader.uniforms.lights[0].radius()

//set explicit locations, to be used with VAO extension
shader.reload({ vertex: ..., fragment: ..., attributes: [ { name: 'uv', location: 2 } ])

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.