Proof of Concept: Using a physics engine (matter.js) in H5P
Submitted by otacke on Sun, 04/10/2022 - 15:48
Forums:
Hi all!
There's a brief demo of a proof of concept for using a physics engine in H5P content.
The demo is intended at younger children who should bring a seesaw in balance by putting weights on it. The visuals and some physical parameters can be set. Any thoughts on that one?
Given time/funding, one could create lots of content types using the physics engine (matter.js). Have a look at more examples (not put into H5P).
Best,
Oliver
villon
Sun, 04/17/2022 - 15:22
Permalink
Proof of Concept: Using a physics engine (matter.js) in H5P
Hello Oliver,
a very interesting concept. As I have only recently covered weights with my maths class and I teach outside the subject, as I often do at primary school, I of course immediately thought that this would have been useful there. A nice extension would be if it were possible to include more than two objects so that different weights could be represented in different denominations.
Kind regards
Josef
PS: I hope the support requests that reach you privately and unasked have dropped to a minimum in the meantime.
Hallo Oliver,
ein sehr interessantes Konzept. Da ich erst vor kurzem mit meiner Mathematikklasse Gewichte behandelt habe und ich fachfremd unterrichte, wie häufig an der Grundschule, dachte ich natürlich sofort, dass das dort brauchbar gewesen wäre. Eine schöne Erweiterung wäre, wenn es möglich wäre, mehr als zwei Objekte einzubinden, damit sich unterschiedliche Gewichte in verschiedenen Stückelungen darstellen ließen.
Liebe Grüße
Josef
PS: Ich hoffe, die Supportanfragen, die dich privat und ungefragt erreichen, sind inzwischen auf ein Minimum gesunken.
otacke
Mon, 04/18/2022 - 10:16
Permalink
Hi Josef!I prepared the code
Hi Josef!
I prepared the code for that option already when I designed it :-) Adding more objects would be very simple.
And yes, the number of requests has reduced a lot, even though I just recently (not for the first time) encountered someone who consulted someone on H5P commercially and wanted me to answer all kinds of questions regarding about how to integrate H5P into their custom application for free ...
Best,
Oliver
maude
Wed, 05/18/2022 - 06:41
Permalink
There can never be enough
There can never be enough quiet, contemplative and fun activities to understands scientific concepts. Then, if we can make them, wow! Even better.
alix3d
Wed, 07/20/2022 - 16:23
Permalink
a game engine?
I think your concept is very interesting. I am also researching on how to bring a game engine such as ARMORY3D into H5P.
I would like to simulate devices have have the students perform certain tasks and action. Such as using a camera for taking pictures.
otacke
Wed, 07/20/2022 - 23:18
Permalink
Hi!Yes, if you wanted to, you
Hi!
Yes, if you wanted to, you could use it to create games (such as Angry Birds). Armory3D doesn't run on JavaScript, does it? Don't think you'll be able to use it for H5P then.
Best,
Oliver
alix3d
Thu, 07/21/2022 - 09:24
Permalink
Javascript Example
Dear Oliver,
why I was considering Armory 3D: It is an extension / replacement of the old Blender engine. It compiles to many targets platform indepentently. If you wish to see some examples in the browser you can find them here:https://armory3d.github.io/armory_examples_browser/#examples-call_js
This is an example how to call a javascript from armory. This would probably be how the game engine can communicate and pass values and results to H5P.
otacke
Thu, 07/21/2022 - 12:24
Permalink
Hey!If there's a JavaScript
Hey!
If there's a JavaScript port, then go ahead :-)
Best,
Oliver