Fourier series: From heat flow to circle drawings

This is interresting; the code with json is available ; is there a way to use json code with grasshopper?

JSON (i.e. JavaScript Object Notation) is not a programming language, but a (really nice) language-independent, human readable, key/value based file format. You can use the standard Python json module in GHPython to read/write these. I believe P5 is the JavaScript flavour of Processing. As there is no JavaScript interpreter in Grasshopper (that I know of), your best bet is probably to implement the code in e.g. GHPython or C#.

1 Like

Could it help ?

1 Like

That’s nice i will try it ; looks like it is the solution

That’s cool ; thank you very much