WebMonkeys | Massively parallel GPU programming on JavaScript , simple | Architecture library

 by   MaiaVictor JavaScript Version: Current License: MIT

kandi X-RAY | WebMonkeys Summary

kandi X-RAY | WebMonkeys Summary

WebMonkeys is a JavaScript library typically used in Architecture, Nodejs applications. WebMonkeys has no vulnerabilities, it has a Permissive License and it has medium support. However WebMonkeys has 1 bugs. You can download it from GitHub.

Allows you to spawn thousands of parallel tasks on the GPU with the simplest, dumbest API possible. It works on the browser (with browserify) and on Node.js. It is ES5-compatible and doesn't require any WebGL extension.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              WebMonkeys has a medium active ecosystem.
              It has 1144 star(s) with 57 fork(s). There are 37 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 10 open issues and 4 have been closed. On average issues are closed in 30 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of WebMonkeys is current.

            kandi-Quality Quality

              WebMonkeys has 1 bugs (0 blocker, 0 critical, 1 major, 0 minor) and 0 code smells.

            kandi-Security Security

              WebMonkeys has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              WebMonkeys code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              WebMonkeys is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              WebMonkeys releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              WebMonkeys saves you 7 person hours of effort in developing the same functionality from scratch.
              It has 21 lines of code, 0 functions and 11 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed WebMonkeys and discovered the below as its top functions. This is intended to give you an instant insight into WebMonkeys implemented functionality, and help decide if they suit your requirements.
            • Main map function
            • drawscreen time
            Get all kandi verified functions for this library.

            WebMonkeys Key Features

            No Key Features are available at this moment for WebMonkeys.

            WebMonkeys Examples and Code Snippets

            No Code Snippets are available at this moment for WebMonkeys.

            Community Discussions

            Trending Discussions on WebMonkeys

            QUESTION

            Hello world example of WebGL parallelism
            Asked 2018-Apr-25 at 14:40

            There are many abstractions around WebGL for running parallel processing it seems, e.g.:

            But I am having a hard time understanding what a simple and complete example of parallelism would look like in plain GLSL code for WebGL. I don't have much experience with WebGL but I understand that there are fragment and vertex shaders and how to load them into a WebGL context from JavaScript. I don't know how to use the shaders or which one is supposed to do the parallel processing.

            I am wondering if one could demonstrate a simple hello world example of a parallel add operation, essentially this but parallel form using GLSL / WebGL shaders / however it should be done.

            ...

            ANSWER

            Answered 2018-Apr-25 at 14:40

            First off, WebGL only rasterizes points, lines, and triangles. Using WebGL to do non rasterization (GPGPU) is basically a matter of realizing that the inputs to WebGL are data from arrays and the output, a 2D rectangle of pixels is also really just a 2D array so by creatively providing non graphic data and creatively rasterizing that data you can do non-graphics math.

            WebGL is parallel in 2 ways.

            1. it's running on a different processor, the GPU, while it's computing something your CPU is free to do something else.

            2. GPUs themselves compute in parallel. A good example if you rasterize a triangle with 100 pixels the GPU can process each of those pixels in parallel up to the limit of that GPU. Without digging too deeply it looks like an NVidia 1080 GPU has 2560 cores so assuming they are not specialized and assuming the best case one of those could compute 2560 things in parallel.

            As for an example all WebGL apps are using parallel processing by points (1) and (2) above without doing anything special.

            Adding 10 to 10000 elements though in place is not what WebGL is good at because WebGL can't read from and write to the same data during one operation. In other words, your example would need to be

            Source https://stackoverflow.com/questions/50013385

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install WebMonkeys

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/MaiaVictor/WebMonkeys.git

          • CLI

            gh repo clone MaiaVictor/WebMonkeys

          • sshUrl

            git@github.com:MaiaVictor/WebMonkeys.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link