Create density points on a curve using attractor points

Hi guys, I want to replicate this exercise from grasshopper, and create a grid with different densities, that are controlled by the proximity to attractor points. (all of this to then be applied to a parametric facade).
Like in the following picture.
any suggestion??

Well the general logic is obviously the same. So really this is just about getting familiar with Dynamo and what it has available. I would strongly suggest going through the Dynamo Primer. It has walkthroughs, examples, and lots of information on all the basics as well as a few more advanced topics. Once you get started with your Dynamo approach you can start to ask specific questions about specific issues you may run into.