atome 0.5.2.5 → 0.5.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +25 -15
  3. data/app_builder_helpers/Rakefile +18 -18
  4. data/exe/atome +10 -2
  5. data/lib/atome/atome.rb +18 -14
  6. data/lib/atome/genesis/generators/event.rb +7 -3
  7. data/lib/atome/genesis/generators/geometry.rb +12 -0
  8. data/lib/atome/genesis/generators/identity.rb +6 -2
  9. data/lib/atome/genesis/generators/time.rb +5 -0
  10. data/lib/atome/genesis/genesis.rb +2 -2
  11. data/lib/atome/genesis/sparkle.rb +1 -0
  12. data/lib/atome/helpers/callbacks.rb +8 -9
  13. data/lib/atome/helpers/utilities.rb +35 -30
  14. data/lib/atome/kernel/universe.rb +7 -3
  15. data/lib/atome/renderers/browser/browser.rb +1 -0
  16. data/lib/atome/renderers/browser/event.rb +0 -5
  17. data/lib/atome/renderers/browser/helpers/effect_helper.rb +0 -3
  18. data/lib/atome/renderers/browser/helpers/video_helper.rb +9 -2
  19. data/lib/atome/renderers/browser/time.rb +3 -0
  20. data/lib/atome/renderers/html/html.rb +1 -1
  21. data/lib/atome/version.rb +1 -1
  22. data/lib/atome.rb +1 -0
  23. data/sig/atome.rbs +6 -0
  24. data/vendor/assets/server/atome_server.rb +4 -4
  25. data/vendor/assets/server/config.ru +5 -1
  26. data/vendor/assets/{build → src}/css/style.css +0 -0
  27. data/vendor/assets/{build → src}/favicon.ico +0 -0
  28. data/vendor/assets/{build → src}/index.html +0 -0
  29. data/vendor/assets/{build → src}/js/atome/atome.js +0 -0
  30. data/vendor/assets/{build → src}/js/atome/atome_helpers/atome_animate.js +0 -0
  31. data/vendor/assets/{build → src}/js/atome/atome_helpers/atome_drag.js +0 -0
  32. data/vendor/assets/{build → src}/js/atome/atome_helpers/atome_file.js +0 -0
  33. data/vendor/assets/{build → src}/js/atome/atome_helpers/atome_sort.js +0 -0
  34. data/vendor/assets/{build → src}/js/atome/atome_helpers/atome_time.js +0 -0
  35. data/vendor/assets/{build → src}/js/atome/atome_helpers/atome_video.js +0 -0
  36. data/vendor/assets/{build → src}/js/third_parties/fabric.min.js +0 -0
  37. data/vendor/assets/{build → src}/js/third_parties/interact.min.js +0 -0
  38. data/vendor/assets/{build → src}/js/third_parties/interact.min.js.map +0 -0
  39. data/vendor/assets/{build → src}/js/third_parties/ping.min.js +0 -0
  40. data/vendor/assets/{build → src}/js/third_parties/popmotion.min.js +0 -0
  41. data/vendor/assets/{build → src}/js/third_parties/sha256.min.js +0 -0
  42. data/vendor/assets/{build → src}/js/third_parties/sortable.min.js +0 -0
  43. data/vendor/assets/{build → src}/js/third_parties/three.min.js +0 -0
  44. data/vendor/assets/{build → src}/js/third_parties/w3color.js +0 -0
  45. data/vendor/assets/{build → src}/js/third_parties/wad.min.js +0 -0
  46. data/vendor/assets/{build → src}/js/third_parties/zim.min.js +0 -0
  47. data/vendor/assets/{build → src}/medias/audios/Binrpilot.mp3 +0 -0
  48. data/vendor/assets/{build → src}/medias/audios/audio_missing.wav +0 -0
  49. data/vendor/assets/{build → src}/medias/audios/clap.wav +0 -0
  50. data/vendor/assets/{build → src}/medias/audios/cowbell.wav +0 -0
  51. data/vendor/assets/{build → src}/medias/audios/hihat.wav +0 -0
  52. data/vendor/assets/{build → src}/medias/audios/kick.wav +0 -0
  53. data/vendor/assets/{build → src}/medias/audios/riff.m4a +0 -0
  54. data/vendor/assets/{build → src}/medias/audios/snare.wav +0 -0
  55. data/vendor/assets/{build → src}/medias/audios/tom.wav +0 -0
  56. data/vendor/assets/{build → src}/medias/fonts/Dancing_Script/DancingScript-VariableFont_wght.ttf +0 -0
  57. data/vendor/assets/{build → src}/medias/fonts/Dancing_Script/OFL.txt +0 -0
  58. data/vendor/assets/{build → src}/medias/fonts/Dancing_Script/README.txt +0 -0
  59. data/vendor/assets/{build → src}/medias/fonts/Dancing_Script/static/DancingScript-Bold.ttf +0 -0
  60. data/vendor/assets/{build → src}/medias/fonts/Dancing_Script/static/DancingScript-Medium.ttf +0 -0
  61. data/vendor/assets/{build → src}/medias/fonts/Dancing_Script/static/DancingScript-Regular.ttf +0 -0
  62. data/vendor/assets/{build → src}/medias/fonts/Dancing_Script/static/DancingScript-SemiBold.ttf +0 -0
  63. data/vendor/assets/{build → src}/medias/fonts/Mate_SC/MateSC-Regular.ttf +0 -0
  64. data/vendor/assets/{build → src}/medias/fonts/Mate_SC/OFL.txt +0 -0
  65. data/vendor/assets/{build → src}/medias/fonts/Raleway/OFL.txt +0 -0
  66. data/vendor/assets/{build → src}/medias/fonts/Raleway/README.txt +0 -0
  67. data/vendor/assets/{build → src}/medias/fonts/Raleway/Raleway-Italic-VariableFont_wght.ttf +0 -0
  68. data/vendor/assets/{build → src}/medias/fonts/Raleway/Raleway-VariableFont_wght.ttf +0 -0
  69. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-Black.ttf +0 -0
  70. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-BlackItalic.ttf +0 -0
  71. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-Bold.ttf +0 -0
  72. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-BoldItalic.ttf +0 -0
  73. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-ExtraBold.ttf +0 -0
  74. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-ExtraBoldItalic.ttf +0 -0
  75. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-ExtraLight.ttf +0 -0
  76. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-ExtraLightItalic.ttf +0 -0
  77. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-Italic.ttf +0 -0
  78. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-Light.ttf +0 -0
  79. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-LightItalic.ttf +0 -0
  80. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-Medium.ttf +0 -0
  81. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-MediumItalic.ttf +0 -0
  82. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-Regular.ttf +0 -0
  83. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-SemiBold.ttf +0 -0
  84. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-SemiBoldItalic.ttf +0 -0
  85. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-Thin.ttf +0 -0
  86. data/vendor/assets/{build → src}/medias/fonts/Raleway/static/Raleway-ThinItalic.ttf +0 -0
  87. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/LICENSE.txt +0 -0
  88. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/README.txt +0 -0
  89. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/RobotoSlab-VariableFont_wght.ttf +0 -0
  90. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-Black.ttf +0 -0
  91. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-Bold.ttf +0 -0
  92. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-ExtraBold.ttf +0 -0
  93. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-ExtraLight.ttf +0 -0
  94. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-Light.ttf +0 -0
  95. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-Medium.ttf +0 -0
  96. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-Regular.ttf +0 -0
  97. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-SemiBold.ttf +0 -0
  98. data/vendor/assets/{build → src}/medias/fonts/Roboto_Slab/static/RobotoSlab-Thin.ttf +0 -0
  99. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/OFL.txt +0 -0
  100. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/README.txt +0 -0
  101. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/Vollkorn-Italic-VariableFont_wght.ttf +0 -0
  102. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/Vollkorn-VariableFont_wght.ttf +0 -0
  103. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-Black.ttf +0 -0
  104. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-BlackItalic.ttf +0 -0
  105. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-Bold.ttf +0 -0
  106. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-BoldItalic.ttf +0 -0
  107. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-ExtraBold.ttf +0 -0
  108. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-ExtraBoldItalic.ttf +0 -0
  109. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-Italic.ttf +0 -0
  110. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-Medium.ttf +0 -0
  111. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-MediumItalic.ttf +0 -0
  112. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-Regular.ttf +0 -0
  113. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-SemiBold.ttf +0 -0
  114. data/vendor/assets/{build → src}/medias/fonts/Vollkorn/static/Vollkorn-SemiBoldItalic.ttf +0 -0
  115. data/vendor/assets/{build → src}/medias/images/Icon_Help.png +0 -0
  116. data/vendor/assets/{build → src}/medias/images/atome.svg +0 -0
  117. data/vendor/assets/{build → src}/medias/images/avion.jpg +0 -0
  118. data/vendor/assets/{build → src}/medias/images/ballanim.png +0 -0
  119. data/vendor/assets/{build → src}/medias/images/blank.png +0 -0
  120. data/vendor/assets/{build → src}/medias/images/boat.png +0 -0
  121. data/vendor/assets/{build → src}/medias/images/cache.svg +0 -0
  122. data/vendor/assets/{build → src}/medias/images/dices.png +0 -0
  123. data/vendor/assets/{build → src}/medias/images/eVe_back.png +0 -0
  124. data/vendor/assets/{build → src}/medias/images/elephant.png +0 -0
  125. data/vendor/assets/{build → src}/medias/images/eyes.jpg +0 -0
  126. data/vendor/assets/{build → src}/medias/images/freebsd.png +0 -0
  127. data/vendor/assets/{build → src}/medias/images/grain_texture.png +0 -0
  128. data/vendor/assets/{build → src}/medias/images/green_planet.png +0 -0
  129. data/vendor/assets/{build → src}/medias/images/image_missing.svg +0 -0
  130. data/vendor/assets/{build → src}/medias/images/jeezs.png +0 -0
  131. data/vendor/assets/{build → src}/medias/images/keyboard.png +0 -0
  132. data/vendor/assets/{build → src}/medias/images/killer.jpg +0 -0
  133. data/vendor/assets/{build → src}/medias/images/living_room.png +0 -0
  134. data/vendor/assets/{build → src}/medias/images/logo.svg +0 -0
  135. data/vendor/assets/{build → src}/medias/images/logos/Facebook.svg +0 -0
  136. data/vendor/assets/{build → src}/medias/images/logos/GitHub Black.svg +0 -0
  137. data/vendor/assets/{build → src}/medias/images/logos/GitHub-Mark.eps +0 -0
  138. data/vendor/assets/{build → src}/medias/images/logos/GitHub.svg +0 -0
  139. data/vendor/assets/{build → src}/medias/images/logos/TikTok.svg +0 -0
  140. data/vendor/assets/{build → src}/medias/images/logos/Twitter.svg +0 -0
  141. data/vendor/assets/{build → src}/medias/images/logos/YouTube.svg +0 -0
  142. data/vendor/assets/{build → src}/medias/images/logos/apple.svg +0 -0
  143. data/vendor/assets/{build → src}/medias/images/logos/atome.svg +0 -0
  144. data/vendor/assets/{build → src}/medias/images/logos/freebsd.png +0 -0
  145. data/vendor/assets/{build → src}/medias/images/logos/instagram.svg +0 -0
  146. data/vendor/assets/{build → src}/medias/images/logos/tiktok_back.svg +0 -0
  147. data/vendor/assets/{build → src}/medias/images/moto.png +0 -0
  148. data/vendor/assets/{build → src}/medias/images/noise.svg +0 -0
  149. data/vendor/assets/{build → src}/medias/images/piano.png +0 -0
  150. data/vendor/assets/{build → src}/medias/images/poisson.jpg +0 -0
  151. data/vendor/assets/{build → src}/medias/images/red_planet.png +0 -0
  152. data/vendor/assets/{build → src}/medias/images/sky.jpg +0 -0
  153. data/vendor/assets/{build → src}/medias/images/the_mask.svg +0 -0
  154. data/vendor/assets/{build → src}/medias/images/tile.png +0 -0
  155. data/vendor/assets/{build → src}/medias/images/tile_black.png +0 -0
  156. data/vendor/assets/{build → src}/medias/images/tile_white.png +0 -0
  157. data/vendor/assets/{build → src}/medias/javascripts/test.js +0 -0
  158. data/vendor/assets/{build → src}/medias/rubies/examples/!run.rb +0 -0
  159. data/vendor/assets/{build → src}/medias/rubies/examples/_2_solve.rb +1 -1
  160. data/vendor/assets/{build → src}/medias/rubies/examples/_audio.rb +0 -0
  161. data/vendor/assets/src/medias/rubies/examples/_dataset.rb +177 -0
  162. data/vendor/assets/{build → src}/medias/rubies/examples/_os.rb +0 -0
  163. data/vendor/assets/src/medias/rubies/examples/_test.rb +1 -0
  164. data/vendor/assets/{build → src}/medias/rubies/examples/_vie.rb +0 -0
  165. data/vendor/assets/src/medias/rubies/examples/add.rb +25 -0
  166. data/vendor/assets/{build → src}/medias/rubies/examples/animation.rb +0 -0
  167. data/vendor/assets/{build → src}/medias/rubies/examples/atome_new.rb +0 -0
  168. data/vendor/assets/src/medias/rubies/examples/attach.rb +12 -0
  169. data/vendor/assets/{build → src}/medias/rubies/examples/auto_height.rb +0 -0
  170. data/vendor/assets/{build → src}/medias/rubies/examples/auto_width.rb +0 -0
  171. data/vendor/assets/{build → src}/medias/rubies/examples/blur.rb +0 -0
  172. data/vendor/assets/{build → src}/medias/rubies/examples/bottom.rb +0 -0
  173. data/vendor/assets/{build → src}/medias/rubies/examples/box.rb +0 -0
  174. data/vendor/assets/{build → src}/medias/rubies/examples/center.rb +0 -0
  175. data/vendor/assets/{build → src}/medias/rubies/examples/circle.rb +0 -0
  176. data/vendor/assets/{build → src}/medias/rubies/examples/clear.rb +0 -0
  177. data/vendor/assets/src/medias/rubies/examples/clone.rb +35 -0
  178. data/vendor/assets/{build → src}/medias/rubies/examples/code.rb +0 -0
  179. data/vendor/assets/{build → src}/medias/rubies/examples/color.rb +0 -0
  180. data/vendor/assets/{build → src}/medias/rubies/examples/create_atome_in_atome.rb +0 -0
  181. data/vendor/assets/{build → src}/medias/rubies/examples/cursor.rb +0 -0
  182. data/vendor/assets/{build → src}/medias/rubies/examples/delete.rb +0 -0
  183. data/vendor/assets/{build → src}/medias/rubies/examples/drag.rb +0 -0
  184. data/vendor/assets/{build → src}/medias/rubies/examples/edit.rb +0 -0
  185. data/vendor/assets/{build → src}/medias/rubies/examples/element.rb +0 -0
  186. data/vendor/assets/{build → src}/medias/rubies/examples/empty_atome.rb +0 -0
  187. data/vendor/assets/{build → src}/medias/rubies/examples/fullscreen.rb +0 -0
  188. data/vendor/assets/{build → src}/medias/rubies/examples/get_renderer_list.rb +0 -0
  189. data/vendor/assets/{build → src}/medias/rubies/examples/grab.rb +0 -0
  190. data/vendor/assets/{build → src}/medias/rubies/examples/height.rb +0 -0
  191. data/vendor/assets/{build → src}/medias/rubies/examples/hide.rb +0 -0
  192. data/vendor/assets/{build → src}/medias/rubies/examples/id.rb +0 -0
  193. data/vendor/assets/{build → src}/medias/rubies/examples/image.rb +0 -0
  194. data/vendor/assets/{build → src}/medias/rubies/examples/left.rb +0 -0
  195. data/vendor/assets/{build → src}/medias/rubies/examples/link.rb +0 -0
  196. data/vendor/assets/src/medias/rubies/examples/markers.rb +48 -0
  197. data/vendor/assets/{build → src}/medias/rubies/examples/matrix.rb +0 -0
  198. data/vendor/assets/{build → src}/medias/rubies/examples/monitoring.rb +0 -0
  199. data/vendor/assets/{build → src}/medias/rubies/examples/mute.rb +0 -0
  200. data/vendor/assets/{build → src}/medias/rubies/examples/on.rb +0 -0
  201. data/vendor/assets/{build → src}/medias/rubies/examples/parents.rb +1 -1
  202. data/vendor/assets/{build → src}/medias/rubies/examples/pause.rb +0 -0
  203. data/vendor/assets/{build → src}/medias/rubies/examples/play.rb +0 -0
  204. data/vendor/assets/{build → src}/medias/rubies/examples/read.rb +0 -0
  205. data/vendor/assets/{build → src}/medias/rubies/examples/refresh.rb +0 -0
  206. data/vendor/assets/{build → src}/medias/rubies/examples/remove.rb +0 -0
  207. data/vendor/assets/{build → src}/medias/rubies/examples/repeat.rb +0 -0
  208. data/vendor/assets/{build → src}/medias/rubies/examples/right.rb +0 -0
  209. data/vendor/assets/{build → src}/medias/rubies/examples/rotate.rb +0 -0
  210. data/vendor/assets/{build → src}/medias/rubies/examples/schedule.rb +0 -0
  211. data/vendor/assets/{build → src}/medias/rubies/examples/shadow.rb +0 -0
  212. data/vendor/assets/src/medias/rubies/examples/size.rb +8 -0
  213. data/vendor/assets/{build → src}/medias/rubies/examples/smooth.rb +0 -0
  214. data/vendor/assets/{build → src}/medias/rubies/examples/sort.rb +0 -0
  215. data/vendor/assets/{build → src}/medias/rubies/examples/style.rb +0 -0
  216. data/vendor/assets/{build → src}/medias/rubies/examples/text.rb +0 -0
  217. data/vendor/assets/{build → src}/medias/rubies/examples/time.rb +0 -0
  218. data/vendor/assets/{build → src}/medias/rubies/examples/top.rb +0 -0
  219. data/vendor/assets/{build → src}/medias/rubies/examples/touch.rb +0 -0
  220. data/vendor/assets/{build → src}/medias/rubies/examples/video.rb +0 -0
  221. data/vendor/assets/{build → src}/medias/rubies/examples/wait.rb +0 -0
  222. data/vendor/assets/{build → src}/medias/rubies/examples/web.rb +0 -0
  223. data/vendor/assets/{build → src}/medias/rubies/examples/width.rb +0 -0
  224. data/vendor/assets/{build → src}/medias/rubies/test.rb +0 -0
  225. data/vendor/assets/{build → src}/medias/rubies/text_read.rb +0 -0
  226. data/vendor/assets/{build → src}/medias/rubies/users/code.rb +0 -0
  227. data/vendor/assets/{build → src}/medias/texts/lorem.txt +0 -0
  228. data/vendor/assets/{build → src}/medias/utils/infos/color.rb +0 -0
  229. data/vendor/assets/{build → src}/medias/utils/infos/width.rb +0 -0
  230. data/vendor/assets/{build → src}/medias/videos/avengers.mp4 +0 -0
  231. data/vendor/assets/{build → src}/medias/videos/madmax.mp4 +0 -0
  232. data/vendor/assets/{build → src}/medias/videos/starwars.mov +0 -0
  233. data/vendor/assets/{build → src}/medias/videos/superman.mp4 +0 -0
  234. data/vendor/assets/{build → src}/medias/videos/video_missing.mp4 +0 -0
  235. data/vendor/assets/src-tauri/.gitignore +4 -0
  236. data/vendor/assets/src-tauri/Cargo.toml +27 -0
  237. data/vendor/assets/src-tauri/build.rs +3 -0
  238. data/vendor/assets/src-tauri/icons/128x128.png +0 -0
  239. data/vendor/assets/src-tauri/icons/128x128@2x.png +0 -0
  240. data/vendor/assets/src-tauri/icons/32x32.png +0 -0
  241. data/vendor/assets/src-tauri/icons/Square107x107Logo.png +0 -0
  242. data/vendor/assets/src-tauri/icons/Square142x142Logo.png +0 -0
  243. data/vendor/assets/src-tauri/icons/Square150x150Logo.png +0 -0
  244. data/vendor/assets/src-tauri/icons/Square284x284Logo.png +0 -0
  245. data/vendor/assets/src-tauri/icons/Square30x30Logo.png +0 -0
  246. data/vendor/assets/src-tauri/icons/Square310x310Logo.png +0 -0
  247. data/vendor/assets/src-tauri/icons/Square44x44Logo.png +0 -0
  248. data/vendor/assets/src-tauri/icons/Square71x71Logo.png +0 -0
  249. data/vendor/assets/src-tauri/icons/Square89x89Logo.png +0 -0
  250. data/vendor/assets/src-tauri/icons/StoreLogo.png +0 -0
  251. data/vendor/assets/src-tauri/icons/icon.icns +0 -0
  252. data/vendor/assets/src-tauri/icons/icon.ico +0 -0
  253. data/vendor/assets/src-tauri/icons/icon.png +0 -0
  254. data/vendor/assets/src-tauri/src/main.rs +17 -0
  255. data/vendor/assets/src-tauri/tauri.conf.json +70 -0
  256. metadata +250 -210
  257. data/vendor/assets/build/medias/rubies/examples/_dataset.rb +0 -82
  258. data/vendor/assets/build/medias/rubies/examples/_markers.rb +0 -57
  259. data/vendor/assets/build/medias/rubies/examples/at.rb +0 -21
  260. data/vendor/assets/build/medias/rubies/examples/clone.rb +0 -20
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ my_video = Atome.new(
4
+ video: { renderers: [:browser], id: :video1, type: :video, parents: [:view], clones: [],
5
+ path: './medias/videos/avengers.mp4', left: 333, top: 33, width: 777
6
+ }
7
+ )
8
+
9
+ my_video.touch(true) do
10
+ my_video.play(3)
11
+ puts "play : #{my_video.play}, pause : #{my_video.pause}"
12
+ end
13
+
14
+ stoper = lambda do
15
+ my_video.pause(true)
16
+ end
17
+
18
+ jumper=lambda do
19
+ my_video.play(12)
20
+ my_video.play(12)
21
+ end
22
+
23
+ my_video.markers({ markers: { begin: 6, code: jumper } })
24
+
25
+ my_video.add({ markers: { my_stop: { begin: 16, code: stoper } } })
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+
4
+
5
+ # TODO : debug the attach method it color the view by default
6
+ # box({id: :my_box})
7
+ # c=color(:red)
8
+ # grab(:view).color(:black)
9
+ # c.attach([:my_box])
10
+
11
+ box({id: :my_box})
12
+ color({red: 1, blue: 1, attach: [:my_box]})
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # TODO : clones alteration must be bidirectional, to do so :
4
+ # 1 - we may create an atome type 'clone' then add a ' pre_render_clones option' when rendering clones property
5
+ # 2 - this pre_render_clones option, will catch alterations and throw it the the original atome
6
+ # 3 - we also add a new particle call mirror that holds the particle's list that will reverse intrication
7
+
8
+ b = box({ color: :red, smooth: 6 })
9
+
10
+ b.clones([{ left: 300, top: 300, color: :blue, intricate: [:width, :attached,:height ] },
11
+ {left: 600, top: 366, color: :green , intricate: [:left, :height ]}])
12
+
13
+ wait 1 do
14
+ b.width(190)
15
+ end
16
+
17
+ wait 2 do
18
+ b.height(180)
19
+ end
20
+
21
+ wait 3 do
22
+ b.left(180)
23
+ end
24
+
25
+ grab(:box_4_clone_1).smooth(33)
26
+
27
+ grab(:box_4_clone_1).rotate(33)
28
+
29
+
30
+ wait 5 do
31
+ b.clones.value.each do |clone_found|
32
+ grab(clone_found[:id]).delete(true)
33
+ end
34
+ end
35
+
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ my_video = Atome.new(
4
+ video: { renderers: [:browser], id: :video1, type: :video, parents: [:view], clones: [],
5
+ path: './medias/videos/avengers.mp4', left: 333, top: 33, width: 777
6
+ }
7
+ )
8
+
9
+ my_video.touch(true) do
10
+ my_video.play(10)
11
+ puts "play : #{my_video.play}, pause : #{my_video.pause}"
12
+ end
13
+
14
+ m_code1 = lambda do |val|
15
+ puts "hello : #{val}"
16
+ end
17
+ m_code2 = lambda do |val|
18
+ puts "hi there : #{val}"
19
+ end
20
+
21
+ m_code22 = lambda do |val|
22
+ puts "Super!! : #{val}"
23
+ end
24
+
25
+ stoper = lambda do
26
+ my_video.pause(true)
27
+ end
28
+
29
+ looper=lambda do
30
+ my_video.add({ markers: { my_stop: { begin: 6, code: stoper } } })
31
+ my_video.play(4)
32
+ end
33
+
34
+
35
+ # the marker below wont be executed because m2 will override it
36
+ my_video.markers({ m1: { begin: 13, code: m_code1 } }) do |_params|
37
+ puts 'stop'
38
+ end
39
+ # the marker will replace marker m1
40
+ my_video.markers({ m2: { begin: 12.876, code: m_code2 } }) do |_params|
41
+ puts'good'
42
+ end
43
+
44
+ # The markers below will be executed because they're added
45
+
46
+ my_video.add({ markers: { my_marker: { begin: 22.87576, code: looper } } })
47
+ my_video.add({ markers: { m3: { begin: 16.87576, code: m_code2 } } })
48
+ my_video.add({ markers: { m4: { begin: 14.87576,end: 16, code: m_code22 } } })
@@ -12,4 +12,4 @@ grab(:box_1).parents([:circle_123])
12
12
  grab(:color_circle_123).parents([:box_1])
