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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/Gemfile +3 -1
- data/README.md +70 -1
- data/Rakefile +246 -75
- data/app_builder_helpers/Rakefile +276 -288
- data/documentation/basic.md +242 -0
- data/documentation/deep learning/architecture.txt +3763 -0
- data/documentation/deep learning/atome.png +0 -0
- data/documentation/deep learning/basic_infos.txt +227 -0
- data/documentation/deep learning/example_of_users_code.rb +1810 -0
- data/documentation/deep learning/misc.txt +24 -0
- data/documentation/deep learning/ruby_js_example.rb +272 -0
- data/documentation/deep learning/wasm_script_help.text +14 -0
- data/documentation/framework/enhance_atome.md +1 -1
- data/documentation/tutorials/tutorials.md +7 -0
- data/exe/atome +308 -208
- data/lib/atome/atome.rb +52 -156
- data/lib/atome/extensions/atome.rb +129 -47
- data/lib/atome/extensions/mathematics.rb +20 -0
- data/lib/atome/extensions/ping.rb +2 -3
- data/lib/atome/genesis/generators/atome.rb +57 -30
- data/lib/atome/genesis/generators/communication.rb +9 -0
- data/lib/atome/genesis/generators/effect.rb +0 -1
- data/lib/atome/genesis/generators/event.rb +279 -43
- data/lib/atome/genesis/generators/geometry.rb +1 -10
- data/lib/atome/genesis/generators/hierarchy.rb +103 -0
- data/lib/atome/genesis/generators/identity.rb +45 -84
- data/lib/atome/genesis/generators/material.rb +31 -34
- data/lib/atome/genesis/generators/property.rb +31 -0
- data/lib/atome/genesis/generators/security.rb +31 -0
- data/lib/atome/genesis/generators/spatial.rb +3 -5
- data/lib/atome/genesis/generators/time.rb +0 -1
- data/lib/atome/genesis/generators/utility.rb +181 -66
- data/lib/atome/genesis/genesis.rb +152 -55
- data/lib/atome/genesis/sparkle.rb +59 -75
- data/lib/atome/helpers/color_helper/color/rgb/colors.rb +1 -1
- data/lib/atome/helpers/color_helper/color/rgb.rb +1 -1
- data/lib/atome/helpers/color_helper/color.rb +226 -7
- data/lib/atome/helpers/essentials.rb +22 -26
- data/lib/atome/helpers/security.rb +71 -0
- data/lib/atome/helpers/utilities.rb +191 -178
- data/lib/atome/kernel/black_matter.rb +22 -0
- data/lib/atome/kernel/universe.rb +123 -24
- data/lib/atome/presets/atome.rb +39 -35
- data/lib/atome/version.rb +3 -2
- data/lib/atome.rb +12 -12
- data/lib/atome_relative.rb +36 -0
- data/lib/{atome/renderers → platform_specific}/opal/atome_opal_extensions.rb +4 -1
- data/lib/{atome/renderers → platform_specific}/opal/extensions/color.rb +12 -5
- data/lib/{atome/renderers → platform_specific}/opal/extensions/geolocation.rb +1 -0
- data/lib/platform_specific/opal/extensions/js.rb +21 -0
- data/lib/platform_specific/opal/extensions/object.rb +6 -0
- data/lib/platform_specific/opal/extensions/ping.rb +31 -0
- data/lib/{atome/renderers → platform_specific}/opal/extensions/sha.rb +4 -2
- data/lib/platform_specific/wasm/atome_wasm_extensions.rb +11 -0
- data/lib/renderers/headless/headless.rb +18 -0
- data/lib/renderers/headless/index.rb +6 -0
- data/lib/renderers/headless/index_relative.rb +6 -0
- data/lib/renderers/headless/utility.rb +6 -0
- data/{vendor/assets/src/medias/rubies/examples/top.rb → lib/renderers/html/atome.rb} +0 -1
- data/lib/renderers/html/atome_html.rb +22 -0
- data/lib/renderers/html/effect.rb +26 -0
- data/lib/renderers/html/event.rb +43 -0
- data/lib/renderers/html/geometry.rb +31 -0
- data/lib/renderers/html/hierarchy.rb +233 -0
- data/lib/renderers/html/html.rb +1112 -0
- data/lib/renderers/html/identity.rb +84 -0
- data/lib/renderers/html/index.rb +19 -0
- data/lib/renderers/html/index_relative.rb +20 -0
- data/lib/renderers/html/material.rb +53 -0
- data/lib/renderers/html/property.rb +24 -0
- data/lib/renderers/html/spatial.rb +46 -0
- data/lib/renderers/html/time.rb +1 -0
- data/lib/renderers/html/utility.rb +38 -0
- data/lib/renderers/renderer.rb +16 -0
- data/lib/renderers/server/index.rb +4 -0
- data/lib/renderers/server/index_relative.rb +4 -0
- data/lib/renderers/server/utility.rb +4 -0
- data/sig/atome.rbs +6 -0
- data/sig/object.rbs +4 -0
- data/sig/universe.rbs +3 -0
- data/vendor/assets/Rakefile +3 -3
- data/vendor/assets/application/examples/a_concat.rb +16 -0
- data/vendor/assets/application/examples/affect.rb +8 -0
- data/vendor/assets/application/examples/animation.rb +96 -0
- data/vendor/assets/application/examples/apply.rb +8 -0
- data/vendor/assets/application/examples/atome.rb +5 -0
- data/vendor/assets/application/examples/attach.rb +34 -0
- data/vendor/assets/application/examples/attached.rb +38 -0
- data/vendor/assets/application/examples/basic_understanding.rb +52 -0
- data/vendor/assets/application/examples/browse.rb +17 -0
- data/vendor/assets/application/examples/callback.rb +20 -0
- data/vendor/assets/application/examples/category.rb +12 -0
- data/vendor/assets/application/examples/clear.rb +96 -0
- data/vendor/assets/application/examples/clones.rb +177 -0
- data/vendor/assets/application/examples/code.rb +13 -0
- data/vendor/assets/application/examples/color.rb +54 -0
- data/vendor/assets/application/examples/convert.rb +163 -0
- data/vendor/assets/application/examples/copy.rb +25 -0
- data/vendor/assets/application/examples/copybck.rb +68 -0
- data/vendor/assets/application/examples/debug.rb +78 -0
- data/vendor/assets/application/examples/delete.rb +93 -0
- data/vendor/assets/application/examples/display.rb +279 -0
- data/vendor/assets/application/examples/display_bck.rb +164 -0
- data/vendor/assets/application/examples/drag.rb +45 -0
- data/vendor/assets/application/examples/drop.rb +35 -0
- data/vendor/assets/application/examples/duplicate.rb +64 -0
- data/vendor/assets/application/examples/edit.rb +21 -0
- data/vendor/assets/application/examples/encode.rb +6 -0
- data/vendor/assets/application/examples/file.rb +50 -0
- data/vendor/assets/application/examples/find.rb +157 -0
- data/vendor/assets/application/examples/generator_and_build.rb +15 -0
- data/vendor/assets/application/examples/getter.rb +16 -0
- data/vendor/assets/application/examples/grab.rb +14 -0
- data/vendor/assets/application/examples/gradient.rb +35 -0
- data/vendor/assets/application/examples/group.rb +44 -0
- data/vendor/assets/application/examples/hierarchy.rb +21 -0
- data/vendor/assets/application/examples/history.rb +31 -0
- data/vendor/assets/application/examples/hypertext.rb +113 -0
- data/vendor/assets/application/examples/image.rb +5 -0
- data/vendor/assets/application/examples/keyboard.rb +59 -0
- data/vendor/assets/application/examples/layout.rb +227 -0
- data/vendor/assets/application/examples/login.rb +10 -0
- data/vendor/assets/application/examples/markup.rb +4 -0
- data/vendor/assets/application/examples/match.rb +115 -0
- data/vendor/assets/application/examples/messaging.rb +16 -0
- data/vendor/assets/application/examples/monitor.rb +14 -0
- data/vendor/assets/application/examples/on_resize.rb +7 -0
- data/vendor/assets/{src/medias/rubies/examples/get_renderer_list.rb → application/examples/online.rb} +1 -1
- data/vendor/assets/application/examples/over.rb +29 -0
- data/vendor/assets/application/examples/paint.rb +23 -0
- data/vendor/assets/application/examples/particles.rb +4 -0
- data/vendor/assets/application/examples/percent_to_px.rb +4 -0
- data/vendor/assets/application/examples/play.rb +50 -0
- data/vendor/assets/application/examples/presets.rb +33 -0
- data/vendor/assets/application/examples/random.rb +42 -0
- data/vendor/assets/application/examples/raw_html.rb +48 -0
- data/vendor/assets/application/examples/read.rb +11 -0
- data/vendor/assets/application/examples/refresh.rb +62 -0
- data/vendor/assets/application/examples/remove.rb +47 -0
- data/vendor/assets/application/examples/repeat.rb +26 -0
- data/vendor/assets/application/examples/resize.rb +17 -0
- data/vendor/assets/application/examples/scroll.rb +11 -0
- data/vendor/assets/application/examples/security.rb +76 -0
- data/vendor/assets/application/examples/selected.rb +30 -0
- data/vendor/assets/application/examples/shadow.rb +46 -0
- data/vendor/assets/application/examples/shapes.rb +6 -0
- data/vendor/assets/{src/medias/rubies → application}/examples/smooth.rb +5 -1
- data/vendor/assets/application/examples/style.rb +4 -0
- data/vendor/assets/application/examples/sync.rb +39 -0
- data/vendor/assets/application/examples/tagged.rb +24 -0
- data/vendor/assets/application/examples/terminal.rb +4 -0
- data/vendor/assets/application/examples/text.rb +5 -0
- data/vendor/assets/application/examples/touch.rb +38 -0
- data/vendor/assets/application/examples/type_mutation.rb +18 -0
- data/vendor/assets/application/examples/universe.rb +8 -0
- data/vendor/assets/application/examples/vector.rb +24 -0
- data/vendor/assets/application/examples/video.rb +14 -0
- data/vendor/assets/application/examples/wait.rb +6 -0
- data/vendor/assets/application/examples/www.rb +10 -0
- data/vendor/assets/application/index.rb +1 -1
- data/vendor/assets/application/test.rb +29 -0
- data/vendor/assets/application/works/photos.rb +672 -0
- data/vendor/assets/application/works/photos2.rb +218 -0
- data/vendor/assets/application/works/photos3.rb +343 -0
- data/vendor/assets/application/works/photos4.rb +34 -0
- data/vendor/assets/application/works/photos6.rb +6 -0
- data/vendor/assets/application/works/trigga.rb +0 -0
- data/vendor/assets/application/works/vie.rb +74 -0
- data/vendor/assets/server/atome_server.rb +37 -41
- data/vendor/assets/server/atome_server_wasm.rb +112 -0
- data/vendor/assets/server/capture.rb +10 -0
- data/vendor/assets/server/config.ru +5 -4
- data/vendor/assets/src/css/style.css +29 -4
- data/vendor/assets/src/index.html +31 -38
- data/vendor/assets/src/index_opal.html +42 -0
- data/vendor/assets/src/index_server.html +43 -0
- data/vendor/assets/src/index_server_wasm.html +46 -0
- data/vendor/assets/src/js/atome/atome.js +170 -150
- data/vendor/assets/src/js/atome/atome_helpers/add_font.js +46 -0
- data/vendor/assets/src/js/atome/atome_helpers/atome_drag.js +3 -1
- data/vendor/assets/src/js/atome/atome_helpers/atome_events.js +12 -7
- data/vendor/assets/src/js/atome/atome_helpers/communication.js +126 -0
- data/vendor/assets/src/js/atome/atome_helpers/{atome_file.js → file.js} +1 -1
- data/vendor/assets/src/js/atome/specific/opal.js +3 -0
- data/vendor/assets/src/js/atome/specific/wasm.js +12 -0
- data/vendor/assets/src/js/third_parties/browser.script.iife.min.js +13 -0
- data/vendor/assets/src/js/third_parties/fabric.min.js +1 -1
- data/vendor/assets/src/js/third_parties/html-to-image.min.js +2 -0
- data/vendor/assets/src/js/third_parties/jsencrypt.min.js +2 -0
- data/vendor/assets/src/js/third_parties/papaparse.min.js +7 -0
- data/vendor/assets/src/medias/fonts/Roboto/LICENSE.txt +202 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-Black.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-Bold.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-Italic.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-Light.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-Medium.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-Regular.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-Thin.ttf +0 -0
- data/vendor/assets/src/medias/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- data/vendor/assets/src/medias/images/logos/Facebook.svg +1 -1
- data/vendor/assets/src/medias/images/logos/LinkedIn-full.svg +109 -0
- data/vendor/assets/src/medias/images/logos/LinkedIn.svg +11 -0
- data/vendor/assets/src/medias/images/logos/X.svg +5 -0
- data/vendor/assets/src-tauri/Cargo.toml +1 -1
- data/vendor/assets/src-tauri/src/main.rs +59 -5
- data/vendor/assets/src-tauri/tauri.conf.json +1 -1
- data/vendor/assets/src-wasm/wasm/wasi-vfs-osx_arm +0 -0
- data/vendor/assets/src-wasm/wasm/wasi-vfs-osx_x86 +0 -0
- data/vendor/assets/src-wasm/wasm/wasi-vfs-unix +0 -0
- data/vendor/assets/src-wasm/wasm/wasi-vfs.exe +0 -0
- metadata +188 -180
- data/lib/atome/extensions/mathematic.rb +0 -20
- data/lib/atome/extensions/matrix.rb +0 -346
- data/lib/atome/helpers/callbacks.rb +0 -133
- data/lib/atome/kernel/batch.rb +0 -26
- data/lib/atome/kernel/essentials.rb +0 -23
- data/lib/atome/renderers/browser/atome.rb +0 -158
- data/lib/atome/renderers/browser/browser.rb +0 -47
- data/lib/atome/renderers/browser/effect.rb +0 -23
- data/lib/atome/renderers/browser/event.rb +0 -96
- data/lib/atome/renderers/browser/geometry.rb +0 -27
- data/lib/atome/renderers/browser/helpers/animation_helper.rb +0 -69
- data/lib/atome/renderers/browser/helpers/browser_helper.rb +0 -101
- data/lib/atome/renderers/browser/helpers/color_helper.rb +0 -80
- data/lib/atome/renderers/browser/helpers/drag_helper.rb +0 -52
- data/lib/atome/renderers/browser/helpers/drop_helper.rb +0 -13
- data/lib/atome/renderers/browser/helpers/effect_helper.rb +0 -23
- data/lib/atome/renderers/browser/helpers/event_helper.rb +0 -76
- data/lib/atome/renderers/browser/helpers/image_helper.rb +0 -27
- data/lib/atome/renderers/browser/helpers/over_helper.rb +0 -13
- data/lib/atome/renderers/browser/helpers/shadow_helper.rb +0 -74
- data/lib/atome/renderers/browser/helpers/shape_helper.rb +0 -22
- data/lib/atome/renderers/browser/helpers/text_helper.rb +0 -38
- data/lib/atome/renderers/browser/helpers/video_helper.rb +0 -50
- data/lib/atome/renderers/browser/helpers/web_helper.rb +0 -26
- data/lib/atome/renderers/browser/identity.rb +0 -61
- data/lib/atome/renderers/browser/material.rb +0 -121
- data/lib/atome/renderers/browser/opal_add_on.rb +0 -31
- data/lib/atome/renderers/browser/opal_browser.rb +0 -6
- data/lib/atome/renderers/browser/spatial.rb +0 -59
- data/lib/atome/renderers/browser/time.rb +0 -3
- data/lib/atome/renderers/browser/utility.rb +0 -49
- data/lib/atome/renderers/headless/headless.rb +0 -10
- data/lib/atome/renderers/headless/utility.rb +0 -6
- data/lib/atome/renderers/html/atome.rb +0 -49
- data/lib/atome/renderers/html/effect.rb +0 -19
- data/lib/atome/renderers/html/event.rb +0 -9
- data/lib/atome/renderers/html/geometry.rb +0 -11
- data/lib/atome/renderers/html/html.rb +0 -42
- data/lib/atome/renderers/html/identity.rb +0 -14
- data/lib/atome/renderers/html/opal_browser.rb +0 -6
- data/lib/atome/renderers/html/spatial.rb +0 -28
- data/lib/atome/renderers/html/utility.rb +0 -17
- data/lib/atome/renderers/opal/extensions/atome.rb +0 -29
- data/lib/atome/renderers/opal/extensions/ping.rb +0 -18
- data/lib/atome/renderers/renderer.rb +0 -15
- data/lib/atome/renderers/server/server.rb +0 -10
- data/lib/atome/renderers/server/utility.rb +0 -6
- data/vendor/assets/aui.rb +0 -5
- data/vendor/assets/r&d/misc.rb +0 -219
- data/vendor/assets/r&d/ping.rb +0 -3
- data/vendor/assets/r&d/storage.rb +0 -9
- data/vendor/assets/r&d/view_example.rb +0 -21
- data/vendor/assets/src/js/atome/atome_helpers/atome_communication.js +0 -40
- data/vendor/assets/src/medias/javascripts/test.js +0 -1
- data/vendor/assets/src/medias/rubies/demos.rb +0 -63
- data/vendor/assets/src/medias/rubies/examples/add.rb +0 -24
- data/vendor/assets/src/medias/rubies/examples/animation.rb +0 -81
- data/vendor/assets/src/medias/rubies/examples/atome_new.rb +0 -27
- data/vendor/assets/src/medias/rubies/examples/attach.rb +0 -15
- data/vendor/assets/src/medias/rubies/examples/attached.rb +0 -15
- data/vendor/assets/src/medias/rubies/examples/auto_height.rb +0 -5
- data/vendor/assets/src/medias/rubies/examples/auto_width.rb +0 -4
- data/vendor/assets/src/medias/rubies/examples/batch.rb +0 -17
- data/vendor/assets/src/medias/rubies/examples/blur.rb +0 -4
- data/vendor/assets/src/medias/rubies/examples/bottom.rb +0 -3
- data/vendor/assets/src/medias/rubies/examples/box.rb +0 -20
- data/vendor/assets/src/medias/rubies/examples/center.rb +0 -21
- data/vendor/assets/src/medias/rubies/examples/circle.rb +0 -3
- data/vendor/assets/src/medias/rubies/examples/class.rb +0 -13
- data/vendor/assets/src/medias/rubies/examples/clear.rb +0 -10
- data/vendor/assets/src/medias/rubies/examples/clone.rb +0 -35
- data/vendor/assets/src/medias/rubies/examples/code.rb +0 -11
- data/vendor/assets/src/medias/rubies/examples/color.rb +0 -73
- data/vendor/assets/src/medias/rubies/examples/create_atome_in_atome.rb +0 -13
- data/vendor/assets/src/medias/rubies/examples/cursor.rb +0 -7
- data/vendor/assets/src/medias/rubies/examples/delete.rb +0 -42
- data/vendor/assets/src/medias/rubies/examples/depth.rb +0 -6
- data/vendor/assets/src/medias/rubies/examples/detached.rb +0 -13
- data/vendor/assets/src/medias/rubies/examples/drag.rb +0 -98
- data/vendor/assets/src/medias/rubies/examples/drop.rb +0 -26
- data/vendor/assets/src/medias/rubies/examples/edit.rb +0 -12
- data/vendor/assets/src/medias/rubies/examples/element.rb +0 -6
- data/vendor/assets/src/medias/rubies/examples/empty_atome.rb +0 -12
- data/vendor/assets/src/medias/rubies/examples/fullscreen.rb +0 -15
- data/vendor/assets/src/medias/rubies/examples/grab.rb +0 -5
- data/vendor/assets/src/medias/rubies/examples/height.rb +0 -7
- data/vendor/assets/src/medias/rubies/examples/hide.rb +0 -7
- data/vendor/assets/src/medias/rubies/examples/id.rb +0 -14
- data/vendor/assets/src/medias/rubies/examples/image.rb +0 -8
- data/vendor/assets/src/medias/rubies/examples/left.rb +0 -7
- data/vendor/assets/src/medias/rubies/examples/link.rb +0 -22
- data/vendor/assets/src/medias/rubies/examples/markers.rb +0 -48
- data/vendor/assets/src/medias/rubies/examples/materials.rb +0 -15
- data/vendor/assets/src/medias/rubies/examples/matrix.rb +0 -102
- data/vendor/assets/src/medias/rubies/examples/matrix_changes.rb +0 -483
- data/vendor/assets/src/medias/rubies/examples/matrix_simple.rb +0 -32
- data/vendor/assets/src/medias/rubies/examples/monitoring.rb +0 -70
- data/vendor/assets/src/medias/rubies/examples/mute.rb +0 -22
- data/vendor/assets/src/medias/rubies/examples/on.rb +0 -26
- data/vendor/assets/src/medias/rubies/examples/opacity.rb +0 -5
- data/vendor/assets/src/medias/rubies/examples/over.rb +0 -21
- data/vendor/assets/src/medias/rubies/examples/pause.rb +0 -15
- data/vendor/assets/src/medias/rubies/examples/physical.rb +0 -19
- data/vendor/assets/src/medias/rubies/examples/play.rb +0 -15
- data/vendor/assets/src/medias/rubies/examples/read.rb +0 -11
- data/vendor/assets/src/medias/rubies/examples/refresh.rb +0 -8
- data/vendor/assets/src/medias/rubies/examples/remove.rb +0 -16
- data/vendor/assets/src/medias/rubies/examples/repeat.rb +0 -6
- data/vendor/assets/src/medias/rubies/examples/right.rb +0 -3
- data/vendor/assets/src/medias/rubies/examples/rotate.rb +0 -4
- data/vendor/assets/src/medias/rubies/examples/schedule.rb +0 -13
- data/vendor/assets/src/medias/rubies/examples/shadow.rb +0 -84
- data/vendor/assets/src/medias/rubies/examples/size.rb +0 -8
- data/vendor/assets/src/medias/rubies/examples/sort.rb +0 -18
- data/vendor/assets/src/medias/rubies/examples/style.rb +0 -4
- data/vendor/assets/src/medias/rubies/examples/tags.rb +0 -10
- data/vendor/assets/src/medias/rubies/examples/text.rb +0 -39
- data/vendor/assets/src/medias/rubies/examples/time.rb +0 -18
- data/vendor/assets/src/medias/rubies/examples/to_px.rb +0 -10
- data/vendor/assets/src/medias/rubies/examples/touch.rb +0 -56
- data/vendor/assets/src/medias/rubies/examples/vector.rb +0 -39
- data/vendor/assets/src/medias/rubies/examples/video.rb +0 -65
- data/vendor/assets/src/medias/rubies/examples/wait.rb +0 -8
- data/vendor/assets/src/medias/rubies/examples/web.rb +0 -13
- data/vendor/assets/src/medias/rubies/examples/width.rb +0 -6
- data/vendor/assets/src/medias/rubies/test.rb +0 -1
- data/vendor/assets/src/medias/rubies/text_read.rb +0 -1
- data/vendor/assets/src/medias/rubies/unstable/!run.rb +0 -16
- data/vendor/assets/src/medias/rubies/unstable/_2_solve.rb +0 -72
- data/vendor/assets/src/medias/rubies/unstable/_attach.rb +0 -12
- data/vendor/assets/src/medias/rubies/unstable/_audio.rb +0 -231
- data/vendor/assets/src/medias/rubies/unstable/_dataset.rb +0 -257
- data/vendor/assets/src/medias/rubies/unstable/_matrix.rb +0 -58
- data/vendor/assets/src/medias/rubies/unstable/_os.rb +0 -29
- data/vendor/assets/src/medias/rubies/unstable/_table2.rb +0 -108
- data/vendor/assets/src/medias/rubies/unstable/_vie.rb +0 -211
- data/vendor/assets/src/medias/rubies/users/code.rb +0 -6
- /data/lib/{atome/renderers → platform_specific}/opal/opal.rb +0 -0
- /data/lib/{atome/renderers → platform_specific}/opal/opal_parser.rb +0 -0
- /data/{vendor/assets/src/utilities/mode.rb → lib/renderers/html/communication.rb} +0 -0
- /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
|
-
|
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
|
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
|
51
|
-
Float
|
52
|
-
Float
|
53
|
-
Float
|
54
|
-
Float
|
55
|
-
Float
|
56
|
-
Float
|
57
|
-
Float
|
58
|
-
Float
|
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
|
-
|
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
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
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
|
-
|
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
|
-
|
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:
|
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
|
-
|
69
|
-
|
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
|
16
|
-
<script type="text/javascript" src="js/third_parties/
|
17
|
-
<script type="text/javascript" src="js/third_parties/
|
18
|
-
<script type="text/javascript" src="js/third_parties/
|
19
|
-
|
20
|
-
|
21
|
-
<script type="text/javascript" src="js/third_parties/
|
22
|
-
<script type="text/javascript" src="js/third_parties/
|
23
|
-
|
24
|
-
<script src=
|
25
|
-
<script src=
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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'
|
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>
|