Giter Club home page Giter Club logo

interactive-particles's Introduction

Interactive Particles with Three.js

A tutorial demonstrating how to draw a large number of particles with Three.js and an efficient way to make them react to mouse and touch input using an off-screen texture.

cover

Article on Codrops

Demo

Run

  • Install npm install
  • Run npm start
  • Build npm run build

Libraries

License

This resource can be used freely if integrated or build upon in personal or commercial projects such as websites, web apps and web templates intended for sale. It is not allowed to take the resource "as-is" and sell it, redistribute, re-publish it, or sell "pluginized" versions of it. Free plugins built using this resource should have a visible mention and link to the original work. Always consider the licenses of all included libraries, scripts and images used.

Misc

Follow Bruno Imbrizi: Twitter, Codepen, GitHub

Follow Codrops: Twitter, Facebook, Google+, GitHub, Pinterest, Instagram

ยฉ Codrops 2018

interactive-particles's People

Contributors

brunoimbrizi avatar crnacura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

interactive-particles's Issues

Inverted Particles

I'm just curious as to how you would approach inverting the particles so that you discard particles that are lighter than a certain threshold, so as to use this on a light background as opposed to a dark background.

I'm still really new to this, any help would be greatly appreciated!

multitouch interaction

first off all, I learned a lot of webgl and threejs while I read your code, thenks therefore.

Actually I try to integrate multitouch interaction to draw the particles with 2-3 fingers. maybe you can give me a tip on which places I can best integrate this.

Help Required

I'm New to Web development, Can you help me, how can I run this in local-host.

Thanks

Not mobile frinedly

Testted the deme URL on Android 11 suing Chrome as a browser...
It wasn't response and the touching effect doesnt match where the finder is placed on the screen
If you could advise, on how to reolsve I can try it and then open a PR accordingly.

###renderer ERROR

#small issue with renderer ๐Ÿ˜Ÿ
This is a deprecated version. it brought an ERROR!
thus the solution was to change renderer to render (vscode 2022)
however,
renderer may work on older versions or other IDE(s).:smirk:

Demo not working

When I try to access the demo I get the following errors in console (Firefox 96.0.3 (64-bit));

THREE.WebGLRenderer: Error creating WebGL context. index.73f6680635ea0c7249d7.js:13:357916
Uncaught TypeError: t is null index.73f6680635ea0c7249d7.js:13:358974

Any ideas how I can fix? Cheers

Removing Control Panel

I'm really new to WebGL and this stuff so I'm having a hard time removing the control panel. Can someone please guide me, which files/code I need to remove to completely remove the control panel.
Please help me @brunoimbrizi

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.