13
13
  #
14
14
  bb.parents([:box_1])
15
- grab(:c315).parents([:circle_12])
15
+ grab(:c315).parents([:circle_12])
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ b=box({width: 333, height: 120})
4
+
5
+ b.size(33)
6
+
7
+ im= image({path: "./medias/images/boat.png", left: 333, top: 33, width: 333, height: 215})
8
+ im.size(99)
File without changes
File without changes
@@ -0,0 +1,4 @@
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ /target/
4
+
@@ -0,0 +1,27 @@
1
+ [package]
2
+ name = "atome"
3
+ version = "0.0.0"
4
+ description = "A Tauri App"
5
+ authors = ["you"]
6
+ license = ""
7
+ repository = ""
8
+ edition = "2021"
9
+ rust-version = "1.57"
10
+
11
+ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12
+
13
+ [build-dependencies]
14
+ tauri-build = {version = "1.2", features = [] }
15
+
16
+ [dependencies]
17
+ serde_json = "1.0"
18
+ serde = { version = "1.0", features = ["derive"] }
19
+ tauri = {version = "1.2", features = [] }
20
+
21
+ [features]
22
+ # by default Tauri runs in production mode
23
+ # when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
24
+ default = [ "custom-protocol" ]
25
+ # this feature is used used for production builds where `devPath` points to the filesystem
26
+ # DO NOT remove this
27
+ custom-protocol = [ "tauri/custom-protocol" ]
@@ -0,0 +1,3 @@
1
+ fn main() {
2
+ tauri_build::build()
3
+ }
@@ -0,0 +1,17 @@
1
+ #![cfg_attr(
2
+ all(not(debug_assertions), target_os = "windows"),
3
+ windows_subsystem = "windows"
4
+ )]
5
+
6
+ // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
7
+ #[tauri::command]
8
+ fn greet(name: &str) -> String {
9
+ format!("Hello, {}! You've been greeted from Rust!", name)
10
+ }
11
+
12
+ fn main() {
13
+ tauri::Builder::default()
14
+ .invoke_handler(tauri::generate_handler![greet])
15
+ .run(tauri::generate_context!())
16
+ .expect("error while running tauri application");
17
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "build": {
3
+ "beforeDevCommand": "",
4
+ "beforeBuildCommand": "",
5
+ "devPath": "../src",
6
+ "distDir": "../src",
7
+ "withGlobalTauri": true
8
+ },
9
+ "package": {
10
+ "productName": "atome",
11
+ "version": "0.0.0"
12
+ },
13
+ "tauri": {
14
+ "allowlist": {
15
+ "all": false,
16
+ "shell": {
17
+ "all": false,
18
+ "open": true
19
+ }
20
+ },
21
+ "bundle": {
22
+ "active": true,
23
+ "category": "DeveloperTool",
24
+ "copyright": "",
25
+ "deb": {
26
+ "depends": []
27
+ },
28
+ "externalBin": [],
29
+ "icon": [
30
+ "icons/32x32.png",
31
+ "icons/128x128.png",
32
+ "icons/128x128@2x.png",
33
+ "icons/icon.icns",
34
+ "icons/icon.ico"
35
+ ],
36
+ "identifier": "com.tauri.dev",
37
+ "longDescription": "",
38
+ "macOS": {
39
+ "entitlements": null,
40
+ "exceptionDomain": "",
41
+ "frameworks": [],
42
+ "providerShortName": null,
43
+ "signingIdentity": null
44
+ },
45
+ "resources": [],
46
+ "shortDescription": "",
47
+ "targets": "all",
48
+ "windows": {
49
+ "certificateThumbprint": null,
50
+ "digestAlgorithm": "sha256",
51
+ "timestampUrl": ""
52
+ }
53
+ },
54
+ "security": {
55
+ "csp": null
56
+ },
57
+ "updater": {
58
+ "active": false
59
+ },
60
+ "windows": [
61
+ {
62
+ "fullscreen": false,
63
+ "height": 600,
64
+ "resizable": true,
65
+ "title": "atome",
66
+ "width": 800
67
+ }
68
+ ]
69
+ }
70
+ }