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,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="76" height="76" xml:space="preserve" id="linkedInCanvas">
4
+ <g id="linkedInCanvas-layer1">
5
+ <g id="linkedInCanvas-g3019">
6
+ <rect id="linkedin-back" stroke="none" fill="rgb(0, 102, 153)" x="-0.12" y="-0.22" width="75.75" height="76.25" rx="5.6" />
7
+ <path id="linkedInCanvas-path28" fill-rule="evenodd" stroke="none" fill="rgb(255, 255, 255)" d="M 22.85,63.61 L 22.85,29.18 11.41,29.18 11.41,63.61 22.85,63.61 Z M 17.13,24.48 C 21.12,24.48 23.6,21.84 23.6,18.53 23.53,15.15 21.12,12.58 17.2,12.58 13.29,12.58 10.73,15.15 10.73,18.53 10.73,21.84 13.21,24.48 17.05,24.48 L 17.13,24.48 Z M 17.13,24.48" />
8
+ <path id="linkedInCanvas-path30" fill-rule="evenodd" stroke="none" fill="rgb(255, 255, 255)" d="M 29.18,63.61 L 40.63,63.61 40.63,44.38 C 40.63,43.35 40.7,42.33 41,41.59 41.83,39.54 43.71,37.41 46.88,37.41 51.02,37.41 52.67,40.56 52.67,45.19 L 52.67,63.61 64.12,63.61 64.12,43.87 C 64.12,33.29 58.47,28.37 50.94,28.37 44.77,28.37 42.06,31.82 40.55,34.17 L 40.63,34.17 40.63,29.18 29.18,29.18 C 29.33,32.41 29.18,63.61 29.18,63.61 Z M 29.18,63.61" />
9
+ </g>
10
+ </g>
11
+ </svg>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="271" xml:space="preserve" id="xCanvas">
4
+ <path id="x_logo" stroke="none" fill="rgb(0, 0, 0)" d="M 236,-0 L 282,-0 181,115 299,271 206.4,271 133.9,176.2 50.9,271 4.9,271 111.9,148 -1.1,-0 93.8,-0 159.3,86.6 236,-0 Z M 219.9,244 L 245.4,244 80.4,26 53,26 219.9,244 Z M 219.9,244" />
5
+ </svg>
@@ -16,7 +16,7 @@ tauri-build = {version = "1.2", features = [] }
16
16
  [dependencies]
17
17
  serde_json = "1.0"
18
18
  serde = { version = "1.0", features = ["derive"] }
19
- tauri = {version = "1.2", features = [] }
19
+ tauri = {version = "1.5", features = ["api-all"] }
20
20
 
21
21
  [features]
22
22
  # by default Tauri runs in production mode
@@ -1,7 +1,6 @@
1
- #![cfg_attr(
2
- all(not(debug_assertions), target_os = "windows"),
3
- windows_subsystem = "windows"
4
- )]
1
+ use std::process::Command;
2
+ use std::str;
3
+ use std::fs;
5
4
 
6
5
  // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
7
6
  #[tauri::command]
@@ -9,9 +8,64 @@ fn greet(name: &str) -> String {
9
8
  format!("Hello, {}! You've been greeted from Rust!", name)
10
9
  }
11
10
 
