atome 0.5.4.1.7 → 0.5.5.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -1
  3. data/Gemfile +3 -1
  4. data/README.md +70 -1
  5. data/Rakefile +246 -75
  6. data/app_builder_helpers/Rakefile +276 -288
  7. data/documentation/basic.md +242 -0
  8. data/documentation/deep learning/architecture.txt +3763 -0
  9. data/documentation/deep learning/atome.png +0 -0
  10. data/documentation/deep learning/basic_infos.txt +227 -0
  11. data/documentation/deep learning/example_of_users_code.rb +1810 -0
  12. data/documentation/deep learning/misc.txt +24 -0
  13. data/documentation/deep learning/ruby_js_example.rb +272 -0
  14. data/documentation/deep learning/wasm_script_help.text +14 -0
  15. data/documentation/framework/enhance_atome.md +1 -1
  16. data/documentation/tutorials/tutorials.md +7 -0
  17. data/exe/atome +308 -208
  18. data/lib/atome/atome.rb +52 -156
  19. data/lib/atome/extensions/atome.rb +129 -47
  20. data/lib/atome/extensions/mathematics.rb +20 -0
  21. data/lib/atome/extensions/ping.rb +2 -3
  22. data/lib/atome/genesis/generators/atome.rb +57 -30
  23. data/lib/atome/genesis/generators/communication.rb +9 -0
  24. data/lib/atome/genesis/generators/effect.rb +0 -1
  25. data/lib/atome/genesis/generators/event.rb +279 -43
  26. data/lib/atome/genesis/generators/geometry.rb +1 -10
  27. data/lib/atome/genesis/generators/hierarchy.rb +103 -0
  28. data/lib/atome/genesis/generators/identity.rb +45 -84
  29. data/lib/atome/genesis/generators/material.rb +31 -34
  30. data/lib/atome/genesis/generators/property.rb +31 -0
  31. data/lib/atome/genesis/generators/security.rb +31 -0
  32. data/lib/atome/genesis/generators/spatial.rb +3 -5
  33. data/lib/atome/genesis/generators/time.rb +0 -1
  34. data/lib/atome/genesis/generators/utility.rb +181 -66
  35. data/lib/atome/genesis/genesis.rb +152 -55
  36. data/lib/atome/genesis/sparkle.rb +59 -75
  37. data/lib/atome/helpers/color_helper/color/rgb/colors.rb +1 -1
  38. data/lib/atome/helpers/color_helper/color/rgb.rb +1 -1
  39. data/lib/atome/helpers/color_helper/color.rb +226 -7
  40. data/lib/atome/helpers/essentials.rb +22 -26
  41. data/lib/atome/helpers/security.rb +71 -0
  42. data/lib/atome/helpers/utilities.rb +191 -178
  43. data/lib/atome/kernel/black_matter.rb +22 -0
  44. data/lib/atome/kernel/universe.rb +123 -24
  45. data/lib/atome/presets/atome.rb +39 -35
  46. data/lib/atome/version.rb +3 -2
  47. data/lib/atome.rb +12 -12
  48. data/lib/atome_relative.rb +36 -0
  49. data/lib/{atome/renderers → platform_specific}/opal/atome_opal_extensions.rb +4 -1
  50. data/lib/{atome/renderers → platform_specific}/opal/extensions/color.rb +12 -5
  51. data/lib/{atome/renderers → platform_specific}/opal/extensions/geolocation.rb +1 -0
  52. data/lib/platform_specific/opal/extensions/js.rb +21 -0
  53. data/lib/platform_specific/opal/extensions/object.rb +6 -0
  54. data/lib/platform_specific/opal/extensions/ping.rb +31 -0
  55. data/lib/{atome/renderers → platform_specific}/opal/extensions/sha.rb +4 -2
  56. data/lib/platform_specific/wasm/atome_wasm_extensions.rb +11 -0
  57. data/lib/renderers/headless/headless.rb +18 -0
  58. data/lib/renderers/headless/index.rb +6 -0
  59. data/lib/renderers/headless/index_relative.rb +6 -0
  60. data/lib/renderers/headless/utility.rb +6 -0
  61. data/{vendor/assets/src/medias/rubies/examples/top.rb → lib/renderers/html/atome.rb} +0 -1
  62. data/lib/renderers/html/atome_html.rb +22 -0
  63. data/lib/renderers/html/effect.rb +26 -0
  64. data/lib/renderers/html/event.rb +43 -0
  65. data/lib/renderers/html/geometry.rb +31 -0
  66. data/lib/renderers/html/hierarchy.rb +233 -0
  67. data/lib/renderers/html/html.rb +1112 -0
  68. data/lib/renderers/html/identity.rb +84 -0
  69. data/lib/renderers/html/index.rb +19 -0
  70. data/lib/renderers/html/index_relative.rb +20 -0
  71. data/lib/renderers/html/material.rb +53 -0
  72. data/lib/renderers/html/property.rb +24 -0
  73. data/lib/renderers/html/spatial.rb +46 -0
  74. data/lib/renderers/html/time.rb +1 -0
  75. data/lib/renderers/html/utility.rb +38 -0
  76. data/lib/renderers/renderer.rb +16 -0
  77. data/lib/renderers/server/index.rb +4 -0
  78. data/lib/renderers/server/index_relative.rb +4 -0
  79. data/lib/renderers/server/utility.rb +4 -0
  80. data/sig/atome.rbs +6 -0
  81. data/sig/object.rbs +4 -0
  82. data/sig/universe.rbs +3 -0
  83. data/vendor/assets/Rakefile +3 -3
  84. data/vendor/assets/application/examples/a_concat.rb +16 -0
  85. data/vendor/assets/application/examples/affect.rb +8 -0
  86. data/vendor/assets/application/examples/animation.rb +96 -0
  87. data/vendor/assets/application/examples/apply.rb +8 -0
  88. data/vendor/assets/application/examples/atome.rb +5 -0
  89. data/vendor/assets/application/examples/attach.rb +34 -0
  90. data/vendor/assets/application/examples/attached.rb +38 -0
  91. data/vendor/assets/application/examples/basic_understanding.rb +52 -0
  92. data/vendor/assets/application/examples/browse.rb +17 -0
  93. data/vendor/assets/application/examples/callback.rb +20 -0
  94. data/vendor/assets/application/examples/category.rb +12 -0
  95. data/vendor/assets/application/examples/clear.rb +96 -0
  96. data/vendor/assets/application/examples/clones.rb +177 -0
  97. data/vendor/assets/application/examples/code.rb +13 -0
  98. data/vendor/assets/application/examples/color.rb +54 -0
  99. data/vendor/assets/application/examples/convert.rb +163 -0
  100. data/vendor/assets/application/examples/copy.rb +25 -0
  101. data/vendor/assets/application/examples/copybck.rb +68 -0
  102. data/vendor/assets/application/examples/debug.rb +78 -0
  103. data/vendor/assets/application/examples/delete.rb +93 -0
  104. data/vendor/assets/application/examples/display.rb +279 -0
  105. data/vendor/assets/application/examples/display_bck.rb +164 -0
  106. data/vendor/assets/application/examples/drag.rb +45 -0
  107. data/vendor/assets/application/examples/drop.rb +35 -0
  108. data/vendor/assets/application/examples/duplicate.rb +64 -0
  109. data/vendor/assets/application/examples/edit.rb +21 -0
  110. data/vendor/assets/application/examples/encode.rb +6 -0
  111. data/vendor/assets/application/examples/file.rb +50 -0
  112. data/vendor/assets/application/examples/find.rb +157 -0
  113. data/vendor/assets/application/examples/generator_and_build.rb +15 -0
  114. data/vendor/assets/application/examples/getter.rb +16 -0
  115. data/vendor/assets/application/examples/grab.rb +14 -0
  116. data/vendor/assets/application/examples/gradient.rb +35 -0
  117. data/vendor/assets/application/examples/group.rb +44 -0
  118. data/vendor/assets/application/examples/hierarchy.rb +21 -0
  119. data/vendor/assets/application/examples/history.rb +31 -0
  120. data/vendor/assets/application/examples/hypertext.rb +113 -0
  121. data/vendor/assets/application/examples/image.rb +5 -0
  122. data/vendor/assets/application/examples/keyboard.rb +59 -0
  123. data/vendor/assets/application/examples/layout.rb +227 -0
  124. data/vendor/assets/application/examples/login.rb +10 -0
  125. data/vendor/assets/application/examples/markup.rb +4 -0
  126. data/vendor/assets/application/examples/match.rb +115 -0
  127. data/vendor/assets/application/examples/messaging.rb +16 -0
  128. data/vendor/assets/application/examples/monitor.rb +14 -0
  129. data/vendor/assets/application/examples/on_resize.rb +7 -0
  130. data/vendor/assets/{src/medias/rubies/examples/get_renderer_list.rb → application/examples/online.rb} +1 -1
  131. data/vendor/assets/application/examples/over.rb +29 -0
  132. data/vendor/assets/application/examples/paint.rb +23 -0
  133. data/vendor/assets/application/examples/particles.rb +4 -0
  134. data/vendor/assets/application/examples/percent_to_px.rb +4 -0
  135. data/vendor/assets/application/examples/play.rb +50 -0
  136. data/vendor/assets/application/examples/presets.rb +33 -0
  137. data/vendor/assets/application/examples/random.rb +42 -0
  138. data/vendor/assets/application/examples/raw_html.rb +48 -0
  139. data/vendor/assets/application/examples/read.rb +11 -0
  140. data/vendor/assets/application/examples/refresh.rb +62 -0
  141. data/vendor/assets/application/examples/remove.rb +47 -0
  142. data/vendor/assets/application/examples/repeat.rb +26 -0
  143. data/vendor/assets/application/examples/resize.rb +17 -0
  144. data/vendor/assets/application/examples/scroll.rb +11 -0
  145. data/vendor/assets/application/examples/security.rb +76 -0
  146. data/vendor/assets/application/examples/selected.rb +30 -0
  147. data/vendor/assets/application/examples/shadow.rb +46 -0
  148. data/vendor/assets/application/examples/shapes.rb +6 -0
  149. data/vendor/assets/{src/medias/rubies → application}/examples/smooth.rb +5 -1
  150. data/vendor/assets/application/examples/style.rb +4 -0
  151. data/vendor/assets/application/examples/sync.rb +39 -0
  152. data/vendor/assets/application/examples/tagged.rb +24 -0
  153. data/vendor/assets/application/examples/terminal.rb +4 -0
  154. data/vendor/assets/application/examples/text.rb +5 -0
  155. data/vendor/assets/application/examples/touch.rb +38 -0
  156. data/vendor/assets/application/examples/type_mutation.rb +18 -0
  157. data/vendor/assets/application/examples/universe.rb +8 -0
  158. data/vendor/assets/application/examples/vector.rb +24 -0
  159. data/vendor/assets/application/examples/video.rb +14 -0
  160. data/vendor/assets/application/examples/wait.rb +6 -0
  161. data/vendor/assets/application/examples/www.rb +10 -0
  162. data/vendor/assets/application/index.rb +1 -1
  163. data/vendor/assets/application/test.rb +29 -0
  164. data/vendor/assets/application/works/photos.rb +672 -0
  165. data/vendor/assets/application/works/photos2.rb +218 -0
  166. data/vendor/assets/application/works/photos3.rb +343 -0
  167. data/vendor/assets/application/works/photos4.rb +34 -0
  168. data/vendor/assets/application/works/photos6.rb +6 -0
  169. data/vendor/assets/application/works/trigga.rb +0 -0
  170. data/vendor/assets/application/works/vie.rb +74 -0
  171. data/vendor/assets/server/atome_server.rb +37 -41
  172. data/vendor/assets/server/atome_server_wasm.rb +112 -0
  173. data/vendor/assets/server/capture.rb +10 -0
  174. data/vendor/assets/server/config.ru +5 -4
  175. data/vendor/assets/src/css/style.css +29 -4
  176. data/vendor/assets/src/index.html +31 -38
  177. data/vendor/assets/src/index_opal.html +42 -0
  178. data/vendor/assets/src/index_server.html +43 -0
  179. data/vendor/assets/src/index_server_wasm.html +46 -0
  180. data/vendor/assets/src/js/atome/atome.js +170 -150
  181. data/vendor/assets/src/js/atome/atome_helpers/add_font.js +46 -0
  182. data/vendor/assets/src/js/atome/atome_helpers/atome_drag.js +3 -1
  183. data/vendor/assets/src/js/atome/atome_helpers/atome_events.js +12 -7
  184. data/vendor/assets/src/js/atome/atome_helpers/communication.js +126 -0
  185. data/vendor/assets/src/js/atome/atome_helpers/{atome_file.js → file.js} +1 -1
  186. data/vendor/assets/src/js/atome/specific/opal.js +3 -0
  187. data/vendor/assets/src/js/atome/specific/wasm.js +12 -0
  188. data/vendor/assets/src/js/third_parties/browser.script.iife.min.js +13 -0
  189. data/vendor/assets/src/js/third_parties/fabric.min.js +1 -1
  190. data/vendor/assets/src/js/third_parties/html-to-image.min.js +2 -0
  191. data/vendor/assets/src/js/third_parties/jsencrypt.min.js +2 -0
  192. data/vendor/assets/src/js/third_parties/papaparse.min.js +7 -0
  193. data/vendor/assets/src/medias/fonts/Roboto/LICENSE.txt +202 -0
  194. data/vendor/assets/src/medias/fonts/Roboto/Roboto-Black.ttf +0 -0
  195. data/vendor/assets/src/medias/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
  196. data/vendor/assets/src/medias/fonts/Roboto/Roboto-Bold.ttf +0 -0
  197. data/vendor/assets/src/medias/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
  198. data/vendor/assets/src/medias/fonts/Roboto/Roboto-Italic.ttf +0 -0
  199. data/vendor/assets/src/medias/fonts/Roboto/Roboto-Light.ttf +0 -0
  200. data/vendor/assets/src/medias/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
  201. data/vendor/assets/src/medias/fonts/Roboto/Roboto-Medium.ttf +0 -0
  202. data/vendor/assets/src/medias/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  203. data/vendor/assets/src/medias/fonts/Roboto/Roboto-Regular.ttf +0 -0
  204. data/vendor/assets/src/medias/fonts/Roboto/Roboto-Thin.ttf +0 -0
  205. data/vendor/assets/src/medias/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
  206. data/vendor/assets/src/medias/images/logos/Facebook.svg +1 -1
  207. data/vendor/assets/src/medias/images/logos/LinkedIn-full.svg +109 -0
  208. data/vendor/assets/src/medias/images/logos/LinkedIn.svg +11 -0
  209. data/vendor/assets/src/medias/images/logos/X.svg +5 -0
  210. data/vendor/assets/src-tauri/Cargo.toml +1 -1
  211. data/vendor/assets/src-tauri/src/main.rs +59 -5
  212. data/vendor/assets/src-tauri/tauri.conf.json +1 -1
  213. data/vendor/assets/src-wasm/wasm/wasi-vfs-osx_arm +0 -0
  214. data/vendor/assets/src-wasm/wasm/wasi-vfs-osx_x86 +0 -0
  215. data/vendor/assets/src-wasm/wasm/wasi-vfs-unix +0 -0
  216. data/vendor/assets/src-wasm/wasm/wasi-vfs.exe +0 -0
  217. metadata +188 -180
  218. data/lib/atome/extensions/mathematic.rb +0 -20
  219. data/lib/atome/extensions/matrix.rb +0 -346
  220. data/lib/atome/helpers/callbacks.rb +0 -133
  221. data/lib/atome/kernel/batch.rb +0 -26
  222. data/lib/atome/kernel/essentials.rb +0 -23
  223. data/lib/atome/renderers/browser/atome.rb +0 -158
  224. data/lib/atome/renderers/browser/browser.rb +0 -47
  225. data/lib/atome/renderers/browser/effect.rb +0 -23
  226. data/lib/atome/renderers/browser/event.rb +0 -96
  227. data/lib/atome/renderers/browser/geometry.rb +0 -27
  228. data/lib/atome/renderers/browser/helpers/animation_helper.rb +0 -69
  229. data/lib/atome/renderers/browser/helpers/browser_helper.rb +0 -101
  230. data/lib/atome/renderers/browser/helpers/color_helper.rb +0 -80
  231. data/lib/atome/renderers/browser/helpers/drag_helper.rb +0 -52
  232. data/lib/atome/renderers/browser/helpers/drop_helper.rb +0 -13
  233. data/lib/atome/renderers/browser/helpers/effect_helper.rb +0 -23
  234. data/lib/atome/renderers/browser/helpers/event_helper.rb +0 -76
  235. data/lib/atome/renderers/browser/helpers/image_helper.rb +0 -27
  236. data/lib/atome/renderers/browser/helpers/over_helper.rb +0 -13
  237. data/lib/atome/renderers/browser/helpers/shadow_helper.rb +0 -74
  238. data/lib/atome/renderers/browser/helpers/shape_helper.rb +0 -22
  239. data/lib/atome/renderers/browser/helpers/text_helper.rb +0 -38
  240. data/lib/atome/renderers/browser/helpers/video_helper.rb +0 -50
  241. data/lib/atome/renderers/browser/helpers/web_helper.rb +0 -26
  242. data/lib/atome/renderers/browser/identity.rb +0 -61
  243. data/lib/atome/renderers/browser/material.rb +0 -121
  244. data/lib/atome/renderers/browser/opal_add_on.rb +0 -31
  245. data/lib/atome/renderers/browser/opal_browser.rb +0 -6
  246. data/lib/atome/renderers/browser/spatial.rb +0 -59
  247. data/lib/atome/renderers/browser/time.rb +0 -3
  248. data/lib/atome/renderers/browser/utility.rb +0 -49
  249. data/lib/atome/renderers/headless/headless.rb +0 -10
  250. data/lib/atome/renderers/headless/utility.rb +0 -6
  251. data/lib/atome/renderers/html/atome.rb +0 -49
  252. data/lib/atome/renderers/html/effect.rb +0 -19
  253. data/lib/atome/renderers/html/event.rb +0 -9
  254. data/lib/atome/renderers/html/geometry.rb +0 -11
  255. data/lib/atome/renderers/html/html.rb +0 -42
  256. data/lib/atome/renderers/html/identity.rb +0 -14
  257. data/lib/atome/renderers/html/opal_browser.rb +0 -6
  258. data/lib/atome/renderers/html/spatial.rb +0 -28
  259. data/lib/atome/renderers/html/utility.rb +0 -17
  260. data/lib/atome/renderers/opal/extensions/atome.rb +0 -29
  261. data/lib/atome/renderers/opal/extensions/ping.rb +0 -18
  262. data/lib/atome/renderers/renderer.rb +0 -15
  263. data/lib/atome/renderers/server/server.rb +0 -10
  264. data/lib/atome/renderers/server/utility.rb +0 -6
  265. data/vendor/assets/aui.rb +0 -5
  266. data/vendor/assets/r&d/misc.rb +0 -219
  267. data/vendor/assets/r&d/ping.rb +0 -3
  268. data/vendor/assets/r&d/storage.rb +0 -9
  269. data/vendor/assets/r&d/view_example.rb +0 -21
  270. data/vendor/assets/src/js/atome/atome_helpers/atome_communication.js +0 -40
  271. data/vendor/assets/src/medias/javascripts/test.js +0 -1
  272. data/vendor/assets/src/medias/rubies/demos.rb +0 -63
  273. data/vendor/assets/src/medias/rubies/examples/add.rb +0 -24
  274. data/vendor/assets/src/medias/rubies/examples/animation.rb +0 -81
  275. data/vendor/assets/src/medias/rubies/examples/atome_new.rb +0 -27
  276. data/vendor/assets/src/medias/rubies/examples/attach.rb +0 -15
  277. data/vendor/assets/src/medias/rubies/examples/attached.rb +0 -15
  278. data/vendor/assets/src/medias/rubies/examples/auto_height.rb +0 -5
  279. data/vendor/assets/src/medias/rubies/examples/auto_width.rb +0 -4
  280. data/vendor/assets/src/medias/rubies/examples/batch.rb +0 -17
  281. data/vendor/assets/src/medias/rubies/examples/blur.rb +0 -4
  282. data/vendor/assets/src/medias/rubies/examples/bottom.rb +0 -3
  283. data/vendor/assets/src/medias/rubies/examples/box.rb +0 -20
  284. data/vendor/assets/src/medias/rubies/examples/center.rb +0 -21
  285. data/vendor/assets/src/medias/rubies/examples/circle.rb +0 -3
  286. data/vendor/assets/src/medias/rubies/examples/class.rb +0 -13
  287. data/vendor/assets/src/medias/rubies/examples/clear.rb +0 -10
  288. data/vendor/assets/src/medias/rubies/examples/clone.rb +0 -35
  289. data/vendor/assets/src/medias/rubies/examples/code.rb +0 -11
  290. data/vendor/assets/src/medias/rubies/examples/color.rb +0 -73
  291. data/vendor/assets/src/medias/rubies/examples/create_atome_in_atome.rb +0 -13
  292. data/vendor/assets/src/medias/rubies/examples/cursor.rb +0 -7
  293. data/vendor/assets/src/medias/rubies/examples/delete.rb +0 -42
  294. data/vendor/assets/src/medias/rubies/examples/depth.rb +0 -6
  295. data/vendor/assets/src/medias/rubies/examples/detached.rb +0 -13
  296. data/vendor/assets/src/medias/rubies/examples/drag.rb +0 -98
  297. data/vendor/assets/src/medias/rubies/examples/drop.rb +0 -26
  298. data/vendor/assets/src/medias/rubies/examples/edit.rb +0 -12
  299. data/vendor/assets/src/medias/rubies/examples/element.rb +0 -6
  300. data/vendor/assets/src/medias/rubies/examples/empty_atome.rb +0 -12
  301. data/vendor/assets/src/medias/rubies/examples/fullscreen.rb +0 -15
  302. data/vendor/assets/src/medias/rubies/examples/grab.rb +0 -5
  303. data/vendor/assets/src/medias/rubies/examples/height.rb +0 -7
  304. data/vendor/assets/src/medias/rubies/examples/hide.rb +0 -7
  305. data/vendor/assets/src/medias/rubies/examples/id.rb +0 -14
  306. data/vendor/assets/src/medias/rubies/examples/image.rb +0 -8
  307. data/vendor/assets/src/medias/rubies/examples/left.rb +0 -7
  308. data/vendor/assets/src/medias/rubies/examples/link.rb +0 -22
  309. data/vendor/assets/src/medias/rubies/examples/markers.rb +0 -48
  310. data/vendor/assets/src/medias/rubies/examples/materials.rb +0 -15
  311. data/vendor/assets/src/medias/rubies/examples/matrix.rb +0 -102
  312. data/vendor/assets/src/medias/rubies/examples/matrix_changes.rb +0 -483
  313. data/vendor/assets/src/medias/rubies/examples/matrix_simple.rb +0 -32
  314. data/vendor/assets/src/medias/rubies/examples/monitoring.rb +0 -70
  315. data/vendor/assets/src/medias/rubies/examples/mute.rb +0 -22
  316. data/vendor/assets/src/medias/rubies/examples/on.rb +0 -26
  317. data/vendor/assets/src/medias/rubies/examples/opacity.rb +0 -5
  318. data/vendor/assets/src/medias/rubies/examples/over.rb +0 -21
  319. data/vendor/assets/src/medias/rubies/examples/pause.rb +0 -15
  320. data/vendor/assets/src/medias/rubies/examples/physical.rb +0 -19
  321. data/vendor/assets/src/medias/rubies/examples/play.rb +0 -15
  322. data/vendor/assets/src/medias/rubies/examples/read.rb +0 -11
  323. data/vendor/assets/src/medias/rubies/examples/refresh.rb +0 -8
  324. data/vendor/assets/src/medias/rubies/examples/remove.rb +0 -16
  325. data/vendor/assets/src/medias/rubies/examples/repeat.rb +0 -6
  326. data/vendor/assets/src/medias/rubies/examples/right.rb +0 -3
  327. data/vendor/assets/src/medias/rubies/examples/rotate.rb +0 -4
  328. data/vendor/assets/src/medias/rubies/examples/schedule.rb +0 -13
  329. data/vendor/assets/src/medias/rubies/examples/shadow.rb +0 -84
  330. data/vendor/assets/src/medias/rubies/examples/size.rb +0 -8
  331. data/vendor/assets/src/medias/rubies/examples/sort.rb +0 -18
  332. data/vendor/assets/src/medias/rubies/examples/style.rb +0 -4
  333. data/vendor/assets/src/medias/rubies/examples/tags.rb +0 -10
  334. data/vendor/assets/src/medias/rubies/examples/text.rb +0 -39
  335. data/vendor/assets/src/medias/rubies/examples/time.rb +0 -18
  336. data/vendor/assets/src/medias/rubies/examples/to_px.rb +0 -10
  337. data/vendor/assets/src/medias/rubies/examples/touch.rb +0 -56
  338. data/vendor/assets/src/medias/rubies/examples/vector.rb +0 -39
  339. data/vendor/assets/src/medias/rubies/examples/video.rb +0 -65
  340. data/vendor/assets/src/medias/rubies/examples/wait.rb +0 -8
  341. data/vendor/assets/src/medias/rubies/examples/web.rb +0 -13
  342. data/vendor/assets/src/medias/rubies/examples/width.rb +0 -6
  343. data/vendor/assets/src/medias/rubies/test.rb +0 -1
  344. data/vendor/assets/src/medias/rubies/text_read.rb +0 -1
  345. data/vendor/assets/src/medias/rubies/unstable/!run.rb +0 -16
  346. data/vendor/assets/src/medias/rubies/unstable/_2_solve.rb +0 -72
  347. data/vendor/assets/src/medias/rubies/unstable/_attach.rb +0 -12
  348. data/vendor/assets/src/medias/rubies/unstable/_audio.rb +0 -231
  349. data/vendor/assets/src/medias/rubies/unstable/_dataset.rb +0 -257
  350. data/vendor/assets/src/medias/rubies/unstable/_matrix.rb +0 -58
  351. data/vendor/assets/src/medias/rubies/unstable/_os.rb +0 -29
  352. data/vendor/assets/src/medias/rubies/unstable/_table2.rb +0 -108
  353. data/vendor/assets/src/medias/rubies/unstable/_vie.rb +0 -211
  354. data/vendor/assets/src/medias/rubies/users/code.rb +0 -6
  355. /data/lib/{atome/renderers → platform_specific}/opal/opal.rb +0 -0
  356. /data/lib/{atome/renderers → platform_specific}/opal/opal_parser.rb +0 -0
  357. /data/{vendor/assets/src/utilities/mode.rb → lib/renderers/html/communication.rb} +0 -0
  358. /data/{vendor/assets/src/medias/rubies/unstable/_test.rb → lib/renderers/html/security.rb} +0 -0
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+
3
+
4
+
5
+ new({particle: :controller}) do |msg|
6
+ Atome.controller_sender(msg)
7
+ end
8
+
9
+
10
+
11
+ button = box({smooth: 6,left: 12,top: 120, color:{red: 0.3, green: 0.3, blue: 0.3}})
12
+ button.shadow({
13
+ id: :s1,
14
+ left: 3, top: 3, blur: 9,
15
+ invert: true,
16
+ red: 0, green: 0, blue: 0, alpha: 0.7
17
+ })
18
+ button.touch(true) do
19
+ button.controller(:hello)
20
+ end
21
+
22
+
23
+ slider=box({ width: 333, height: 25, top: 45, left: 12, smooth: 9, color:{red: 0.3, green: 0.3, blue: 0.3}})
24
+ slider.shadow({
25
+ id: :s2,
26
+ left: 3, top: 3, blur: 9,
27
+ invert: true,
28
+ red: 0, green: 0, blue: 0, alpha: 0.7
29
+ })
30
+ cursor= slider.circle({width: 30, height: 30, left: 2, top: 1, color:{red: 0.3, green: 0.3, blue: 0.3}})
31
+
32
+ cursor.left(0)
33
+ cursor.top(0)
34
+ cursor.shadow({
35
+ id: :s4,
36
+ left: 1, top: 1, blur: 3,
37
+ option: :natural,
38
+ red: 0, green: 0, blue: 0, alpha: 0.6
39
+ })
40
+ label=text({data: 0, top: 69, left: 30, component: { size: 12 }, color: :gray})
41
+ cursor.drag({ restrict: {max:{ left: 309, top: 0}} }) do |event|
42
+ puts cursor.left
43
+ value = cursor.left/309*100
44
+ label.data(value)
45
+ cursor.controller({ action: :setModuleParameterValue, params: { moduleId: 6456549897,parameterId: 9846546, value: value} })
46
+
47
+ end
48
+
49
+
50
+ support=box({top: 250, left: 12, width: 300, height: 40, smooth: 9, color:{red: 0.3, green: 0.3, blue: 0.3}, id: :support })
51
+
52
+ support.shadow({
53
+ id: :s3,
54
+ left: 3, top: 3, blur: 9,
55
+ invert: true,
56
+ red: 0, green: 0, blue: 0, alpha: 0.7
57
+ })
58
+ input_element = JS.global[:document].createElement("input")
59
+ input_element[:type] = "file"
60
+
61
+ input_element.addEventListener("change") do |native_event|
62
+ event = Native(native_event)
63
+ file = event[:target][:files][0]
64
+ if file
65
+ puts "file requested: #{file[:name]}"
66
+ support.controller({ action: :loadProject, params: { path: file[:name]} })
67
+ end
68
+ end
69
+
70
+ view_div = JS.global[:document].querySelector("#support")
71
+
72
+ view_div.appendChild(input_element)
73
+
74
+
@@ -2,8 +2,7 @@
2
2
 
