You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good question for d3. My understanding is that d3 is mainly focused on manipulating the DOM while p5 essentially lives in a canvas element. D3 seems to be a higher level way to present your data and shines at creating charts and tables and this kind of visualizations while p5 is more about "lower level" drawing with primitives like circle and rect, some vector math, some pixel manipulation etc.
But that is only my basic understanding from quickly glancing at d3 docs. I plan to explore Three.js and d3.js in future projects to get a better understanding of what they can and can't do.
Activity
[-]"Using glsl shaders in p5js for the first time"[/-][+]"A first exploration of shaders with p5js"[/+]pyrho commentedon May 1, 2021
Interesting stuff, thank you for sharing.
How would you say p5 compares to d3 ?
statox commentedon May 3, 2021
Glad you enjoyed @pyrho :)
Good question for d3. My understanding is that d3 is mainly focused on manipulating the DOM while p5 essentially lives in a canvas element. D3 seems to be a higher level way to present your data and shines at creating charts and tables and this kind of visualizations while p5 is more about "lower level" drawing with primitives like
circleandrect, some vector math, some pixel manipulation etc.But that is only my basic understanding from quickly glancing at d3 docs. I plan to explore Three.js and d3.js in future projects to get a better understanding of what they can and can't do.