All Projects → vaneenige → Phenomenon Px

vaneenige / Phenomenon Px

Licence: mit
⚡️ The fastest way to create pixel shaders.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Phenomenon Px

Three.phenomenon
⭐️ A tiny wrapper around three.js built for high-performance WebGL experiences.
Stars: ✭ 338 (+338.96%)
Mutual labels:  wrapper, webgl, shader
Webgl Wind
Wind power visualization with WebGL particles
Stars: ✭ 601 (+680.52%)
Mutual labels:  webgl, gpu
Glchaos.p
3D GPUs Strange Attractors and Hypercomplex Fractals explorer - up to 256 Million particles in RealTime
Stars: ✭ 590 (+666.23%)
Mutual labels:  webgl, gpu
Jetsonjs
Embed a JavaScript/WebGL application on a Nvidia Jetson TX2 and stream the results through websockets. It does not rely on CUDA/Jetpack. HDMI touchscreen, virtual keyboard, GPIO control, wifi config are included.
Stars: ✭ 18 (-76.62%)
Mutual labels:  webgl, gpu
Detect Gpu
Classifies GPUs based on their 3D rendering benchmark score allowing the developer to provide sensible default settings for graphically intensive applications.
Stars: ✭ 460 (+497.4%)
Mutual labels:  webgl, gpu
Regl Cnn
Digit recognition with Convolutional Neural Networks in WebGL
Stars: ✭ 490 (+536.36%)
Mutual labels:  webgl, gpu
Tensorflow.jl
A Julia wrapper for TensorFlow
Stars: ✭ 822 (+967.53%)
Mutual labels:  wrapper, gpu
Aladino
🧞‍♂️ Your magic WebGL carpet
Stars: ✭ 225 (+192.21%)
Mutual labels:  webgl, shader
Computesharp
A .NET 5 library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
Stars: ✭ 982 (+1175.32%)
Mutual labels:  shader, gpu
Curtainsjs
curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.
Stars: ✭ 1,039 (+1249.35%)
Mutual labels:  webgl, shader
Gpu Spline Deformation
Baking spline deformation to a texture then applying it to a mesh via a shader.
Stars: ✭ 52 (-32.47%)
Mutual labels:  shader, gpu
Stablefluids
A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.
Stars: ✭ 430 (+458.44%)
Mutual labels:  shader, gpu
Unity Miscellaneous Shaders
Miscellaneous Shaders in Unity, WIP(maybe?)
Stars: ✭ 403 (+423.38%)
Mutual labels:  shader, gpu
Gpu Gems Book Source Code
💿 CD Content ( Source Code ) Collection of Book <GPU Gems > 1~ 3 | 《GPU精粹》 1~ 3 随书CD(源代码)珍藏
Stars: ✭ 567 (+636.36%)
Mutual labels:  shader, gpu
Cuda Api Wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
Stars: ✭ 362 (+370.13%)
Mutual labels:  wrapper, gpu
Unity3d Cg Programming
Various shaders.
Stars: ✭ 800 (+938.96%)
Mutual labels:  shader, gpu
Webclgl
GPGPU Javascript library 🐸
Stars: ✭ 313 (+306.49%)
Mutual labels:  webgl, gpu
Glsl Worley
Worley noise implementation for WebGL shaders
Stars: ✭ 66 (-14.29%)
Mutual labels:  webgl, shader
Fieldplay
A vector field explorer
Stars: ✭ 922 (+1097.4%)
Mutual labels:  webgl, gpu
Glsl Grid
Draws an antialiased grid along the X/Y/Z direction of a mesh.
Stars: ✭ 57 (-25.97%)
Mutual labels:  webgl, shader

Phenomenon-px

npm version gzip size license dependencies

Phenomenon-px is the fastest way to create pixel shaders. With its simple API and small size all focus is on your code!

Install

$ npm install --save phenomenon-px

Usage

// Import the library
import Phenomenon from 'phenomenon-px';

// Create the pixel shader
Phenomenon(fragment, uniforms, render, canvas);

API

Phenomenon(fragment, uniforms, render, canvas)

Creates a new instance of Phenomenon-px.

fragment

Type: string

The fragment shader that will be applied to all pixels on the canvas.

uniforms

Type: Object

An object with uniforms that can be used in the shader program.

render(uniforms)

Type: function

A function that is called on every frame that can be used to update uniforms.

canvas

Type: HTMLElement
Default: document.querySelector('canvas')

The canvas that will be used to render the shaders on.

Contribute

Are you excited about this library and have interesting ideas on how to improve it? Contribute! 🙌

$ npm install; npm run demo;

License

MIT © Colin van Eenige

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].