top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

    Get Free Article Updates

Facebook Login
Site Registration
Print Preview

Small Overview About Matter.Js?

0 votes
91 views

What is Matter.Js?

Matter.js is a 2D physics engine for the web — see all demos → Rigid bodies. Compound bodies

A 2D rigid body physics engine for the web written in JavaScript.

Most common modules are

  • Engine
  • World
  • Body
  • Bodies
  • Composite
  • Composites
  • Constraint
  • MouseConstraint
  • Events
  • Plugin

Features:

  • Rigid bodies
  • Compound bodies
  • Composite bodies
  • Concave and convex hulls
  • Physical properties (mass, area, density etc.)
  • Restitution (elastic and inelastic collisions)
  • Collisions (broad-phase, mid-phase and narrow-phase)
  • Stable stacking and resting
  • Conservation of momentum
  • Friction and resistance
  • Events
  • Constraints
  • Gravity
  • Sleeping and static bodies
  • Rounded corners (chamfering)
  • Views (translate, zoom)
  • Collision queries (raycasting, region tests)
  • Time scaling (slow-mo, speed-up)
  • Canvas renderer (supports vectors and textures)
  • MatterTools for creating, testing and debugging worlds
  • World state serialisation (requires resurrect.js)
  • Cross-browser (Chrome, Firefox, Safari, IE8+)
  • Mobile-compatible (touch, responsive)
  • An original JavaScript physics implementation (not a port)

Bower Package

bower install matter-js
 

NPM Package

npm install matter-js

Video for Matter.Js

posted Feb 8 by Manish Tiwari

  Promote This Article
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button


Related Articles

What is Argon.Js?

Argon.js is a javascript framework for adding augmented reality content to web applications

Augmented reality (AR) is the idea of mixing computer-generated media (e.g., 3D objects, 2D content, spatialized audio) with someone’s view of the real world. Whether you want to create a new AR application, or add an AR view to an existing web application, the argon.js framework provides a set of abstractions and utilities for adding an AR view to your web application in a platform- and technology-independent way.

Argon.js was originally designed to take advantage of the augmented reality capabilities of the Argon AR-enabled web browser on iOS, simplifying the process of delivering mobile AR experiences without the need to create, ship and support native applications.

However, argon.js will also work with other web browsers, taking advantage of their capabilities to allow your application to deliver whatever kind of AR experience each browser is capable of. While the AR capabilities a most web browsers is currently minimal, they are improving rapidly, and argon.js is designed to support this evolution.

Npm Command

npm install @argonjs/argon@^1.0

Video for Argon.Js

https://www.youtube.com/watch?v=F_M8C2jW8PI​

READ MORE

What is Slick?

Slick is a fresh new jQuery plugin for creating fully customizable, responsive and mobile friendly carousels/sliders that work with any html elements.

Features:

  • Fully responsive. Scales with its container.
  • Separate settings per breakpoint
  • Uses CSS3 when available. Fully functional when not.
  • Swipe enabled. Or disabled, if you prefer.
  • Desktop mouse dragging
  • Infinite looping.
  • Fully accessible with arrow key navigation
  • Add, remove, filter & unfilter slides
  • Autoplay, dots, arrows, callbacks, etc...


# Bower

bower install --save slick-carousel

# NPM

npm install slick-carousel

In slick 1.5 you can now add settings using the data-slick attribute. You still need to call $(element).slick() to initialize slick on the element.

Example

<div data-slick='{"slidesToShow": 4, "slidesToScroll": 4}'>
  <div><h3>1</h3></div>
  <div><h3>2</h3></div>
  <div><h3>3</h3></div>
  <div><h3>4</h3></div>
  <div><h3>5</h3></div>
  <div><h3>6</h3></div>
</div>​

Video for Slick Slider
https://www.youtube.com/watch?v=c9pID1dWON4

READ MORE

What is AR.js?

AR.js is a solution for efficiently doing augmented reality on the web.

Very Fast: It runs efficiently even on mobile phones, 60 fps on my 2 year-old phone
Web-based: It is a pure web solution, so no installation required. Full javascript based on three.js + jsartoolkit5
Open Source: It is completely open source and free of charge
Standards: It works on any phone with webgl and webrtc

The goal is to make it easy for people to do augmented reality; AR that can be easily experienced on today’s phones and easily designed using web technology. The AR.js project is about enabling those people. So now, anybody with a modern phone can enjoy open-source AR, free of charge, cross-platform and without installation.

AR.js is fast. This is the first time that we have an open-source web-based solution capable of doing 60fps on currently deployed phones.

