SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
Geometric Algebra
     Part 2: Applications and the state of the art




 “... provides a single, simple mathematical framework which 
eliminates the plethora of diverse mathematical descriptions and 
                          techniques”
                                        [McRobie and Lasenby, 1999]



              Vitor Fernando Pamplona
Review: Geometric Product
• Outer product spans                               e2
                                                          2D

             1 e1 ∧  2 e2 = 1  2 e1 e2

• Inner product projects                            O              e1
              12 e1 ∧ e2 ⋅ e2 =  12 e1                 e1 ∧ e2



• Geometric Product
                      vu = v ⋅u  v ∧ u


               Inner product        Outer product
Review: Multivector
• Unique n­dimensional structure

      vℜ 3 =                                        Scalar
               e1   e2   e3                    Vector
               e1 e2   e1 e3   e2 e3           2­Blade
               e1 e2 e3                            3­Blade




                               mv 3 = 3 e1 ∧ e3 − 2 e2 ∧ e3
Overview
• Homogeneous Model

• Conformal Model

• Meet / Join

• Framework Gaigen

• nD­Voronoi Diagram

• CliffoSor: GA processor

• Physical Modelling using GA

• Future Readings
Homogeneous Model
• Generalization to homogeneous coordinates of VA

• Affine and projective transformations

• Adds one dimension to working space

• There are no changes in basic operations
          e0                        e0

                   p                             p
               p                         q           P
                       P                     Q
                           R²                            R²
                                                         pΛq
Conformal Model
• Adds 2 new orthogonal dimensions                 e0 e∞

• It is a Minkowski space.

• Changes some operations                e2 =1
                                          ∞          e2=−1
                                                      0           e∞⋅e0=0

• Euclidean to Conformal GA Model
           a =0, ∞ ,  x ,  y , z =1, 1/2 a 2 ,a x ,a y ,a z



                                       C= p11∧p22∧p333∧ e∞
                                       E =p ∧ p2∧ p ∧ p4
                                       N 1 ∧p ∧p
Meet and Join
Framework Gaigen
• Geometric Algebra C/C++ Code Generator

• Version 1.0 released 1,5 years ago. 

• Generates the same code of GAP framework. 

• 8­Dimensional Limit.



• Free Software :: http://gaigen.sourceforge.net

• From Daniel Fontijne at University of Amsterdan

• Version 2.0 will generate Java code too. 
Why an nD­Voronoi Diagram?
• Raytracer benchmark
                                                   [Fontijne, D. & Dorst,2003]

           Model Implem.        Full Rend Time (s) Memory (MB)
           3DLA Standard               1.00           6.2
           3DGA Gaigen                 2.56           6.7
           4DLA Standard               1.05           6.4
           4DGA Gaigen                 2.97           7.7
           5DGA Gaigen                 5.71           9.9


•    3DLA: Linear Algebra
•    3DGA: Geometric Algebra
•    4DLA: Homogeneous coordinates
•    4DGA: Homogeneous model
•    5DGA: Conformal model
Edelsbrunner's idea 
• Algorithm

VoronoiDiagram edelsbrunner(Points S)
                                          O
1. Create a new orthogonal dimension 
2. Build the paraboloid R
                n− 1                    http://www.ics.uci.edu/~eppstein/junkyard/nn.html
                        2
             x n= ∑ x   i
                i= 0


3. For each point P
   4. P' = projection of P on the paraboloid R
   5. H  = the hyperplane tangent to paraboloid R in P'
6. End for
7. Project the upper­envelope of H's on initial dimension.
Edelsbrunner with Geometric Algebra
1. D+2 Geometric Algebra Solution     ... edelsbrunner(Points S)

    •                         e
      Edelsbrunner paraboloid    ∞    1. New dimension 

      Homogeneous model e 0
                                      2. Build paraboloid R
    •
                                      3. For each point p
                                           4. p'= proj. of p on R
                                           5. H= tangent to R in p'
