Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webgl-3d-animation

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webgl-3d-animation

Interactive 3D animation using WebGL showing a 2D predator prey ecology on a grid which is real-time mapped onto the surface of a 3D torus. node.js server side gives access to WAV format files which are rendered using Web Audio API

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-86.67%
Maintainers
1
Weekly downloads
 
Created
Source

webgl-3d-animation

An interactive 3D animation using WebGL to depict a 2D predator prey ecology on a grid real-time mapped onto the surface of a 3D torus. Sound file is parsed then visualized both in time and frequency domains as well as rendered using Web Audio API - this is an exercise where I taught myself how to display data for an ongoing project on sound synthesis

Installation

Visit nodejs.org and install Node.js.

Clone this repository to your local machine:

git clone git@github.com:scottstensland/webgl-3d-animation.git

Change directory into the project folder:

cd webgl-3d-animation

Then install the dependent modules:

npm install

Launch the nodejs app:

npm start

Using a WebGL savvy browser, point it at url

		 http://localhost:8888 

or ignore above and just see this WebGL app deployed live :

https://cybrcr.com/webgl/

Feel free to contact me on twitter if you have any questions!

... my twitter name is same as my github name

instructions on how to drive this ...

this will run on any browser however
run this on a laptop/desktop to be able
to navigate using below keyboard keys
since I have not yet added ability to
properly navigate using fingers on mobile devices
see this video I created using similar logic
which shows cool navigation flythrough

Predator Prey ecology agent based simulation in c++ OpenGL folds a 2d plane onto surface of a torus https://www.youtube.com/watch?v=frYWtGXqBWc

run on a computer not on a phone since it currently uses

just the mouse and keyboard as controls

 mouse left button and middle scroll wheel
       page up / page down
 arrow keys  left/right/up/down
       also these keys :  w s a d

  it uses WebGL for graphics
I wrote it in the language javascript infact this was my
  "Hello World" for both javascript and WebGL

Keywords

FAQs

Package last updated on 18 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc