Create a Poisson Disk Sampling function to regularly dispatch graphical items over a given area
Open, Needs TriagePublic

Description

Poisson Disk Sampling function allows to regularly dispatch graphical items over a given area. This could be useful for activities like count items or others where pupils needs to see all the elements. Dispatching randomly items can result to overlapping items in which cases some elements can be hidden.
Using js code would ease the usage of this function. The function could be saved in core_rcc_core_ressource directory into a js file (like it is done for virtualkeyboard_worker.js.
Here is a link that could maybe help.
https://github.com/kchapelier/poisson-disk-sampling/blob/master/build/poisson-disk-sampling.js
If it works and the license allows it to be used.