chakravala / chakravala/Grassmann.jl

Question: What is the best approach to visualize the ganja.js examples?

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Julia
Stars
514
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Hi! I'm trying to implement the 2D projective geometric algebra examples from [ganja](https://enkimute.github.io/ganja.js/examples/coffeeshop.html#pga2d_points_and_lines). Implementing the [cheat sheet](https://bivector.net/2DPGA.pdf) and translating the code seems not to hard, but I do not yet understand I should create an interface between Grassmann and the julia plotting ecosystem. So maybe the question is a bit broad, but how can I translate e.g. a point or line (Chain or Multivector) into an "ordinary" 2D point or line which I can plot with Plots/Makie etc.? I saw your nice plots of vectorfields, so it is obviously possible - but maybe you can give or point me to some more examples. :)

Edit: I'm using `@basis "0,1,1"` as basis for 2D PGA, which is hopefully correct. (?)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked ganja.js 2D PGA example and cheat sheet, then inspect the repository's existing vectorfield plotting examples. Determine how the @basis "0,1,1" representation relates to Plots or Makie inputs for points and lines. Done should provide a documented, working path or example for visualizing these geometric objects.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.