2. Step 2 is not needed
                                      6. End for
                                      7. Proj. the upper­envelope 
4. Project p on R
              p 
         p '=  p 2 e∞
                                                              
                                                          2 p 2 e∞
                                                        p
                              H T= p '∧d u a l  ∧
                                                p
                                                     ∣∣∗ 1 4 p 2
5. Find hyperplane tangent                            p  
Edelsbrunner with Geometric Algebra
7. Project the upper­envelope of       ... edelsbrunner(Points S)
   hyperplanes on the d­2              1. New dimension 
   dimension.                          2. Build paraboloid R
                                       3. For each point p
backTracking(hypercube F)                  4. p'= proj. of p on R
1. if (lowestGrade(F) == 2)                5. H= tangent to R in p'
   2. F=meet(F,each out of stack HP)   6. End for
   3. add lowestGrade(F) to Voronoi.   7. Proj. the upper­envelope 
4. else 
   5. for each out of stack HP
                                       Flag: Hierarchy of half­
       6. F=meet(F, HP)
       7. BackTracking(F)
                                          spaces with the lowest 
       8. F = removeLowestGrade(F)        level is a pair of points. 


backTracking(hypercube bounding box)
The Benchmark 
                       42  points in 2D    16 points in 2D
         Qhull         0.004 + /­ 0.001    0.003 + /­ 0.000
         Zaharia      32.127 + /­ 0.546    1.512 + /­ 0.005
         Pam plona     0.592 + /­ 0.006    0.080 + /­ 0.004

●
    Time in seconds
●
    Each test was performed 5 times
●
    Test Architecture:
    ●
        Processor: Athlon 64, 2800+, 1800Mhz, 97% Free
    ●
        Memory: 1 GB RAM / 600 MB Free
    ●
        OS: Gentoo Linux, install from Stage 1.
    ●
        Qhull version: 3.1­r1
    ●
        Zaharia GAP version
Problems 
●
    Precision problems
    ●
        Work with high precision numbers: 10­16 ... 10 8
    ●
        Easy to get Double.NAN
●
    Easy to get unreported edges
●
    Infinity edges, no bounding box
●
    Work with higher dimensions?
●
    Need backtracking algorithm? 
    ●
        Search Hyperplane neighbors? 
    ●
        Kd­trees, Quadtrees, Octrees 
CliffoSor
• Parallel Embedded Architecture for GA.

• Multiplications, additions in 4D and 3D rotations.

• Operations in Parallel

• Gaigen 1.0 vs CliffoSor

   – Gaigen: 256 clock cycles

   – CliffoSor: 64 clock cycles

   – Test made with 500.000 geometric products.
Physical Modelling using GA
• Particle Dynamics without GA

• Rigid Body Dynamics with GA

• Collision Detection with GA

   – Bounding Spheres

   – Segment Triangle Intersection

• Collision Response with GA

• Conclusions

   – Mathematics simplification in the collision detection 

   – Needs experience with GA
Physical Modelling: Future Works
• Hardware parallelism
   – outer, inner and geometric products

• Advanced Collision Detection:
   – Oct­trees
   – Sphere­trees
Future Works
• CGA in Computer Vision

• Clifford Fourier Transform

• Derivatives and Integrals

• Generalization of Quaternions

• Inverse Kinematics with dual of Quaternions

• Interpolation with CGA

• Mesh deformation
References
•   Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical 
    applications (part II: aplications) IEEE Computer Graphics and Applications, 2002, 1

•   Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical 
    applications (part I: algebra) IEEE Computer Graphics and Applications, 2002, 1, 24­31

•   Fontijne, D. & Dorst, L. Modeling 3D Euclidean Geometry IEEE Computer Graphics and 
    Applications, 2003

•   Macdonald, A. A Survey of Geometric Algebra and Geometric Calculus, 2005

•   Vaz, J.J. A álgebra geométrica do espaço euclidiano e a teoria de Pauli Revista 
    Brasileira de Ensino de Física, 1997, 19, 234­259

•   Zaharia, M.D. & Dorst, L. The Interface Spec. and Implementation Internals of a 
    Program Module for Geometric Algebra University of Amsterdam, 2003

Mais conteúdo relacionado

Semelhante a Geometric Algebra Applications and State of the Art

Algebra 2 - Ch. 5 Review
Algebra 2 - Ch. 5 Review Algebra 2 - Ch. 5 Review
Algebra 2 - Ch. 5 Review Ms Delanie
 
Five Minutes Introduction For Rails
Five Minutes Introduction For RailsFive Minutes Introduction For Rails
Five Minutes Introduction For RailsKoichi ITO
 
3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Modelssmiller5
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & ExpressionsRich Price
 
The Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 ExpoThe Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 ExpoVenture Hacks
 
4200 Kte7.0 Training V1.0
4200 Kte7.0 Training V1.04200 Kte7.0 Training V1.0
4200 Kte7.0 Training V1.0wayneliao
 
GIPA
GIPAGIPA
GIPAESUG
 
How to avoid drastic project change (using stochastic stability)
How to avoid drastic project change (using stochastic stability)How to avoid drastic project change (using stochastic stability)
How to avoid drastic project change (using stochastic stability)CS, NcState
 
Product Design 1-Final Presentation
Product Design 1-Final PresentationProduct Design 1-Final Presentation
Product Design 1-Final PresentationHanhsiang Tsai
 
A Re-Introduction to JavaScript
A Re-Introduction to JavaScriptA Re-Introduction to JavaScript
A Re-Introduction to JavaScriptSimon Willison
 
ブラウザでMap Reduce風味の並列分散処理
ブラウザでMap Reduce風味の並列分散処理ブラウザでMap Reduce風味の並列分散処理
ブラウザでMap Reduce風味の並列分散処理Shinya Miyazaki
 
テンプレート管理ツール r3
テンプレート管理ツール r3テンプレート管理ツール r3
テンプレート管理ツール r3Ippei Ogiwara
 
『Ficia』インフラとPerlにまつわるエトセトラ
『Ficia』インフラとPerlにまつわるエトセトラ『Ficia』インフラとPerlにまつわるエトセトラ
『Ficia』インフラとPerlにまつわるエトセトラMasaaki HIROSE
 
A Game-play Architecture for Performance
A Game-play Architecture for PerformanceA Game-play Architecture for Performance
A Game-play Architecture for Performancetektor
 

Semelhante a Geometric Algebra Applications and State of the Art (20)

Algebra 2 - Ch. 5 Review
Algebra 2 - Ch. 5 Review Algebra 2 - Ch. 5 Review
Algebra 2 - Ch. 5 Review
 
Five Minutes Introduction For Rails
Five Minutes Introduction For RailsFive Minutes Introduction For Rails
Five Minutes Introduction For Rails
 
3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & Expressions
 
The Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 ExpoThe Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 Expo
 
4200 Kte7.0 Training V1.0
4200 Kte7.0 Training V1.04200 Kte7.0 Training V1.0
4200 Kte7.0 Training V1.0
 
From Work To Word
From Work To WordFrom Work To Word
From Work To Word
 
20 Jo P Aug 08
20 Jo P Aug 0820 Jo P Aug 08
20 Jo P Aug 08
 
GIPA
GIPAGIPA
GIPA
 
Mapreduce Pact06 Keynote
Mapreduce Pact06 KeynoteMapreduce Pact06 Keynote
Mapreduce Pact06 Keynote
 
How to avoid drastic project change (using stochastic stability)
How to avoid drastic project change (using stochastic stability)How to avoid drastic project change (using stochastic stability)
How to avoid drastic project change (using stochastic stability)
 
Product Design 1-Final Presentation
Product Design 1-Final PresentationProduct Design 1-Final Presentation
Product Design 1-Final Presentation
 
A Re-Introduction to JavaScript
A Re-Introduction to JavaScriptA Re-Introduction to JavaScript
A Re-Introduction to JavaScript
 
ブラウザでMap Reduce風味の並列分散処理
ブラウザでMap Reduce風味の並列分散処理ブラウザでMap Reduce風味の並列分散処理
ブラウザでMap Reduce風味の並列分散処理
 
テンプレート管理ツール r3
テンプレート管理ツール r3テンプレート管理ツール r3
テンプレート管理ツール r3
 
gen_paxos
gen_paxosgen_paxos
gen_paxos
 
『Ficia』インフラとPerlにまつわるエトセトラ
『Ficia』インフラとPerlにまつわるエトセトラ『Ficia』インフラとPerlにまつわるエトセトラ
『Ficia』インフラとPerlにまつわるエトセトラ
 
Practical Groovy DSL
Practical Groovy DSLPractical Groovy DSL
Practical Groovy DSL
 
Grails紹介
Grails紹介Grails紹介
Grails紹介
 
A Game-play Architecture for Performance
A Game-play Architecture for PerformanceA Game-play Architecture for Performance
A Game-play Architecture for Performance
 

Mais de Vitor Pamplona

Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH PresentationTailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH PresentationVitor Pamplona
 
CATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of CataractsCATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of CataractsVitor Pamplona
 
Netra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYCNetra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYCVitor Pamplona
 
Unusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRAUnusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRAVitor Pamplona
 
Photorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern DeformationPhotorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern DeformationVitor Pamplona
 
NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010Vitor Pamplona
 
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...Vitor Pamplona
 
Introdução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon MappingIntrodução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon MappingVitor Pamplona
 
Algoritmo de Photon Mapping
Algoritmo de Photon MappingAlgoritmo de Photon Mapping
Algoritmo de Photon MappingVitor Pamplona
 
Performance Analysis: C vs CUDA
Performance Analysis: C vs CUDAPerformance Analysis: C vs CUDA
Performance Analysis: C vs CUDAVitor Pamplona
 
Propagação de Incerteza em Medições
Propagação de Incerteza em MediçõesPropagação de Incerteza em Medições
Propagação de Incerteza em MediçõesVitor Pamplona
 
Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?Vitor Pamplona
 
Criando Projetos Open Source
Criando Projetos Open SourceCriando Projetos Open Source
Criando Projetos Open SourceVitor Pamplona
 

Mais de Vitor Pamplona (20)

SciBr foundation 2017
SciBr foundation 2017SciBr foundation 2017
SciBr foundation 2017
 
SciBr foundation 2018
SciBr foundation 2018SciBr foundation 2018
SciBr foundation 2018
 
Defesa de Tese
Defesa de TeseDefesa de Tese
Defesa de Tese
 
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH PresentationTailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
 
CATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of CataractsCATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of Cataracts
 
Netra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYCNetra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYC
 
Unusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRAUnusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRA
 
Free software basics
Free software basicsFree software basics
Free software basics
 
Photorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern DeformationPhotorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
 
NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010
 
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
 
Introdução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon MappingIntrodução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon Mapping
 
Algoritmo de Photon Mapping
Algoritmo de Photon MappingAlgoritmo de Photon Mapping
Algoritmo de Photon Mapping
 
Performance Analysis: C vs CUDA
Performance Analysis: C vs CUDAPerformance Analysis: C vs CUDA
Performance Analysis: C vs CUDA
 
Anotação de Imagens
Anotação de ImagensAnotação de Imagens
Anotação de Imagens
 
Propagação de Incerteza em Medições
Propagação de Incerteza em MediçõesPropagação de Incerteza em Medições
Propagação de Incerteza em Medições
 
Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?
 
Criando Projetos Open Source
Criando Projetos Open SourceCriando Projetos Open Source
Criando Projetos Open Source
 
O Mundo Open Source
O Mundo Open SourceO Mundo Open Source
O Mundo Open Source
 
Mobile 3D Game Engine
Mobile 3D Game EngineMobile 3D Game Engine
Mobile 3D Game Engine
 

Último

Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfAarwolf Industries LLC
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 

Último (20)

Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdf
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 

Geometric Algebra Applications and State of the Art

  • 1. Geometric Algebra Part 2: Applications and the state of the art  “... provides a single, simple mathematical framework which  eliminates the plethora of diverse mathematical descriptions and  techniques” [McRobie and Lasenby, 1999] Vitor Fernando Pamplona
  • 2. Review: Geometric Product • Outer product spans e2 2D  1 e1 ∧  2 e2 = 1  2 e1 e2 • Inner product projects O e1  12 e1 ∧ e2 ⋅ e2 =  12 e1 e1 ∧ e2 • Geometric Product vu = v ⋅u  v ∧ u Inner product Outer product
  • 3. Review: Multivector • Unique n­dimensional structure vℜ 3 =  Scalar   e1   e2   e3 Vector   e1 e2   e1 e3   e2 e3 2­Blade   e1 e2 e3 3­Blade mv 3 = 3 e1 ∧ e3 − 2 e2 ∧ e3
  • 4. Overview • Homogeneous Model • Conformal Model • Meet / Join • Framework Gaigen • nD­Voronoi Diagram • CliffoSor: GA processor • Physical Modelling using GA • Future Readings
  • 5. Homogeneous Model • Generalization to homogeneous coordinates of VA • Affine and projective transformations • Adds one dimension to working space • There are no changes in basic operations e0 e0 p p p q P P Q R² R² pΛq
  • 6. Conformal Model • Adds 2 new orthogonal dimensions e0 e∞ • It is a Minkowski space. • Changes some operations e2 =1 ∞ e2=−1 0 e∞⋅e0=0 • Euclidean to Conformal GA Model a =0, ∞ ,  x ,  y , z =1, 1/2 a 2 ,a x ,a y ,a z C= p11∧p22∧p333∧ e∞ E =p ∧ p2∧ p ∧ p4 N 1 ∧p ∧p
  • 8. Framework Gaigen • Geometric Algebra C/C++ Code Generator • Version 1.0 released 1,5 years ago.  • Generates the same code of GAP framework.  • 8­Dimensional Limit. • Free Software :: http://gaigen.sourceforge.net • From Daniel Fontijne at University of Amsterdan • Version 2.0 will generate Java code too. 
  • 9. Why an nD­Voronoi Diagram? • Raytracer benchmark [Fontijne, D. & Dorst,2003] Model Implem. Full Rend Time (s) Memory (MB) 3DLA Standard 1.00 6.2 3DGA Gaigen 2.56 6.7 4DLA Standard 1.05 6.4 4DGA Gaigen 2.97 7.7 5DGA Gaigen 5.71 9.9 • 3DLA: Linear Algebra • 3DGA: Geometric Algebra • 4DLA: Homogeneous coordinates • 4DGA: Homogeneous model • 5DGA: Conformal model
  • 10. Edelsbrunner's idea  • Algorithm VoronoiDiagram edelsbrunner(Points S) O 1. Create a new orthogonal dimension  2. Build the paraboloid R n− 1 http://www.ics.uci.edu/~eppstein/junkyard/nn.html 2 x n= ∑ x i i= 0 3. For each point P 4. P' = projection of P on the paraboloid R 5. H  = the hyperplane tangent to paraboloid R in P' 6. End for 7. Project the upper­envelope of H's on initial dimension.
  • 11. Edelsbrunner with Geometric Algebra 1. D+2 Geometric Algebra Solution ... edelsbrunner(Points S) • e Edelsbrunner paraboloid    ∞ 1. New dimension  Homogeneous model e 0 2. Build paraboloid R • 3. For each point p 4. p'= proj. of p on R 5. H= tangent to R in p' 2. Step 2 is not needed 6. End for 7. Proj. the upper­envelope  4. Project p on R p  p '=  p 2 e∞    2 p 2 e∞ p H T= p '∧d u a l  ∧ p ∣∣∗ 1 4 p 2 5. Find hyperplane tangent  p 
  • 12. Edelsbrunner with Geometric Algebra 7. Project the upper­envelope of  ... edelsbrunner(Points S) hyperplanes on the d­2  1. New dimension  dimension. 2. Build paraboloid R 3. For each point p backTracking(hypercube F)  4. p'= proj. of p on R 1. if (lowestGrade(F) == 2) 5. H= tangent to R in p' 2. F=meet(F,each out of stack HP) 6. End for 3. add lowestGrade(F) to Voronoi. 7. Proj. the upper­envelope  4. else  5. for each out of stack HP Flag: Hierarchy of half­ 6. F=meet(F, HP) 7. BackTracking(F) spaces with the lowest  8. F = removeLowestGrade(F) level is a pair of points.  backTracking(hypercube bounding box)
  • 13. The Benchmark  42  points in 2D 16 points in 2D Qhull 0.004 + /­ 0.001 0.003 + /­ 0.000 Zaharia 32.127 + /­ 0.546 1.512 + /­ 0.005 Pam plona 0.592 + /­ 0.006 0.080 + /­ 0.004 ● Time in seconds ● Each test was performed 5 times ● Test Architecture: ● Processor: Athlon 64, 2800+, 1800Mhz, 97% Free ● Memory: 1 GB RAM / 600 MB Free ● OS: Gentoo Linux, install from Stage 1. ● Qhull version: 3.1­r1 ● Zaharia GAP version
  • 14. Problems  ● Precision problems ● Work with high precision numbers: 10­16 ... 10 8 ● Easy to get Double.NAN ● Easy to get unreported edges ● Infinity edges, no bounding box ● Work with higher dimensions? ● Need backtracking algorithm?  ● Search Hyperplane neighbors?  ● Kd­trees, Quadtrees, Octrees 
  • 15. CliffoSor • Parallel Embedded Architecture for GA. • Multiplications, additions in 4D and 3D rotations. • Operations in Parallel • Gaigen 1.0 vs CliffoSor – Gaigen: 256 clock cycles – CliffoSor: 64 clock cycles – Test made with 500.000 geometric products.
  • 16. Physical Modelling using GA • Particle Dynamics without GA • Rigid Body Dynamics with GA • Collision Detection with GA – Bounding Spheres – Segment Triangle Intersection • Collision Response with GA • Conclusions – Mathematics simplification in the collision detection  – Needs experience with GA
  • 17. Physical Modelling: Future Works • Hardware parallelism – outer, inner and geometric products • Advanced Collision Detection: – Oct­trees – Sphere­trees
  • 18. Future Works • CGA in Computer Vision • Clifford Fourier Transform • Derivatives and Integrals • Generalization of Quaternions • Inverse Kinematics with dual of Quaternions • Interpolation with CGA • Mesh deformation
  • 19. References • Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical  applications (part II: aplications) IEEE Computer Graphics and Applications, 2002, 1 • Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical  applications (part I: algebra) IEEE Computer Graphics and Applications, 2002, 1, 24­31 • Fontijne, D. & Dorst, L. Modeling 3D Euclidean Geometry IEEE Computer Graphics and  Applications, 2003 • Macdonald, A. A Survey of Geometric Algebra and Geometric Calculus, 2005 • Vaz, J.J. A álgebra geométrica do espaço euclidiano e a teoria de Pauli Revista  Brasileira de Ensino de Física, 1997, 19, 234­259 • Zaharia, M.D. & Dorst, L. The Interface Spec. and Implementation Internals of a  Program Module for Geometric Algebra University of Amsterdam, 2003