This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:extend{ | |
{ | |
type = "noise-function", | |
name = "resource_autoplace_all_patches", | |
parameters = | |
{ | |
"base_density", | |
"base_spots_per_km2", | |
"candidate_spot_count", | |
"frequency_multiplier", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Get a center of an element. | |
* | |
* @method getCenter | |
* @param {Element} el jQuery element | |
* @return {Object} Point | |
* @author Genhis | |
*/ | |
function getCenter(el){ | |
return { |