Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kubrianity/js-unreal-webcam-fun

This is a JavaScript Webcam project which can customize the video effect and take a picture
https://github.com/kubrianity/js-unreal-webcam-fun

Last synced: 30 days ago
JSON representation

This is a JavaScript Webcam project which can customize the video effect and take a picture

Awesome Lists containing this project

README

        

# JavaScript 30 #19: js-unreal-webcam-fun
This is a JavaScript Webcam project which can take a picture and customize the video effect.

This is the nineteenth practice of JavaScript30 Challenge.
## Installation
Clone this repository with the following command
```
git clone https://github.com/Kubrianity/js-unreal-webcam-fun.git
```
Change directory to the cloned folder
```
cd js-unreal-webcam-fun
```
Make sure that node and npm installed globally on your machine
```
node -v // node version installed on your machine
npm -v // npm version installed on your machine
```
Now install project dependencies and then start with the following commands
```
npm install
npm start
```
You will be able to view the project at your server written in the command prompt
http://localhost:3000

### Usage & Features
- Reaching media devices of users and adjusting the size of it with canvas size
- Taking picture with snap sound and enabling users to download them
- redEffect() function modifies the raw pixel datas corresponding to red colour
- rgbSplit() function gives glitch-like appearance by modifying the raw pixel datas corresponding to RGB values
- greenScreen() function provides treshold effect by changing the pixel data corresponding to transparency / alpha value