Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread 3.js animation
Wed, Dec 9 2020 9:43 PMPermanent Link

erickengelke

Avatar

A while ago I believe someone asked here if 3.js can be used with EWB.

3.js is a graphics library that lets you do high speed graphic animation and rendering from JavaScript - much faster than you'd expect.  On capable machines, it is assisted by the GPU, so the GPU fan might start up.

I threw together a little demo at http://www.eng.uwaterloo.ca/~erick/3js/sample.html proving that it can be called from EWB.  

Click the shading checkbox or change the x/y speeds, or drag the window around the screen while animations occur in the background. You can see it's clearly EWB used with 3.js in the example

To see a more complicated JavaScript example, see
https://threejs.org/examples/webgl_animation_skinning_blending.html

I don't currently have a use for this technology but it's great for games or probably some instrumentation.  If someone has a suggestion, contact me.

Erick
EWB Programming Books and Component Library
http://www.erickengelke.com
Sat, Jan 16 2021 11:29 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Erick,

<< A while ago I believe someone asked here if 3.js can be used with EWB.

3.js is a graphics library that lets you do high speed graphic animation and rendering from JavaScript - much faster than you'd expect.  On capable machines, it is assisted by the GPU, so the GPU fan might start up.

I threw together a little demo at http://www.eng.uwaterloo.ca/~erick/3js/sample.html proving that it can be called from EWB.   >>

Haven't been here in a while...thanks for the link.  It looks very cool.

Tim Young
Elevate Software
www.elevatesoft.com
Image