jwagner / simplex-noise.js

A fast simplex noise implementation in Javascript / Typescript.
MIT License
1.61k stars 130 forks source link

Updated examples to es6 #26

Closed amilajack closed 3 years ago

jwagner commented 5 years ago

Hi Amila,

I don't see the benefit in this change. Var works in both es5 and es6. The change makes the examples work for less people.

Changing the var to const can be done easily by people wishing to do so.

jwagner commented 3 years ago

Since the number of ES5 users should be fairly low by now I've updated the examples as you suggested in the most recent release now. Thanks @amilajack !