CLOSED

http://forum.unity3d.com/threads/converting-the-simplex-noise-script-by-stefan-gustavson-to-javascript.260311/
This is a thread I posted and no one was wanting to do the conversion I guess. So I’m offering to make a set of 3d models to someone who does the conversion. The script is in c# and I need it for javascript. Before you get to work, make a comment with any 3d models you want and I’ll tell you whether or not I can make them. I’m not any good at rigging but I can make good props and stuff. I’m actually in the middle of making a general use developer test arena. Its just useful for testing stuff I guess lol

Why not just leave it as c#, you can call c# functions from a js

Or just migrate to c# completely, it’s better! (“bettter”)

I like javascript and have written everything in it so I can’t really convert everything back. And can I really use the function?

Sure you can:

//Assets/plugins/SomeCSclass.cs
using UnityEngine;
using System.Collections;

public class SomeCSclass: MonoBehaviour {

    public static void CSMethod () {
        Debug.Log("YES");
    }
}

//Assets/scripts/myJSComponent.js
#pragma strict

function Start () {
    SomeCSclass.CSMethod();
}

As long as the c# is in plugins (or another ‘special’ directory that compiles first) any other script can call its functions.

I prefer Carmodys simplex implementation
http://stephencarmody.wikispaces.com/Simplex+Noise

wow, thanks man! You saved me a lot of work!