Suddenly, most people have a phone capable of doing AR without installation. This was not possible before. You don’t have to wait for everybody to buy AR-enabled devices (such as Tango, Moverio…etc.) 

AR.js would not have been possible without some inspiring projects that came before. It is thanks to the hard work of others, that we can today reach 60 frames per second AR. 

These projects helped make it possible:

  • Three.js is a great library for creating 3d graphics on the web
  • ARToolKit has been in development for years for augmented reality
  • emscripten and asm.js allowed us to compile ARToolKit into JavaScript
  • Chromium helped by being very fast
Video for Ar.js
https://www.youtube.com/watch?v=0MtvjFg7tik​
READ MORE

What is Plotly.Js

Built on top of d3.js and stack.gl, plotly.js is a high-level, declarative charting library. plotly.js ships with 20 chart types, including 3D charts, statistical graphs, and SVG maps. 

plotly.js charts are shipped with zoom, pan, hover, and click interactions. Click-and-drag to zoom into a region, double-click to autoscale, click on legend items to toggle traces.

NPM Command :

npm install plotly.js

Modele Example : 

// in custom-plotly.js
var Plotly = require('plotly.js/lib/core');

// Load in the trace types for pie, and choropleth
Plotly.register([
    require('plotly.js/lib/pie'),
    require('plotly.js/lib/choropleth')
]);

module.exports = Plotly;

Video for Plotly.js
https://www.youtube.com/watch?v=ZRiAWz-sVlM

READ MORE

What is Aurelia?

Aurelia is a JavaScript client framework for mobile, desktop and web leveraging simple conventions and empowering creativity.

Aurelia is a next generation UI framework. Whether you're building apps for the browser, mobile or desktop, Aurelia can enable you to not only create amazing UI, but do it in a way that is maintainable, testable and extensible.


Features:

  • Forward-thinking
  • Modern Architecture
  • Two-Way Databinding
  • Extensible HTML
  • Routing & UI Composition
  • MV* with Conventions
  • Broad Language Support
  • Testable


Some of  the main benefits

  • Clean and Unobtrusive 
  • Convention over Configuration 
  • Simple, But Not Simplistic 
  • Promotes the "-ilities" 
  • Amazingly Extensible
  • Web Standards Focused
  • Integrates Well with Others
  • TypeScript Support 
  • An Official Product with Commercial Support 
  • Thriving Community and Ecosystem 

Video for Aurelia 

https://www.youtube.com/watch?v=N855h5-OdZw

READ MORE

What is Meteor.js?

Meteor, or MeteorJS, is a free and open-source JavaScript web framework written using Node.js. Meteor allows for rapid prototyping and produces cross-platform (Android, iOS, Web) code. ... On the client, Meteor depends on jQuery and can be used with any JavaScript UI widget library.

Meteor.js is a cohesive development platform, a collection of libraries and packages that are bound together in a tidy way to make web development easier. It builds on ideas from previous frameworks and libraries to offer an easy way to start a prototype app, but it gives you the tools and flexibility to build a full fledged production app. There are libraries like Tracker and Blaze that the Meteor Development Group has built specifically for a reactive front-end experience.

Meteor.js is an open-source platform built on Node and MongoDB. It’s not just a framework, it’s more than that.

Is it comparable to Angular? Angular handles just the frontend parts of application. Meteor is more of a platform than Angular. It is both server and client-side code and handles a lot of the parts of applications that we need to create manually in Angular.

Video for Meteor.Js

https://www.youtube.com/watch?v=CSSdYbXqlxE​

READ MORE

What is ECharts?

ECharts is a state machine-based programming language for event-driven systems derived from the standardized UML Statecharts language.ECharts is a hosted language which means that it is dependent on an underlying programming language such as Java.

ECharts is an awesome tool for manipulating data once it’s charted because it has one unique feature: Drag-Recalculate allows users to drag and drop sections of data from one chart to another and have the charts recalculate in real-time.

ECharts is a most impressive tool for data visualization: it's fully open-source, it's sophisticated-yet-flexible, and it keeps abreast of the era of 'big data'!

ECharts is open, simple and elegant. 1.0 was great, and 2.0 was leapfrogged in just a year with something even more amazing.

ECharts represents a new generation of visualization tools for big data. 

ECharts is a comprehensive charting library offering a painless way of adding interactive charts to your commercial products. On the foundation of ZRender-based (a whole new lightweight canvas library) coordinate system, legend, tooltip, toolbox and other basic components, ECharts currently supports line, column, scatter, pie, radar, candlestick, chord, gauge, funnel, map and force-directed chart types, many of these can be combined in one chart.

Video for ECharts

https://www.youtube.com/watch?v=MF34Cgk5Rp0​

 

 

READ MORE
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...