11
+ #[tauri::command]
12
+ fn execute_command(command: &str) -> Result<String, String> {
13
+ match Command::new("sh")
14
+ .arg("-c")
15
+ .arg(command)
16
+ .output()
17
+ {
18
+ Ok(output) => {
19
+ if output.status.success() {
20
+ Ok(str::from_utf8(&output.stdout).unwrap().to_string())
21
+ } else {
22
+ Err(str::from_utf8(&output.stderr).unwrap().to_string())
23
+ }
24
+ }
25
+ Err(error) => Err(error.to_string()),
26
+ }
27
+ }
28
+
29
+ #[tauri::command]
30
+ fn read_file(file_path: &str) -> Result<String, String> {
31
+ let content = match fs::read_to_string(file_path) {
32
+ Ok(content) => content,
33
+ Err(_) => return Err("Failed to read file.".to_string()),
34
+ };
35
+ Ok(content)
36
+ }
37
+
38
+ #[tauri::command]
39
+ fn write_file(file_path: &str, content: &str) -> Result<(), String> {
40
+ let path = std::path::Path::new(file_path);
41
+ match fs::write(path, content) {
42
+ Ok(_) => Ok(()),
43
+ Err(_) => Err("Failed to write to the file.".to_string()),
44
+ }
45
+ }
46
+
47
+ // Nouvelle commande pour lister le contenu du répertoire
48
+ #[tauri::command]
49
+ fn list_directory_content(directory_path: String) -> Result<Vec<String>, String> {
50
+ let path = std::path::Path::new(&directory_path);
51
+ match fs::read_dir(path) {
52
+ Ok(entries) => {
53
+ let entries: Vec<String> = entries
54
+ .filter_map(|entry| {
55
+ entry.ok().and_then(|e| {
56
+ e.path().file_name().and_then(std::ffi::OsStr::to_str).map(|s| s.to_owned())
57
+ })
58
+ })
59
+ .collect();
60
+ Ok(entries)
61
+ }
62
+ Err(_) => Err("Failed to read directory.".to_string()),
63
+ }
64
+ }
65
+
12
66
  fn main() {
13
67
  tauri::Builder::default()
14
- .invoke_handler(tauri::generate_handler![greet])
68
+ .invoke_handler(tauri::generate_handler![greet, execute_command, read_file, write_file, list_directory_content])
15
69
  .run(tauri::generate_context!())
16
70
  .expect("error while running tauri application");
17
71
  }
@@ -33,7 +33,7 @@
33
33
  "icons/icon.icns",
34
34
  "icons/icon.ico"
35
35
  ],
36
- "identifier": "com.tauri.dev",
36
+ "identifier": "com.atome.dev",
37
37
  "longDescription": "",
