- No need to install anything, just code and see the result
- Some of the Computational Geometry Algorithms coded in advance. You can review them.
- You can write your own algorithm.
WebCgal actually is a tool for learning the idea behind the algorithm visually.
Above you can see a piece of WebCgal code. Writing code here is as easy as it is seen. An interactive demo of the code lies at the background of the web site. You can modify number of random points and click run to see the result. You can simply edit and run your code. By the way, Convex Hull function is written on page /algorithms/convexHull
Please visit the documentation page to get detailed information about WebCgal computational geometry language. WebCgal is easy to learn and you can start programming immediately. You will see that it makes lots of work extremely easy.
WebCgal works exactly on your browser. It does not require server respons. Therefore it is fast and you start immediately. Most prominent features are listed here:
- Responsive visualisation and immediate results.
- You can modify codes on live. Therefore, you can try your own algorithm.
- You can see how algorithms work on live animation.
- Support for almost all web browsers.
- You can write your own code on trial and error manner at the playground page.
- There is an extensive doc at the documentation page.
Platform supportWebCgal is aimed at modern browsers with support for the Canvas object and EcmaScript 5.
Support for modern mobile browsers is experimental. Recent versions of the iOS browser and Chrome on Android should work pretty well.
Some of the mobile device OS (according to their version in Android and iOS) does not support properly when you interact with the drawings. In most of the problems, visualisations are really responsive and accurate.
As you can realize, coding on that devices are not that easy. It is highly recommended to use any desktop OS and Chrome browser.
WebCgal is an open source project and licensed under MIT. You can reach the code at GitHub.
Developer contact is here. You can ask anything about the web site.