Questions tagged [particles]

Particle in computer graphics usually refers to the small, simple images or 3D models (meshes) that are governed by and make up a particle system, usually used to depict a fuzzy object (e.g. fire, smoke, glowing trail left behind by a meteor).

Particle (in computer graphics)

Particles are small units that together represent a fuzzy object in a particle system. Over time the system generates particles, which move and change from the origin of creation (or emission) and eventually die or fade away. Link to academic paper

Particle can have a different meaning depending on if the field is computer graphics, nanotechnology, or physical sciences

788 questions
4
votes
1 answer

Particles.js doesn't continue when I scroll down the page- HTML

So, I made a page in a website, and I used Particles.js for the background. Now, when I scroll down, the particles don't continue down, they stop at the initial corner of the screen, they don't go down if I scroll... these are my particles'…
4
votes
1 answer

Simple particle system on Android using OpenGL ES 1.0

I'm trying to put a particle system together in Android, using OpenGL. I want a few thousand particles, most of which will probably be offscreen at any given time. They're fairly simple particles visually, and my world is 2D, but they will be…
user146043
4
votes
3 answers

Particles JS - How to change background color between lines?

Please, I need help... I have to create a particles JS canvas. It's not really difficult but I have to change the background color between each lines like this : EXAMPLE I browsed all setting provide by particles JS but nothing did something like I…
Kévin HURON
  • 60
  • 1
  • 10
4
votes
1 answer

SpriteKit particle emitter change color

I have created a particle effect using the editor and now I'd like to change particleColor in code. I have set particleColorSequence to nil (otherwise I the colors would come from the color ramp in the editor and not my code) and…
squarehippo10
  • 1,855
  • 1
  • 15
  • 45
4
votes
0 answers

Algorithm to constrain moving point onto 3d surface

I'm not really sure where to start looking for info about this question, so I'm asking here. Hopefully it's not too general. I've written a particle library in C++ and am trying to add the ability to constrain particles to the surface of a mesh. Not…
Tyson
  • 1,226
  • 1
  • 10
  • 33
4
votes
0 answers

How to change speed of physics world for particle effects in Sprite Kit?

I created particle effects using the editor but my app is done in all code (Swift). When I change the speed of the physics world, all my physics bodies slow down just fine. But when I make my particles into a physics body, they do not get affected…
4
votes
1 answer

iOS create falling leaves animations using CAEmitterLayer

I want to create a leaves falling animation this is my code : private func setupEmitter() { let size = self.bounds.size let emitter = CAEmitterLayer() emitter.emitterSize = CGSize(width: size.width, height: 1) …
Chlebta
  • 3,090
  • 15
  • 50
  • 99
4
votes
4 answers

Simulating a candle flame in Objective C

As part of a current project I've been asked to display a candle onscreen. Users should be able to tilt the device to tilt the flame, and perform an action (eg. tap) to blow out the flame. I'm at a real loss on how to achieve this. Some ideas I've…
Ben Williams
  • 4,695
  • 9
  • 47
  • 72
4
votes
6 answers

Projecting a 3d sphere into a 2d circle on the screen

What are some rasterization algorithms that can just project a 3d sphere into a pixel grid? I want to avoid ray casting. Essentially, given a 3d coordinate and a radius, is there a quick way to just create a 2d circle/ellipse on a pixel grid? For…
Herve
4
votes
2 answers

Cannot read property 'getElementsByClassName' of null

I am not sure why I'm getting this javascript error. Having a hard time figuring this one out. Here's my main.js: jQuery( document ).ready( function( $ ) { /* PARTICLES -------------------*/ particlesJS("particles-js", { …
Darren Bachan
  • 735
  • 2
  • 11
  • 30
4
votes
2 answers

Simple 1-D particle swarm optimization algorithm for a noisy environment

I'm experimenting with particle swarm optimisation and am trying to determine the best approach for the following simple scenario: Optimizing a 1-dimensional function (i.e. particles are moving along a single line) The function to be optimised can…
mikera
  • 105,238
  • 25
  • 256
  • 415
4
votes
2 answers

Properly play Particule System component?

How can I properly play the particle system component, which is attached to a GameObject? I also attached the following script to my GameObject but the Particle System does not play. How do I fix this? public Transform gameobject1; public Transform…
user5622430
4
votes
1 answer

How to use HTML5 using particles

http://craftedbygc.com/ this is the URL and I want to use my own logo like this with HTML-canvas. The URL using canvas particle but It is very difficult for me to get it done, can any one help me in understanding this, about how this can be achieved…
Figar Ali
  • 826
  • 1
  • 9
  • 17
4
votes
1 answer

Libgdx - how to rotate the emmition trail of a 3d particle

I have encountered a problem while using libGDX 3D particles. I wanted to change the direction the particles are being emitted. I tried effect.rotate(new Vector3(0, 1, 0)); when my particle starts at point (1, 0, 1), and the emission goes towards…
Fish
  • 1,689
  • 1
  • 18
  • 28
4
votes
1 answer

I want to scale ParticleEffect - Libgdx

Basically my problem is simple - I have a ParticleEffect which looks nice on small screen but on my private phone (Samsung S4) it looks very small. My question is: How can I scale the effect? I have already done something like this: // Callback…
David Lasry
  • 1,407
  • 4
  • 26
  • 43