This project simulates the turing machine https://cromer.cl/mt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MT.html 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <html>
  2. <title>Turing Machine</title>
  3. <head>
  4. <script src="https://java.com/js/dtjava.js"></script>
  5. <script>window.dtjava || document.write('<script src="dtjava.js"><\/script>')</script>
  6. <script>
  7. function launchApplication(jnlpfile) {
  8. dtjava.launch({
  9. url: jnlpfile
  10. },
  11. {
  12. javafx: '8.0+'
  13. },
  14. {}
  15. );
  16. return false;
  17. }
  18. </script>
  19. <script>
  20. function javafxEmbedMT_id() {
  21. dtjava.embed(
  22. {
  23. id: 'MT_id',
  24. url: 'MT.jnlp',
  25. placeholder: 'javafx-app-placeholder',
  26. width: '640',
  27. height: '480'
  28. },
  29. {
  30. javafx: '8.0+'
  31. },
  32. {}
  33. );
  34. }
  35. <!-- Embed FX application into web page once page is loaded -->
  36. dtjava.addOnloadCallback(javafxEmbedMT_id);
  37. </script>
  38. </head>
  39. <body>
  40. <!-- Applet will be inserted here -->
  41. <div id='javafx-app-placeholder'></div>
  42. </body>
  43. </html>