3
3
  # atome server
4
4
  require 'em/pure_ruby' if RUBY_PLATFORM == 'x64-mingw32'
5
- # require 'atome'
6
- require '../aui'
5
+ require '../src/utilities/aui'
7
6
  require 'digest/sha2'
8
7
  require 'faye/websocket'
9
8
  require 'geocoder'
@@ -15,6 +14,7 @@ require 'rufus-scheduler'
15
14
  require 'securerandom'
16
15
  require 'sequel'
17
16
 
17
+ Faye::WebSocket.load_adapter('puma') # Utilisez l'adaptateur 'thin' pour Faye
18
18
 
19
19
  class String
20
20
  def is_json?
@@ -27,11 +27,11 @@ class String
27
27
  end
28
28
 
29
29
  class Database
30
- def self.connect_database
30
+ def self.connect_database
31
31
  if File.exist?("eden.sqlite3")
32
- eden=Sequel.connect("sqlite://eden.sqlite3")
32
+ eden = Sequel.connect("sqlite://eden.sqlite3")
33
33
  else
34
- eden=Sequel.connect("sqlite://eden.sqlite3")
34
+ eden = Sequel.connect("sqlite://eden.sqlite3")
35
35
  eden.create_table :atome do
36
36
  primary_key :atome_id
37
37
  String :aui
@@ -47,15 +47,15 @@ class Database
47
47
  String :shadow
48
48
  String :border
49
49
  String :fill
50
- Float :x
51
- Float :xx
52
- Float :y
53
- Float :yy
54
- Float :z
55
- Float :zz
56
- Float :width
57
- Float :height
58
- Float :depth
50
+ Float :x
51
+ Float :xx
52
+ Float :y
53
+ Float :yy
54
+ Float :z
55
+ Float :zz
56
+ Float :width
57
+ Float :height
58
+ Float :depth
59
59
  end
60
60
 
61
61
  end
@@ -65,9 +65,9 @@ class Database
65
65
  end
66
66
 
67
67
  class App < Roda
68
- ## comment below when test will be done
68
+ # comment below when test will be done
69
69
  File.delete("./eden.sqlite3") if File.exist?("./eden.sqlite3")
70
- eden=Database.connect_database
70
+ eden = Database.connect_database
71
71
  items = eden[:atome]
72
72
 
73
73
  # populate the table
@@ -79,38 +79,34 @@ class App < Roda
79
79
 
80
80
  puts "The average price is: #{items.avg(:width)}"
81
81
 
82
-
83
- index_content = File.read("../src/index.html")
84
-
82
+ index_content = File.read("../src/index_server.html")
85
83
 
