Three.js version as used in Codef Framework

I wish to convert a demo written using the Codef Framework which uses an ancient version of three.js (version 49 I believe) from JavaScript to C# for eventual conversion to C++ (DirectX).

I have the waveform and the relative starting positions of the sprites but it I don’t know how the data is transformed to provide real x, y and z coordinates to combine and calculate the correct perspective for each ball. The mover variable goes from -600…1000 and the group perspective is 30.

Using the transformation matrix from another commented 3d demo by the same author doesn’t work and isn’t even published in the Atari ST 3D Programming book so I don’t think that’s useful.

Further details can be found here:
http://lynn3686.com/3dmega/3dmega.html