I'm generating a grid of hexagons by using a for loop and I'm having some issues      for (var i=0; i <= rows; i++) {         for (var j=0; j <= cols; j++) {             ctx.save();             ctx.translate(0+i*distX, 0+j*distY);...
Apologies for my complete lack of javascript intuition, but I was wondering if it is possible to change properties of a particles.js object dynamically:  I'm using jQuery to detect when a user moves a slider on the screen (successfully). However,...
I'm back for question two on .points. This time wondering how to change the opacity from 0, to 1 and then back within certain pixel distances from the emitter.   var particleCount = 14, particles = new THREE.Geometry(), pMaterial = new THREE.Poin...
I'm creating a web app which has an interactive background with particles bouncing around. At all times there are about 200 circular particles on the screen and at most around 800 particles. Some of the collisions and effects that are being run f...
I'm in the process of building an entity system for a canvas game. This started from a simple particle emitter/updater which I am altering to accommodate a multi-particle/entity generator. Whilst I am usually ok with JavaScript/jQuery I am runnin...
Three particles works as billboards always facing the screen. Since I'm using an animated texture on a plane mesh, I'd like to simulate that effect without using particles. I tried to do:  obj.lookAt(camera.position); obj.up = camera.up;   Bu...
I'm using Particles.js (see here: https://github.com/VincentGarreau/particles.js/ or http://vincentgarreau.com/particles.js/) for a design project.  Is it possible to have multiple images as 'shapes', different 'image.src'? If so...
I have a canvas where I use "fillText" with a string, saying for example "stackoverflow". Then I read the imagedata of the canvas in order to pick out each pixel of that text.   I want to pick the following from the pixel: x position,...
I'm trying to create a clouds fly through similar to this, only with more maneuverability: http://mrdoob.com/lab/javascript/webgl/clouds/  I had no problem creating that using sprites, but I want to improve the performance so I'm trying to us...
I want to create brown smoke blowing up in the sky.  How can I create this?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.