86
84
  opts[:root] = '../src'
87
85
  plugin :static, %w[/css /js /medias], root: '../src'
88
86
  route do |r|
89
- if Faye::WebSocket.websocket?(env)
90
- websocket = Faye::WebSocket.new(env)
91
- websocket.on :message do |event|
92
- client_data = event.data
93
- if client_data.is_json?
94
- # to get hash from data: data_to_hash = JSON.parse(client_data)
95
- # websocket.send(client_data)
96
- websocket.send("The average price must be: #{items.avg(:width)}")
97
- uuid = SecureRandom.uuid
98
- websocket.send("The coded uuid is : #{uuid}")
87
+ r.root do
88
+ if Faye::WebSocket.websocket?(r.env)
89
+ ws = Faye::WebSocket.new(r.env)
90
+
91
+ ws.on :open do |event|
92
+ ws.send('server ready'.to_json)
93
+ ws.send('asking for synchro data'.to_json)
99
94
  end
95
+
96
+ ws.on(:message) do |event|
97
+ #TODO : encode event on both client and server
98
+ ws.send(event.data.reverse.to_json) # Envoie le message inversé au client
99
+ end
100
+
101
+ ws.on(:close) do |event|
102
+ puts "server closed with status #{event.code}"
103
+ end
104
+ ws.rack_response
100
105
  end
101
- websocket.on :open do
102
- # websocket.send(event.data)
103
- end
104
- websocket.on :close do
105
- # websocket.send(event.data)
106
- end
107
- websocket.rack_response
108
- end
109
- r.root do
110
- r.redirect "/index"
111
- end
112
- r.on "index" do
106
+
113
107
  index_content
114
108
  end
109
+
115
110
  end
111
+
116
112
  end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ # atome server
4
+ require 'em/pure_ruby' if RUBY_PLATFORM == 'x64-mingw32'
5
+ require '../src/utilities/aui'
6
+ require 'digest/sha2'
7
+ require 'faye/websocket'
8
+ require 'geocoder'
9
+ require 'json'
10
+ require 'mail'
11
+ require 'net/ping'
12
+ require 'roda'
13
+ require 'rufus-scheduler'
14
+ require 'securerandom'
15
+ require 'sequel'
16
+
17
+ Faye::WebSocket.load_adapter('puma') # Utilisez l'adaptateur 'thin' pour Faye
18
+
19
+ class String
20
+ def is_json?
21
+ begin
22
+ !JSON.parse(self).nil?
23
+ rescue
24
+ false
25
+ end
26
+ end
27
+ end
28
+
29
+ class Database
30
+ def self.connect_database
31
+ if File.exist?("eden.sqlite3")
32
+ eden = Sequel.connect("sqlite://eden.sqlite3")
33
+ else
34
+ eden = Sequel.connect("sqlite://eden.sqlite3")
35
+ eden.create_table :atome do
36
+ primary_key :atome_id
37
+ String :aui
38
+ String :id
39
+ String :type
40
+ String :name
41
+ String :content
42
+ String :position
43
+ String :dimension
44
+ String :color
45
+ String :right
46
+ String :effect
47
+ String :shadow
48
+ String :border
49
+ String :fill
50
+ Float :x
51
+ Float :xx
52
+ Float :y
53
+ Float :yy
54
+ Float :z
55
+ Float :zz
56
+ Float :width
57
+ Float :height
58
+ Float :depth
59
+ end
60
+
61
+ end
62
+ eden
63
+ end
64
+
65
+ end
66
+
67
+ class App < Roda
68
+ # comment below when test will be done
69
+ File.delete("./eden.sqlite3") if File.exist?("./eden.sqlite3")
70
+ eden = Database.connect_database
71
+ items = eden[:atome]
72
+
73
+ # populate the table
74
+ items.insert(name: 'abc', width: rand * 100)
75
+ items.insert(name: 'def', width: rand * 100)
76
+ items.insert(name: 'ghi', width: rand * 100)
77
+
78
+ puts "Item count: #{items.count}"
79
+
80
+ puts "The average price is: #{items.avg(:width)}"
81
+
82
+ index_content = File.read("../src/index_server.html")
83
+
84
+ opts[:root] = '../src'
85
+ plugin :static, %w[/css /js /medias], root: '../src'
86
+ route do |r|
87
+ r.root do
88
+ if Faye::WebSocket.websocket?(r.env)
89
+ ws = Faye::WebSocket.new(r.env)
90
+
91
+ ws.on :open do |event|
92
+ ws.send('server ready'.to_json)
93
+ ws.send('asking for synchro data'.to_json)
94
+ end
95
+
96
+ ws.on(:message) do |event|
97
+ #TODO : encode event on both client and server
98
+ ws.send(event.data.reverse.to_json) # Envoie le message inversé au client
99
+ end
100
+
101
+ ws.on(:close) do |event|
102
+ puts "server closed with status #{event.code}"
103
+ end
104
+ ws.rack_response
105
+ end
106
+
107
+ index_content
108
+ end
109
+
110
+ end
111
+
112
+ end
@@ -0,0 +1,10 @@
1
+ path = ARGV[0]
2
+ name = ARGV[1]
3
+
4
+ File.open( "#{path}#{name}.txt", 'w') do |f|
5
+ f.write("Le chemin ; #{path}!\n")
6
+ f.write("Le nom du fichier #{name}\n")
7
+ end
8
+
9
+ # `gphoto2 --capture-image-and-download --filename "../src/medias/images/photos/verif.jpg"`
10
+ `gphoto2 --capture-image-and-download --filename "#{path}#{name}.jpg"`
@@ -3,10 +3,11 @@
3
3
  require 'roda'