38
38
  "macOS": {
39
39
  "entitlements": null,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4.1.7
4
+ version: 0.5.5.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Eric Godard
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-25 00:00:00.000000000 Z
11
+ date: 2023-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arduino_firmata
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: eventmachine
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.2.7
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.2.7
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: faye-websocket
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -136,34 +150,6 @@ dependencies:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
152
  version: '1.5'
139
- - !ruby/object:Gem::Dependency
140
- name: atome-opal-browser
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 0.3.6
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 0.3.6
153
- - !ruby/object:Gem::Dependency
154
- name: opal-jquery
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.4'
160
- type: :runtime
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.4'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: parser
169
155
  requirement: !ruby/object:Gem::Requirement
@@ -362,7 +348,15 @@ files:
362
348
  - Rakefile
363
349
  - app_builder_helpers/Rakefile
364
350
  - documentation/atome.md
351
+ - documentation/basic.md
365
352
  - documentation/database.JPG
353
+ - documentation/deep learning/architecture.txt
354
+ - documentation/deep learning/atome.png
355
+ - documentation/deep learning/basic_infos.txt
356
+ - documentation/deep learning/example_of_users_code.rb
357
+ - documentation/deep learning/misc.txt
358
+ - documentation/deep learning/ruby_js_example.rb
359
+ - documentation/deep learning/wasm_script_help.text
366
360
  - documentation/framework/apis.md
367
361
  - documentation/framework/atome_explained.md
368
362
  - documentation/framework/box_content.md
@@ -395,8 +389,7 @@ files:
395
389
  - lib/atome/atome.rb
396
390
  - lib/atome/extensions/atome.rb
397
391
  - lib/atome/extensions/geolocation.rb
398
- - lib/atome/extensions/mathematic.rb
399
- - lib/atome/extensions/matrix.rb
392
+ - lib/atome/extensions/mathematics.rb
400
393
  - lib/atome/extensions/ping.rb
401
394
  - lib/atome/extensions/sha.rb
402
395
  - lib/atome/genesis/generators/atome.rb
@@ -404,14 +397,16 @@ files:
404
397
  - lib/atome/genesis/generators/effect.rb
405
398
  - lib/atome/genesis/generators/event.rb
406
399
  - lib/atome/genesis/generators/geometry.rb
400
+ - lib/atome/genesis/generators/hierarchy.rb
407
401
  - lib/atome/genesis/generators/identity.rb
408
402
  - lib/atome/genesis/generators/material.rb
403
+ - lib/atome/genesis/generators/property.rb
404
+ - lib/atome/genesis/generators/security.rb
409
405
  - lib/atome/genesis/generators/spatial.rb
410
406
  - lib/atome/genesis/generators/time.rb
411
407
  - lib/atome/genesis/generators/utility.rb
412
408
  - lib/atome/genesis/genesis.rb
413
409
  - lib/atome/genesis/sparkle.rb
414
- - lib/atome/helpers/callbacks.rb
415
410
  - lib/atome/helpers/color_helper/color.rb
416
411
  - lib/atome/helpers/color_helper/color/cmyk.rb
417
412
  - lib/atome/helpers/color_helper/color/css.rb
@@ -428,60 +423,48 @@ files:
428
423
  - lib/atome/helpers/color_helper/color/yiq.rb
429
424
  - lib/atome/helpers/essentials.rb
430
425
  - lib/atome/helpers/sanitizer.rb
426
+ - lib/atome/helpers/security.rb
431
427
  - lib/atome/helpers/utilities.rb
432
- - lib/atome/kernel/batch.rb
433
- - lib/atome/kernel/essentials.rb
428
+ - lib/atome/kernel/black_matter.rb
434
429
  - lib/atome/kernel/universe.rb
435
430
  - lib/atome/presets/atome.rb
436
- - lib/atome/renderers/browser/atome.rb
437
- - lib/atome/renderers/browser/browser.rb
438
- - lib/atome/renderers/browser/effect.rb
439
- - lib/atome/renderers/browser/event.rb
440
- - lib/atome/renderers/browser/geometry.rb
441
- - lib/atome/renderers/browser/helpers/animation_helper.rb
442
- - lib/atome/renderers/browser/helpers/browser_helper.rb
443
- - lib/atome/renderers/browser/helpers/color_helper.rb
444
- - lib/atome/renderers/browser/helpers/drag_helper.rb
445
- - lib/atome/renderers/browser/helpers/drop_helper.rb
446
- - lib/atome/renderers/browser/helpers/effect_helper.rb
447
- - lib/atome/renderers/browser/helpers/event_helper.rb
448
- - lib/atome/renderers/browser/helpers/image_helper.rb
449
- - lib/atome/renderers/browser/helpers/over_helper.rb
450
- - lib/atome/renderers/browser/helpers/shadow_helper.rb
451
- - lib/atome/renderers/browser/helpers/shape_helper.rb
452
- - lib/atome/renderers/browser/helpers/text_helper.rb
453
- - lib/atome/renderers/browser/helpers/video_helper.rb
454
- - lib/atome/renderers/browser/helpers/web_helper.rb
455
- - lib/atome/renderers/browser/identity.rb
456
- - lib/atome/renderers/browser/material.rb
457
- - lib/atome/renderers/browser/opal_add_on.rb
458
- - lib/atome/renderers/browser/opal_browser.rb
459
- - lib/atome/renderers/browser/spatial.rb
460
- - lib/atome/renderers/browser/time.rb
461
- - lib/atome/renderers/browser/utility.rb
462
- - lib/atome/renderers/headless/headless.rb
463
- - lib/atome/renderers/headless/utility.rb
464
- - lib/atome/renderers/html/atome.rb
465
- - lib/atome/renderers/html/effect.rb
466
- - lib/atome/renderers/html/event.rb
467
- - lib/atome/renderers/html/geometry.rb
468
- - lib/atome/renderers/html/html.rb
469
- - lib/atome/renderers/html/identity.rb
470
- - lib/atome/renderers/html/opal_browser.rb
471
- - lib/atome/renderers/html/spatial.rb
472
- - lib/atome/renderers/html/utility.rb
473
- - lib/atome/renderers/opal/atome_opal_extensions.rb
474
- - lib/atome/renderers/opal/extensions/atome.rb
475
- - lib/atome/renderers/opal/extensions/color.rb
476
- - lib/atome/renderers/opal/extensions/geolocation.rb
477
- - lib/atome/renderers/opal/extensions/ping.rb
478
- - lib/atome/renderers/opal/extensions/sha.rb
479
- - lib/atome/renderers/opal/opal.rb
480
- - lib/atome/renderers/opal/opal_parser.rb
481
- - lib/atome/renderers/renderer.rb
482
- - lib/atome/renderers/server/server.rb
483
- - lib/atome/renderers/server/utility.rb
484
431
  - lib/atome/version.rb
432
+ - lib/atome_relative.rb
433
+ - lib/platform_specific/opal/atome_opal_extensions.rb
434
+ - lib/platform_specific/opal/extensions/color.rb
435
+ - lib/platform_specific/opal/extensions/geolocation.rb
436
+ - lib/platform_specific/opal/extensions/js.rb
437
+ - lib/platform_specific/opal/extensions/object.rb
438
+ - lib/platform_specific/opal/extensions/ping.rb
439
+ - lib/platform_specific/opal/extensions/sha.rb
440
+ - lib/platform_specific/opal/opal.rb
441
+ - lib/platform_specific/opal/opal_parser.rb
442
+ - lib/platform_specific/wasm/atome_wasm_extensions.rb
443
+ - lib/renderers/headless/headless.rb
444
+ - lib/renderers/headless/index.rb
445
+ - lib/renderers/headless/index_relative.rb
446
+ - lib/renderers/headless/utility.rb
447
+ - lib/renderers/html/atome.rb
448
+ - lib/renderers/html/atome_html.rb
449
+ - lib/renderers/html/communication.rb
450
+ - lib/renderers/html/effect.rb
451
+ - lib/renderers/html/event.rb
452
+ - lib/renderers/html/geometry.rb
453
+ - lib/renderers/html/hierarchy.rb
454
+ - lib/renderers/html/html.rb
455
+ - lib/renderers/html/identity.rb
456
+ - lib/renderers/html/index.rb
457
+ - lib/renderers/html/index_relative.rb
458
+ - lib/renderers/html/material.rb
459
+ - lib/renderers/html/property.rb
460
+ - lib/renderers/html/security.rb
461
+ - lib/renderers/html/spatial.rb
462
+ - lib/renderers/html/time.rb
463
+ - lib/renderers/html/utility.rb
464
+ - lib/renderers/renderer.rb
465
+ - lib/renderers/server/index.rb
466
+ - lib/renderers/server/index_relative.rb
467
+ - lib/renderers/server/utility.rb
485
468
  - sig/atome.rbs
486
469
  - sig/atome_js.rbs
487
470
  - sig/batch.rbs
@@ -490,16 +473,100 @@ files:
490
473
  - sig/genesis.rbs
491
474
  - sig/matrix.rbs
492
475
  - sig/object.rbs
476
+ - sig/universe.rbs
493
477
  - vendor/assets/Guardfile
494
478
  - vendor/assets/Rakefile
479
+ - vendor/assets/application/examples/a_concat.rb
480
+ - vendor/assets/application/examples/affect.rb
481
+ - vendor/assets/application/examples/animation.rb
482
+ - vendor/assets/application/examples/apply.rb
483
+ - vendor/assets/application/examples/atome.rb
484
+ - vendor/assets/application/examples/attach.rb
485
+ - vendor/assets/application/examples/attached.rb
486
+ - vendor/assets/application/examples/basic_understanding.rb
487
+ - vendor/assets/application/examples/browse.rb
488
+ - vendor/assets/application/examples/callback.rb
489
+ - vendor/assets/application/examples/category.rb
490
+ - vendor/assets/application/examples/clear.rb
491
+ - vendor/assets/application/examples/clones.rb
492
+ - vendor/assets/application/examples/code.rb
493
+ - vendor/assets/application/examples/color.rb
494
+ - vendor/assets/application/examples/convert.rb
495
+ - vendor/assets/application/examples/copy.rb
496
+ - vendor/assets/application/examples/copybck.rb
497
+ - vendor/assets/application/examples/debug.rb
498
+ - vendor/assets/application/examples/delete.rb
499
+ - vendor/assets/application/examples/display.rb
500
+ - vendor/assets/application/examples/display_bck.rb
501
+ - vendor/assets/application/examples/drag.rb
502
+ - vendor/assets/application/examples/drop.rb
503
+ - vendor/assets/application/examples/duplicate.rb
504
+ - vendor/assets/application/examples/edit.rb
505
+ - vendor/assets/application/examples/encode.rb
506
+ - vendor/assets/application/examples/file.rb
507
+ - vendor/assets/application/examples/find.rb
508
+ - vendor/assets/application/examples/generator_and_build.rb
509
+ - vendor/assets/application/examples/getter.rb
510
+ - vendor/assets/application/examples/grab.rb
511
+ - vendor/assets/application/examples/gradient.rb
512
+ - vendor/assets/application/examples/group.rb
513
+ - vendor/assets/application/examples/hierarchy.rb
514
+ - vendor/assets/application/examples/history.rb
515
+ - vendor/assets/application/examples/hypertext.rb
516
+ - vendor/assets/application/examples/image.rb
517
+ - vendor/assets/application/examples/keyboard.rb
518
+ - vendor/assets/application/examples/layout.rb
519
+ - vendor/assets/application/examples/login.rb
520
+ - vendor/assets/application/examples/markup.rb
521
+ - vendor/assets/application/examples/match.rb
522
+ - vendor/assets/application/examples/messaging.rb
523
+ - vendor/assets/application/examples/monitor.rb
524
+ - vendor/assets/application/examples/on_resize.rb
525
+ - vendor/assets/application/examples/online.rb
526
+ - vendor/assets/application/examples/over.rb
527
+ - vendor/assets/application/examples/paint.rb
528
+ - vendor/assets/application/examples/particles.rb
529
+ - vendor/assets/application/examples/percent_to_px.rb
530
+ - vendor/assets/application/examples/play.rb
531
+ - vendor/assets/application/examples/presets.rb
532
+ - vendor/assets/application/examples/random.rb
533
+ - vendor/assets/application/examples/raw_html.rb
534
+ - vendor/assets/application/examples/read.rb
535
+ - vendor/assets/application/examples/refresh.rb
536
+ - vendor/assets/application/examples/remove.rb
537
+ - vendor/assets/application/examples/repeat.rb
538
+ - vendor/assets/application/examples/resize.rb
539
+ - vendor/assets/application/examples/scroll.rb
540
+ - vendor/assets/application/examples/security.rb
541
+ - vendor/assets/application/examples/selected.rb
542
+ - vendor/assets/application/examples/shadow.rb
543
+ - vendor/assets/application/examples/shapes.rb
544
+ - vendor/assets/application/examples/smooth.rb
545
+ - vendor/assets/application/examples/style.rb
546
+ - vendor/assets/application/examples/sync.rb
547
+ - vendor/assets/application/examples/tagged.rb
548
+ - vendor/assets/application/examples/terminal.rb
549
+ - vendor/assets/application/examples/text.rb
550
+ - vendor/assets/application/examples/touch.rb
551
+ - vendor/assets/application/examples/type_mutation.rb
552
+ - vendor/assets/application/examples/universe.rb
553
+ - vendor/assets/application/examples/vector.rb
554
+ - vendor/assets/application/examples/video.rb
555
+ - vendor/assets/application/examples/wait.rb
556
+ - vendor/assets/application/examples/www.rb
495
557
  - vendor/assets/application/index.rb
496
558
  - vendor/assets/application/required_example.rb
497
- - vendor/assets/aui.rb
498
- - vendor/assets/r&d/misc.rb
499
- - vendor/assets/r&d/ping.rb
500
- - vendor/assets/r&d/storage.rb
501
- - vendor/assets/r&d/view_example.rb
559
+ - vendor/assets/application/test.rb
560
+ - vendor/assets/application/works/photos.rb
561
+ - vendor/assets/application/works/photos2.rb
562
+ - vendor/assets/application/works/photos3.rb
563
+ - vendor/assets/application/works/photos4.rb
564
+ - vendor/assets/application/works/photos6.rb
565
+ - vendor/assets/application/works/trigga.rb
566
+ - vendor/assets/application/works/vie.rb
502
567
  - vendor/assets/server/atome_server.rb
568
+ - vendor/assets/server/atome_server_wasm.rb
569
+ - vendor/assets/server/capture.rb
503
570
  - vendor/assets/server/config.ru
504
571
  - vendor/assets/src-tauri/.gitignore
505
572
  - vendor/assets/src-tauri/Cargo.toml
@@ -522,23 +589,37 @@ files:
522
589
  - vendor/assets/src-tauri/icons/icon.png
523
590
  - vendor/assets/src-tauri/src/main.rs
524
591
  - vendor/assets/src-tauri/tauri.conf.json
592
+ - vendor/assets/src-wasm/wasm/wasi-vfs-osx_arm
593
+ - vendor/assets/src-wasm/wasm/wasi-vfs-osx_x86
594
+ - vendor/assets/src-wasm/wasm/wasi-vfs-unix
595
+ - vendor/assets/src-wasm/wasm/wasi-vfs.exe
525
596
  - vendor/assets/src/css/style.css
526
597
  - vendor/assets/src/favicon.ico
527
598
  - vendor/assets/src/index.html
599
+ - vendor/assets/src/index_opal.html
600
+ - vendor/assets/src/index_server.html
601
+ - vendor/assets/src/index_server_wasm.html
528
602
  - vendor/assets/src/js/atome/atome.js
603
+ - vendor/assets/src/js/atome/atome_helpers/add_font.js
529
604
  - vendor/assets/src/js/atome/atome_helpers/atome_animate.js
530
- - vendor/assets/src/js/atome/atome_helpers/atome_communication.js
531
605
  - vendor/assets/src/js/atome/atome_helpers/atome_drag.js
532
606
  - vendor/assets/src/js/atome/atome_helpers/atome_drop.js
533
607
  - vendor/assets/src/js/atome/atome_helpers/atome_events.js
534
- - vendor/assets/src/js/atome/atome_helpers/atome_file.js
535
608
  - vendor/assets/src/js/atome/atome_helpers/atome_over.js
536
609
  - vendor/assets/src/js/atome/atome_helpers/atome_sort.js
537
610
  - vendor/assets/src/js/atome/atome_helpers/atome_time.js
538
611
  - vendor/assets/src/js/atome/atome_helpers/atome_video.js
612
+ - vendor/assets/src/js/atome/atome_helpers/communication.js
613
+ - vendor/assets/src/js/atome/atome_helpers/file.js
614
+ - vendor/assets/src/js/atome/specific/opal.js
615
+ - vendor/assets/src/js/atome/specific/wasm.js
616
+ - vendor/assets/src/js/third_parties/browser.script.iife.min.js
539
617
  - vendor/assets/src/js/third_parties/fabric.min.js
618
+ - vendor/assets/src/js/third_parties/html-to-image.min.js
540
619
  - vendor/assets/src/js/third_parties/interact.min.js
541
620
  - vendor/assets/src/js/third_parties/interact.min.js.map
621
+ - vendor/assets/src/js/third_parties/jsencrypt.min.js
622
+ - vendor/assets/src/js/third_parties/papaparse.min.js
542
623
  - vendor/assets/src/js/third_parties/ping.min.js
543
624
  - vendor/assets/src/js/third_parties/popmotion.min.js
544
625
  - vendor/assets/src/js/third_parties/sha256.min.js
@@ -555,6 +636,19 @@ files:
555
636
  - vendor/assets/src/medias/audios/riff.m4a
556
637
  - vendor/assets/src/medias/audios/snare.wav
557
638
  - vendor/assets/src/medias/audios/tom.wav
639
+ - vendor/assets/src/medias/fonts/Roboto/LICENSE.txt
640
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-Black.ttf
641
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-BlackItalic.ttf
642
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-Bold.ttf
643
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-BoldItalic.ttf
644
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-Italic.ttf
645
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-Light.ttf
646
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-LightItalic.ttf
647
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-Medium.ttf
648
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-MediumItalic.ttf
649
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-Regular.ttf
650
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-Thin.ttf
651
+ - vendor/assets/src/medias/fonts/Roboto/Roboto-ThinItalic.ttf
558
652
  - vendor/assets/src/medias/fonts/Roboto_Slab/LICENSE.txt
559
653
  - vendor/assets/src/medias/fonts/Roboto_Slab/README.txt
560
654
  - vendor/assets/src/medias/fonts/Roboto_Slab/RobotoSlab-VariableFont_wght.ttf
@@ -579,6 +673,8 @@ files:
579
673
  - vendor/assets/src/medias/images/logos/Facebook.svg
580
674
  - vendor/assets/src/medias/images/logos/GitHub Black.svg
581
675
  - vendor/assets/src/medias/images/logos/GitHub.svg
676
+ - vendor/assets/src/medias/images/logos/LinkedIn-full.svg
677
+ - vendor/assets/src/medias/images/logos/LinkedIn.svg
582
678
  - vendor/assets/src/medias/images/logos/Orange/Facebook.svg
583
679
  - vendor/assets/src/medias/images/logos/Orange/TikTok.svg
584
680
  - vendor/assets/src/medias/images/logos/Orange/Twitter.svg
@@ -587,6 +683,7 @@ files:
587
683
  - vendor/assets/src/medias/images/logos/Orange/youtube.svg
588
684
  - vendor/assets/src/medias/images/logos/TikTok.svg
589
685
  - vendor/assets/src/medias/images/logos/Twitter.svg
686
+ - vendor/assets/src/medias/images/logos/X.svg
590
687
  - vendor/assets/src/medias/images/logos/YouTube.svg
591
688
  - vendor/assets/src/medias/images/logos/apple.svg
592
689
  - vendor/assets/src/medias/images/logos/atome.svg
@@ -605,99 +702,10 @@ files:
605
702
  - vendor/assets/src/medias/images/noise.svg
606
703
  - vendor/assets/src/medias/images/red_planet.png
607
704
  - vendor/assets/src/medias/images/tile.png
608
- - vendor/assets/src/medias/javascripts/test.js
609
- - vendor/assets/src/medias/rubies/demos.rb
610
- - vendor/assets/src/medias/rubies/examples/add.rb
611
- - vendor/assets/src/medias/rubies/examples/animation.rb
612
- - vendor/assets/src/medias/rubies/examples/atome_new.rb
613
- - vendor/assets/src/medias/rubies/examples/attach.rb
614
- - vendor/assets/src/medias/rubies/examples/attached.rb
615
- - vendor/assets/src/medias/rubies/examples/auto_height.rb
616
- - vendor/assets/src/medias/rubies/examples/auto_width.rb
617
- - vendor/assets/src/medias/rubies/examples/batch.rb
618
- - vendor/assets/src/medias/rubies/examples/blur.rb
619
- - vendor/assets/src/medias/rubies/examples/bottom.rb
620
- - vendor/assets/src/medias/rubies/examples/box.rb
621
- - vendor/assets/src/medias/rubies/examples/center.rb
622
- - vendor/assets/src/medias/rubies/examples/circle.rb
623
- - vendor/assets/src/medias/rubies/examples/class.rb
624
- - vendor/assets/src/medias/rubies/examples/clear.rb
625
- - vendor/assets/src/medias/rubies/examples/clone.rb
626
- - vendor/assets/src/medias/rubies/examples/code.rb
627
- - vendor/assets/src/medias/rubies/examples/color.rb
628
- - vendor/assets/src/medias/rubies/examples/create_atome_in_atome.rb
629
- - vendor/assets/src/medias/rubies/examples/cursor.rb
630
- - vendor/assets/src/medias/rubies/examples/delete.rb
631
- - vendor/assets/src/medias/rubies/examples/depth.rb
632
- - vendor/assets/src/medias/rubies/examples/detached.rb
633
- - vendor/assets/src/medias/rubies/examples/drag.rb
634
- - vendor/assets/src/medias/rubies/examples/drop.rb
635
- - vendor/assets/src/medias/rubies/examples/edit.rb
636
- - vendor/assets/src/medias/rubies/examples/element.rb
637
- - vendor/assets/src/medias/rubies/examples/empty_atome.rb
638
- - vendor/assets/src/medias/rubies/examples/fullscreen.rb
639
- - vendor/assets/src/medias/rubies/examples/get_renderer_list.rb
640
- - vendor/assets/src/medias/rubies/examples/grab.rb
641
- - vendor/assets/src/medias/rubies/examples/height.rb
642
- - vendor/assets/src/medias/rubies/examples/hide.rb
643
- - vendor/assets/src/medias/rubies/examples/id.rb
644
- - vendor/assets/src/medias/rubies/examples/image.rb
645
- - vendor/assets/src/medias/rubies/examples/left.rb
646
- - vendor/assets/src/medias/rubies/examples/link.rb
647
- - vendor/assets/src/medias/rubies/examples/markers.rb
648
- - vendor/assets/src/medias/rubies/examples/materials.rb
649
- - vendor/assets/src/medias/rubies/examples/matrix.rb
650
- - vendor/assets/src/medias/rubies/examples/matrix_changes.rb
651
- - vendor/assets/src/medias/rubies/examples/matrix_simple.rb
652
- - vendor/assets/src/medias/rubies/examples/monitoring.rb
653
- - vendor/assets/src/medias/rubies/examples/mute.rb
654
- - vendor/assets/src/medias/rubies/examples/on.rb
655
- - vendor/assets/src/medias/rubies/examples/opacity.rb
656
- - vendor/assets/src/medias/rubies/examples/over.rb
657
- - vendor/assets/src/medias/rubies/examples/pause.rb
658
- - vendor/assets/src/medias/rubies/examples/physical.rb
659
- - vendor/assets/src/medias/rubies/examples/play.rb
660
- - vendor/assets/src/medias/rubies/examples/read.rb
661
- - vendor/assets/src/medias/rubies/examples/refresh.rb
662
- - vendor/assets/src/medias/rubies/examples/remove.rb
663
- - vendor/assets/src/medias/rubies/examples/repeat.rb
664
- - vendor/assets/src/medias/rubies/examples/right.rb
665
- - vendor/assets/src/medias/rubies/examples/rotate.rb
666
- - vendor/assets/src/medias/rubies/examples/schedule.rb
667
- - vendor/assets/src/medias/rubies/examples/shadow.rb
668
- - vendor/assets/src/medias/rubies/examples/size.rb
669
- - vendor/assets/src/medias/rubies/examples/smooth.rb
670
- - vendor/assets/src/medias/rubies/examples/sort.rb
671
- - vendor/assets/src/medias/rubies/examples/style.rb
672
- - vendor/assets/src/medias/rubies/examples/tags.rb
673
- - vendor/assets/src/medias/rubies/examples/text.rb
674
- - vendor/assets/src/medias/rubies/examples/time.rb
675
- - vendor/assets/src/medias/rubies/examples/to_px.rb
676
- - vendor/assets/src/medias/rubies/examples/top.rb
677
- - vendor/assets/src/medias/rubies/examples/touch.rb
678
- - vendor/assets/src/medias/rubies/examples/vector.rb
679
- - vendor/assets/src/medias/rubies/examples/video.rb
680
- - vendor/assets/src/medias/rubies/examples/wait.rb
681
- - vendor/assets/src/medias/rubies/examples/web.rb
682
- - vendor/assets/src/medias/rubies/examples/width.rb
683
- - vendor/assets/src/medias/rubies/test.rb
684
- - vendor/assets/src/medias/rubies/text_read.rb
685
- - vendor/assets/src/medias/rubies/unstable/!run.rb
686
- - vendor/assets/src/medias/rubies/unstable/_2_solve.rb
687
- - vendor/assets/src/medias/rubies/unstable/_attach.rb
688
- - vendor/assets/src/medias/rubies/unstable/_audio.rb
689
- - vendor/assets/src/medias/rubies/unstable/_dataset.rb
690
- - vendor/assets/src/medias/rubies/unstable/_matrix.rb
691
- - vendor/assets/src/medias/rubies/unstable/_os.rb
692
- - vendor/assets/src/medias/rubies/unstable/_table2.rb
693
- - vendor/assets/src/medias/rubies/unstable/_test.rb
694
- - vendor/assets/src/medias/rubies/unstable/_vie.rb
695
- - vendor/assets/src/medias/rubies/users/code.rb
696
705
  - vendor/assets/src/medias/texts/lorem.txt
697
706
  - vendor/assets/src/medias/utils/infos/color.rb
698
707
  - vendor/assets/src/medias/utils/infos/width.rb
699
708
  - vendor/assets/src/medias/videos/video_missing.mp4
700
- - vendor/assets/src/utilities/mode.rb
701
709
  homepage: https://atome.one
702
710
  licenses:
703
711
  - MIT
@@ -721,7 +729,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
721
729
  - !ruby/object:Gem::Version
722
730
  version: '0'
723
731
  requirements: []
724
- rubygems_version: 3.4.12
732
+ rubygems_version: 3.4.20
725
733
  signing_key:
726
734
  specification_version: 4
727
735
  summary: the creative framework
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Atome
4
- def /(val)
5
- value / val
6
- end
7
-
8
- def *(val)
9
- value * val
10
- end
11
-
12
- def -(val)
13
- value - val
14
- end
15
-
16
-
17
- def +(val)
18
- value + val
19
- end
20
- end