Skip to content

Instantly share code, notes, and snippets.

@hilukasz
Created Mar 6, 2014
Embed
What would you like to do?
me.addSeed = function(_r,_a) {
var r = _r || 0;
var a = _a || 0;
var seed = new FIB.GoldenSeed(0,0);
seed.radius = seed.tradius = r;
seed.angle = seed.tangle = a;
me.seeds.unshift(seed);
return seed;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment