All Projects → AndreiRudenko → sparkler

AndreiRudenko / sparkler

Licence: Zlib License
Modular Macro-powered Particle System for haxe

Programming Languages

haxe
709 projects

Projects that are alternatives of or similar to sparkler

Proton
Javascript particle animation library
Stars: ✭ 1,958 (+12137.5%)
Mutual labels:  particles, particle-system
Newtonian-Particle-Simulator
C# OpenGL Particle Simulation, GPU accelerated
Stars: ✭ 131 (+718.75%)
Mutual labels:  particles, particle-system
nBody
GPU-accelerated N-Body particle simulator with visualizer.
Stars: ✭ 28 (+75%)
Mutual labels:  particles, particle-system
Konfetti
Celebrate more with this lightweight confetti particle system 🎊
Stars: ✭ 2,278 (+14137.5%)
Mutual labels:  particles, particle-system
generator-nitro
Your frontend? Fuel it with Nitro! Develop your frontend with a proven but flexible Node.js app, even in a large team.
Stars: ✭ 65 (+306.25%)
Mutual labels:  modular
octicons-modular
GitHub Octicons with tree-shaking support and icon-per-file style.
Stars: ✭ 25 (+56.25%)
Mutual labels:  modular
modular-starter-kit
The starter kit with entire modular approach to help remove boilerplate code in developing
Stars: ✭ 14 (-12.5%)
Mutual labels:  modular
build
Build system scripts based on GENie (https://github.com/bkaradzic/genie) project generator
Stars: ✭ 30 (+87.5%)
Mutual labels:  modular
haxeui-kha
The Kha backend of the HaxeUI framework -
Stars: ✭ 38 (+137.5%)
Mutual labels:  kha
Galaxia-Runtime
Galaxy generator for Unity 3D, with Custom Particle Distributors, DirectX 11 Particles and Highly customization, curve driven Generation.
Stars: ✭ 36 (+125%)
Mutual labels:  particles
PySDM
Pythonic particle-based (super-droplet) warm-rain/aqueous-chemistry cloud microphysics package with box, parcel & 1D/2D prescribed-flow examples in Python, Julia and Matlab
Stars: ✭ 26 (+62.5%)
Mutual labels:  particle-system
aura
A fast and lightweight 3D audio engine for Kha.
Stars: ✭ 31 (+93.75%)
Mutual labels:  kha
SPConfetti
Show the confetti only when the user is having fun, and if not having fun, don't show it.
Stars: ✭ 187 (+1068.75%)
Mutual labels:  particles
pedalevite
Pédale Vite — DIY multi-FX pedalboard for guitar/bass/etc.
Stars: ✭ 68 (+325%)
Mutual labels:  modular
SuperParticles
Amazing CPU-friendly particle network animations
Stars: ✭ 32 (+100%)
Mutual labels:  particles
Aboria
Enables computations over a set of particles in N-dimensional space
Stars: ✭ 83 (+418.75%)
Mutual labels:  particles
tune
Make xenharmonic music and create synthesizer tuning files for microtonal scales.
Stars: ✭ 73 (+356.25%)
Mutual labels:  modular
power-mode-input
PowerModeInput can make your text input box more compelling
Stars: ✭ 68 (+325%)
Mutual labels:  particles
midori
🔧 advanced modular discord bot
Stars: ✭ 44 (+175%)
Mutual labels:  modular
spark-particle-uv
Demo of how to sample the camera texture and map it to particles.
Stars: ✭ 25 (+56.25%)
Mutual labels:  particles

Sparkler

A modular 2d particle system.

Features

  • Macro-powered.
  • Customizable.
  • You can create custom ParticleModule to extend functionality.
  • Local/World Space rendering.
  • Multiple frameworks support: Kha and Clay for now.

Sample Usage

var emitter = new ParticleEmitter<
	ColorListOverLifetimeModule,
	InitialVelocityModule,
	KhaSpriteRendererModule
>({
	cacheSize: 512,
	lifetime: 2,
	emitterLifetime: 5,
	emitRate: 50,
	colorListOverLifetime: {
		ease: null,
		list: [
			{
				time: 0,
				value: 0xFFFF0000
			},
			{
				time: 0.5,
				value: 0xFFFF00FF
			},
			{
				time: 1,
				value: 0x00FF00FF
			}
		]
	},
	initialVelocity: {x: 0, y: -200},
	khaSpriteRenderer: {
		image: kha.Assets.images.particle
	},
	sortFunc: function(a, b) {
		return a.age < b.age ? 1 : -1;
	}
});

emitter.start();

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].