Git Product home page Git Product logo

matrix's Introduction

A mini Explorable Explanation for 2D Matrices.

Made by Nicky Case. Dedicated to the public domain via The Unlicense.

Carnivalee Freakshow font by Chris Hansen. No, not that one.

twitter | patreon

matrix's People

Contributors

ncase avatar phildo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

matrix's Issues

"the magnificient 2D plane", actually

indeed, you needed a 3D matrix, to make

  • both rotation (a 2D matrix: the four editable/greyed-bordered boxes on the left)
  • and translations (an additional translation vector: the two editable/greyed-bordered boxes on the right)
    in the 2D plane, right?

it's in this webgl tutorial on matrices, or in this one... and it comes from this "intrisic" limitation of RAM, which is "linear"...

So, what's here is more about the 2D plane than about a 2D matrix...

I mean: a 2D matrix can't do translations: (0,0) will stay there.

PS: a few other nice things a 2D matrix can do:

  • rotations around a "real" z axis: wiki
  • rotations around an "imaginary" t axis: expl1 or expl2
  • help you find "the next solution" here

cheers
.k.

Input elements stopped fitting the input matrix

Hi Nicky! First of all, thanks a lot for the great idea and implementation here - I've been using the magnificent matrix in my Computer Graphics class since I got to know it - and students love it.

Yesterday I noticed an issue in chrome 69 (Linux, Ubuntu - it worked on Windows with the same resolution). For some crazy reason, the inputs in the input matrix are not fitting the available space (per screenshot).
image

A quick look in the CSS showed that it could be fixed by (a) dropping the input margins and using (b) display: flex with justify-content: space-between for the matrix elements, as well as (c) dropping the absolute positioning of the last row.

If you're too busy, I can work on a PR.

Thanks a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.