/three.js-refraction

Exploring refraction in three.js

Primary LanguageHaxe

Building

  • install haxe, I'm using haxe 4.2.3
  • install dependencies npm install
  • start auto-compiling live server: npm start

Live-Reload Editing

  • Install vscode
  • Install the haxe extension
  • Install the "Trigger Task on Save" extension
  • Open this folder in vscode
  • After editing the haxe source code, the haxe code should be automatically compiled
  • To start a web server that refreshes if when source code changes, run npm start in this directory