4
4
  require 'rack/unreloader'
5
5
 
6
- Unreloader = Rack::Unreloader.new(subclasses: %w[Roda]) { App }
7
- Unreloader.require './atome_server.rb'
8
- run Unreloader
6
+ # Unreloader = Rack::Unreloader.new(subclasses: %w[Roda]) { App }
7
+ # Unreloader.require './atome_server.rb'
8
+ # run Unreloader
9
9
  # uncomment to allow code reloading
10
10
  # uncomment below for prod or comment to allow code reloading
11
- #run App.freeze.app
11
+ require './atome_server.rb'
12
+ run App.app.freeze
12
13
 
@@ -17,6 +17,27 @@ html, body {
17
17
  color: lightgray;
18
18
  }
19
19
 
20
+ .matrix{
21
+ background-color: blue;
22
+ border-radius: 9px;
23
+ display: grid;
24
+ grid-template-columns: repeat(4, 1fr);
25
+ flex-direction: column;
26
+ gap: 20px;
27
+ padding: 3px;
28
+ }
29
+ /*.matrix_element{*/
30
+ /* background-color: rebeccapurple;*/
31
+ /* width: 100%;*/
32
+ /* height: 29px;*/
33
+ /* border-radius: 59px;*/
34
+ /* display: flex;*/
35
+ /* justify-content: center;*/
36
+ /* align-items: center;*/
37
+ /* flex-direction: column;*/
38
+ /* margin-bottom: 20px;*/
39
+ /* padding: 0px*/
40
+ /*}*/
20
41
 
21
42
  #view {
22
43
  left: 0px;
