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
When dual:true is passed as option to the graph() function, then the geometry is dualized before rendering.
This works for points and lines: they are rendered as their Hodge duals, that is, as lines, resp., points.
However line segments and polygons are currently not dualized.
I think the problem might be solved in ganja.js at line 809 by dualizing instances of Arrays, too, before rendering, following the example of the above ganja demo and flattening them at the same time.
It's not a high priority issue. If I were more adept at javascript and git I would attempt the solution myself, and I will aim to do that in the next weeks.
The text was updated successfully, but these errors were encountered:
When dual:true is passed as option to the graph() function, then the geometry is dualized before rendering.
This works for points and lines: they are rendered as their Hodge duals, that is, as lines, resp., points.
However line segments and polygons are currently not dualized.
See https://enki.ws/ganja.js/examples/coffeeshop.html#v_k4dXh7a for an ganja demo demonstrating the problem.
I think the problem might be solved in ganja.js at line 809 by dualizing instances of Arrays, too, before rendering, following the example of the above ganja demo and flattening them at the same time.
It's not a high priority issue. If I were more adept at javascript and git I would attempt the solution myself, and I will aim to do that in the next weeks.
The text was updated successfully, but these errors were encountered: