Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6343949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:32:40+00:00 2026-05-24T20:32:40+00:00

Finally, I decided to make my own WebGL 3D engine from the ground up,

  • 0

Finally, I decided to make my own WebGL 3D engine from the ground up, I begin tutorials from http://www.khronos.org/webgl/ and http://learningwebgl.com and https://developer.mozilla.org/en/WebGL

But problem is that each tutorial used/recommend different library for Matrix calculations, so I’m confused!

  • khronos recommend CanvasMatrix (but now they switch to J3DI.js from Apple ?)
  • Mozilla recommend Sylvester all the way!
  • Learningwebgl.com recommend glMatrix

Question is: Which one is well suited for 3D WebGL Applications, Charts and Games? (both performance and usability matters)

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:32:41+00:00Added an answer on May 24, 2026 at 8:32 pm

    Look at http://greggman.github.io/webgl-matrix-benchmarks/matrix_benchmark.html

    I use glMatrix, and it works fine. The API is a bit weird.

    var in = vec3.create([1, 2, 3]);
    
    //overwrite 'in' in-place
    vec3.scale(in, 2);
    
    //write output to a different vector
    var out = vec3.create();
    vec3.scale(in, 2, out);
    

    Or for glMatrix 2

    var in = vec3.fromValues(1, 2, 3);
    
    //overwrite 'in' in-place
    vec3.scale(in, in, 2);
    
    //write output to a different vector
    var out = vec3.create();
    vec3.scale(out, in, 2);
    

    But it’s fast, it supports the operations I want, and it’s straightforward. Additionally, The source is very understandable.

    I have no experience with the others, though.

    Update:

    There are benchmarks of more libraries available at http://stepheneb.github.io/webgl-matrix-benchmarks/matrix_benchmark.html. In Chrome on my Mac, Closure wins pretty handily. In Chrome on my PC, it’s much more of a toss-up. I’m still using glMatrix for now, since it lives in a single Javascript file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I finally decided to make a proper backup setup for my home computers. I
I have finally decided to go with the Entity Framework since it has the
Ok, so I've finally decided on how to load my data I'm going to
I have seen this for a long time, and finally decided to put the
This morning I finally made my mind and decided to ask you for help.
I've recently decided that I just have to finally learn C/C++, and there is
I finally got my group to switch from SourceSafe to Subversion. Unfortunately, my manager
I finally let windows nag me into upgrading from IE6 to 8. Now in
I finally decided to move towards a version control workflow but...it's a month I'm
I finally decided to try out Vim , as I am getting increasingly frustrated

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.