@@ -25,7 +46,7 @@ html, body {
25
46
  top: 0px;
26
47
  bottom: 0px;
27
48
  width: auto;
28
- display: block;
49
+ /*display: block;*/
29
50
  height: auto;
30
51
  overflow: hidden;
31
52
  position: absolute;
@@ -47,9 +68,10 @@ html, body {
47
68
  }
48
69
 
49
70
  .atome {
71
+ will-change: transform;
50
72
  cursor: default;
51
73
  pointer-events: auto;
52
- caret-color: transparent;
74
+ caret-color: white;
53
75
  outline: none;
54
76
  -webkit-user-select: none;
55
77
  -moz-user-select: none;
@@ -65,8 +87,11 @@ html, body {
65
87
  }
66
88
 
67
89
  .text {
68
- -webkit-text-fill-color: transparent;
69
- -webkit-background-clip: text;
90
+ /*-webkit-text-fill-color: transparent;*/
91
+ /*-webkit-background-clip: text;*/
92
+ word-wrap: break-word;
93
+ white-space: pre-wrap;
94
+ position: relative;
70
95
  }
71
96
 
72
97
  .center {
@@ -1,53 +1,46 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="En">
3
3
  <head>
4
- <!-- <link rel="icon" type="image/x-icon" href="./favicon.ico">-->
5
4
  <link rel="icon" type="image/x-icon"
6
5
  href="https://github.com/atomecorp/atome/blob/master/vendor/assets/src/favicon.ico">
7
-
8
-
9
6
  <meta name='viewport' content='initial-scale=1, width=device-width, viewport-fit=cover'>
10
7
  <meta charset='UTF-8'/>
11
8
  <meta name="format-detection" content="telephone=no">
12
9
  <meta name="msapplication-tap-highlight" content="no">
13
10
  <link type="text/css" rel="stylesheet" href="css/style.css">
14
11
  <style id="atomic_style"></style>
15
- <script type="text/javascript" src="js/third_parties/interact.min.js"></script>
16
- <script type="text/javascript" src="js/third_parties/popmotion.min.js"></script>
17
- <script type="text/javascript" src="js/third_parties/sortable.min.js"></script>
18
- <script type="text/javascript" src="js/third_parties/wad.min.js"></script>
19
- <!-- <script type="text/javascript" src="js/third_parties/tone.min.js"></script>-->
20
- <!-- <script type="text/javascript" src="js/third_parties/xsound.min.js"></script>-->
21
- <script type="text/javascript" src="js/third_parties/sha256.min.js"></script>
22
- <script type="text/javascript" src="js/third_parties/ping.min.js"></script>
23
- <!-- <script src='js/third_parties/w3color.js'></script>-->
24
- <script src='js/opal/opal.js'></script>
25
- <script src='js/opal/opal_browser.js'></script>
26
- <!-- TODO: we line below is commented when using stand alone mode and loaded on demand when using server mode-->
27
- <script type="text/javascript" src="js/third_parties/fabric.min.js"></script>
28
- <!-- <script type="text/javascript" src="js/third_parties/three.min.js"></script>-->
29
- <script src='js/opal/opal_parser.js'></script>
30
- <script src='js/aui.js'></script>
31
-
32
- <script src='js/atome/atome_helpers/atome_animate.js' defer></script>
33
- <script src='js/atome/atome_helpers/atome_communication.js' defer></script>
34
- <script src='js/atome/atome_helpers/atome_drag.js' defer></script>
35
- <script src='js/atome/atome_helpers/atome_drop.js' defer></script>
36
- <script src='js/atome/atome_helpers/atome_over.js' defer></script>
37
- <script src='js/atome/atome_helpers/atome_events.js' defer></script>
38
- <script src='js/atome/atome_helpers/atome_file.js' defer></script>
39
- <script src='js/atome/atome_helpers/atome_sort.js' defer></script>
40
- <script src='js/atome/atome_helpers/atome_time.js' defer></script>
41
- <script src='js/atome/atome_helpers/atome_video.js' defer></script>
42
- <script src='js/atome/atome.js' defer></script>
43
- <script src='js/atome/kernel.js' defer></script>
44
- <script src='js/infos.js'></script>
45
- <script src='js/opal/atome_opal_extensions.js'></script>
12
+ <script defer src="js/third_parties/browser.script.iife.min.js" type="text/javascript"></script>
13
+ <script type="text/javascript" src="js/third_parties/interact.min.js" defer></script>
14
+ <script type="text/javascript" src="js/third_parties/popmotion.min.js" defer></script>
15
+ <script type="text/javascript" src="js/third_parties/sortable.min.js" defer></script>
16
+ <script type="text/javascript" src="js/third_parties/wad.min.js" defer></script>
17
+ <script type="text/javascript" src="js/third_parties/sha256.min.js" defer></script>
18
+ <script type="text/javascript" src="js/third_parties/ping.min.js" defer></script>
19
+ <script type="text/javascript" src="js/third_parties/fabric.min.js" defer></script>
20
+ <script type="text/javascript" src="js/third_parties/papaparse.min.js" defer></script>
21
+ <script defer src="js/atome/atome_helpers/communication.js" type="text/javascript"></script>
22
+ <script defer src="js/atome/atome_helpers/file.js" type="text/javascript"></script>
23
+ <script>
24
+ // to prevent right click
25
+ document.addEventListener("contextmenu", function (e) {
26
+ e.preventDefault();
27
+ });
28
+ </script>
46
29
  <title>atome</title>
47
-
48
30
  </head>
49
- <body id='user_view' class='atome' oncontextmenu="return false;">
50
- </body>
51
- <script src='js/application.js' defer></script>
31
+ <body id='user_view' class='atome'>
52
32
 
33
+ <div id='copyright'>©atome 2023</div>
34
+ </body>
35
+ <script type="text/ruby">
36
+ require 'js'
37
+ require '/lib/platform_specific/wasm/atome_wasm_extensions'
38
+ require '/utilities/aui'
39
+ require '/utilities/host_mode'
40
+ require '/lib/atome_relative'
41
+ require './index'
42
+ #puts Universe.host
43
+ </script>
44
+ <script defer src="js/atome/specific/wasm.js" type="text/javascript"></script>
45
+ <script defer src="js/atome/atome.js" type="text/javascript"></script>
53
46
  </html>
@@ -0,0 +1,42 @@
1
+ <!DOCTYPE html>
2
+ <html lang="En">
3
+ <head>
4
+ <link rel="icon" type="image/x-icon"
5
+ href="https://github.com/atomecorp/atome/blob/master/vendor/assets/src/favicon.ico">
6
+ <meta name='viewport' content='initial-scale=1, width=device-width, viewport-fit=cover'>
7
+ <meta charset='UTF-8'/>
8
+ <meta name="format-detection" content="telephone=no">
9
+ <meta name="msapplication-tap-highlight" content="no">
10
+ <link type="text/css" rel="stylesheet" href="css/style.css">
11
+ <style id="atomic_style"></style>
12
+ <script type="text/javascript" src="js/third_parties/interact.min.js" defer></script>
13
+ <script type="text/javascript" src="js/third_parties/popmotion.min.js" defer></script>
14
+ <script type="text/javascript" src="js/third_parties/sortable.min.js" defer></script>
15
+ <script type="text/javascript" src="js/third_parties/wad.min.js" defer></script>
16
+ <script type="text/javascript" src="js/third_parties/sha256.min.js" defer></script>
17
+ <script type="text/javascript" src="js/third_parties/ping.min.js" defer></script>
18
+ <script defer src="js/third_parties/fabric.min.js" type="text/javascript"></script>
19
+ <script type="text/javascript" src="js/third_parties/papaparse.min.js" defer></script>
20
+ <script src='js/opal/opal.js' defer></script>
21
+ <script src='js/opal/opal_parser.js' defer></script>
22
+ <script src='js/aui.js' defer></script>
23
+ <script defer defer src='js/host_mode.js'></script>
24
+ <script src='js/opal/atome_opal_extensions.js' defer></script>
25
+ <script src='js/atome/kernel.js' defer></script>
26
+ <script defer src="js/atome/atome_helpers/communication.js" type="text/javascript"></script>
27
+ <script defer src="js/atome/atome_helpers/file.js" type="text/javascript"></script>
28
+ <script>
29
+ // to prevent right click
30
+ document.addEventListener("contextmenu", function (e) {
31
+ e.preventDefault();
32
+ });
33
+ </script>
34
+ <title>atome</title>
35
+ </head>
36
+ <body id='user_view' class='atome'>
37
+ <div id='copyright'>©atome 2027</div>
38
+ </body>
39
+ <script defer src="js/atome/specific/opal.js" type="text/javascript"></script>
40
+ <script defer src="js/atome/atome.js" type="text/javascript"></script>
41
+ <script src='js/application.js' defer></script>
42
+ </html>
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html>
2
+ <html lang="En">
3
+ <head>
4
+ <link href="https://github.com/atomecorp/atome/blob/master/vendor/assets/src/favicon.ico" rel="icon"
5
+ type="image/x-icon">
6
+ <meta content='initial-scale=1, width=device-width, viewport-fit=cover' name='viewport'>
7
+ <meta charset='UTF-8'/>
8
+ <meta content="telephone=no" name="format-detection">
9
+ <meta content="no" name="msapplication-tap-highlight">
10
+ <link href="css/style.css" rel="stylesheet" type="text/css">
11
+ <style id="atomic_style"></style>
12
+ <script defer src="js/third_parties/interact.min.js" type="text/javascript"></script>
13
+ <script defer src="js/third_parties/popmotion.min.js" type="text/javascript"></script>
14
+ <script defer src="js/third_parties/sortable.min.js" type="text/javascript"></script>
15
+ <script defer src="js/third_parties/wad.min.js" type="text/javascript"></script>
16
+ <script defer src="js/third_parties/sha256.min.js" type="text/javascript"></script>
17
+ <script defer src="js/third_parties/ping.min.js" type="text/javascript"></script>
18
+ <script defer src="js/third_parties/fabric.min.js" type="text/javascript"></script>
19
+ <script type="text/javascript" src="js/third_parties/papaparse.min.js" defer></script>
20
+ <script defer src='js/opal/opal.js'></script>
21
+ <script defer src='js/opal/opal_parser.js'></script>
22
+ <script defer defer src='js/aui.js'></script>
23
+ <script defer defer src='js/host_mode.js'></script>
24
+ <script defer src='js/opal/atome_opal_extensions.js'></script>
25
+ <script defer src='js/atome/kernel.js'></script>
26
+ <script defer src="js/atome/atome_helpers/communication.js" type="text/javascript"></script>
27
+ <script defer src="js/atome/atome_helpers/file.js" type="text/javascript"></script>
28
+ <script>
29
+ // to prevent right click
30
+ document.addEventListener("contextmenu", function (e) {
31
+ e.preventDefault();
32
+ });
33
+ </script>
34
+ <title>atome</title>
35
+ </head>
36
+ <body id='user_view' class='atome'>
37
+ <div id='copyright'>©atome 2027</div>
38
+ </body>
39
+ <script defer src="js/atome/specific/opal.js" type="text/javascript"></script>
40
+ <script defer src="js/atome/atome.js" type="text/javascript"></script>
41
+ <script defer src='js/application.js'></script>
42
+
43
+ </html>
@@ -0,0 +1,46 @@
1
+ <!DOCTYPE html>
2
+ <html lang="En">
3
+ <head>
4
+ <link rel="icon" type="image/x-icon"
5
+ href="https://github.com/atomecorp/atome/blob/master/vendor/assets/src/favicon.ico">
6
+ <meta name='viewport' content='initial-scale=1, width=device-width, viewport-fit=cover'>
7
+ <meta charset='UTF-8'/>
8
+ <meta name="format-detection" content="telephone=no">
9
+ <meta name="msapplication-tap-highlight" content="no">
10
+ <link type="text/css" rel="stylesheet" href="css/style.css">
11
+ <style id="atomic_style"></style>
12
+ <script defer src="js/third_parties/browser.script.iife.min.js" type="text/javascript"></script>
13
+ <script type="text/javascript" src="js/third_parties/interact.min.js" defer></script>
14
+ <script type="text/javascript" src="js/third_parties/popmotion.min.js" defer></script>
15
+ <script type="text/javascript" src="js/third_parties/sortable.min.js" defer></script>
16
+ <script type="text/javascript" src="js/third_parties/wad.min.js" defer></script>
17
+ <script type="text/javascript" src="js/third_parties/sha256.min.js" defer></script>
18
+ <script type="text/javascript" src="js/third_parties/ping.min.js" defer></script>
19
+ <script type="text/javascript" src="js/third_parties/fabric.min.js" defer></script>
20
+ <script type="text/javascript" src="js/third_parties/papaparse.min.js" defer></script>
21
+ <script defer src="js/atome/atome_helpers/communication.js" type="text/javascript"></script>
22
+ <script defer src="js/atome/atome_helpers/file.js" type="text/javascript"></script>
23
+ <script>
24
+ // to prevent right click
25
+ document.addEventListener("contextmenu", function (e) {
26
+ e.preventDefault();
27
+ });
28
+ </script>
29
+ <title>atome</title>
30
+ </head>
31
+ <body id='user_view' class='atome'>
32
+
33
+ <div id='copyright'>©atome 2023</div>
34
+ </body>
35
+ <script type="text/ruby">
36
+ require 'js'
37
+ require '/lib/platform_specific/wasm/atome_wasm_extensions'
38
+ require '/utilities/aui'
39
+ require '/utilities/host_mode'
40
+ require '/lib/atome_relative'
41
+ require './index'
42
+ #puts Universe.host
43
+ </script>
44
+ <script defer src="js/atome/specific/wasm.js" type="text/javascript"></script>
45
+ <script defer src="js/atome/atome.js" type="text/javascript"></script>
46
+ </html>