atome 0.5.7.6.0 → 0.5.7.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -4
- data/Rakefile +111 -1
- data/documentation/basic.md +3 -1
- data/documentation/deep learning/Important/Atome_Framework_Enhanced_Documentation.pdf +0 -0
- data/documentation/deep learning/Important/atome_usage_documentation.md +155 -0
- data/documentation/deep learning/Important/base_usage.txt +135 -0
- data/documentation/deep learning/Important/web_to_atome_converter.txt +143 -0
- data/documentation/deep learning/basic_infos.txt +1 -1
- data/documentation/installation/buiding_atome.md +1 -1
- data/exe/atome +93 -71
- data/lib/atome/extensions/atome.rb +144 -53
- data/lib/atome/genesis/atomes.rb +1 -1
- data/lib/atome/genesis/genesis.rb +1 -1
- data/lib/atome/genesis/particles/hierarchy.rb +3 -3
- data/lib/atome/genesis/particles/identity.rb +1 -0
- data/lib/atome/genesis/particles/material.rb +1 -1
- data/lib/atome/genesis/particles/property.rb +5 -5
- data/lib/atome/genesis/particles/spatial.rb +5 -5
- data/lib/atome/genesis/particles/utility.rb +91 -23
- data/lib/atome/kernel/universe.rb +7 -3
- data/lib/atome/presets/atome.rb +4 -4
- data/lib/atome/utilities/utilities.rb +227 -28
- data/lib/atome/version.rb +1 -1
- data/lib/molecules/intuition/tools.rb +1 -1
- data/lib/molecules/intuition/utilities.rb +0 -1
- data/lib/renderers/html/html.rb +65 -7
- data/lib/renderers/html/identity.rb +10 -1
- data/lib/renderers/html/utility.rb +3 -0
- data/vendor/assets/application/examples/aXion.rb +61 -0
- data/vendor/assets/application/examples/above_below_before_after.rb +18 -1
- data/vendor/assets/application/examples/account.rb +33 -0
- data/vendor/assets/application/examples/actor&role.rb +28 -1
- data/vendor/assets/application/examples/affect.rb +18 -0
- data/vendor/assets/application/examples/aid.rb +13 -0
- data/vendor/assets/application/examples/allow_copy.rb +18 -0
- data/vendor/assets/application/examples/allow_system_right_click.rb +23 -0
- data/vendor/assets/application/examples/alternate.rb +28 -0
- data/vendor/assets/application/examples/animation.rb +53 -0
- data/vendor/assets/application/examples/applications.rb +63 -0
- data/vendor/assets/application/examples/apply.rb +13 -0
- data/vendor/assets/application/examples/atome.rb +13 -0
- data/vendor/assets/application/examples/atome_converter/example.html +70 -0
- data/vendor/assets/application/examples/atome_converter/script.js +12 -0
- data/vendor/assets/application/examples/atome_converter/simple_test.html +87 -0
- data/vendor/assets/application/examples/atome_converter/styles.css +18 -0
- data/vendor/assets/application/examples/atome_converter/web_to_atome_converter.rb +237 -0
- data/vendor/assets/application/examples/atome_converter/web_to_atome_converter_saf.rb +220 -0
- data/vendor/assets/application/examples/atome_particle_validation.rb +7 -0
- data/vendor/assets/application/examples/atome_sparkle_use.rb +13 -1
- data/vendor/assets/application/examples/atomizer.rb +68 -0
- data/vendor/assets/application/examples/attach.rb +28 -0
- data/vendor/assets/application/examples/attached.rb +43 -0
- data/vendor/assets/application/examples/audio.rb +73 -1
- data/vendor/assets/application/examples/b64_to_image.rb +43 -1
- data/vendor/assets/application/examples/basic_understanding.rb +78 -0
- data/vendor/assets/application/examples/behavior.rb +18 -0
- data/vendor/assets/application/examples/blocks.rb +48 -0
- data/vendor/assets/application/examples/blur.rb +53 -0
- data/vendor/assets/application/examples/border.rb +58 -0
- data/vendor/assets/application/examples/browse.rb +33 -1
- data/vendor/assets/application/examples/browser.rb +1 -0
- data/vendor/assets/application/examples/buttons.rb +23 -1
- data/vendor/assets/application/examples/calendar.rb +103 -0
- data/vendor/assets/application/examples/categories.rb +13 -0
- data/vendor/assets/application/examples/category.rb +28 -0
- data/vendor/assets/application/examples/center.rb +13 -1
- data/vendor/assets/application/examples/chronology.rb +178 -0
- data/vendor/assets/application/examples/clear.rb +58 -1
- data/vendor/assets/application/examples/clones&monitoring.rb +98 -0
- data/vendor/assets/application/examples/code.rb +18 -0
- data/vendor/assets/application/examples/color.rb +43 -0
- data/vendor/assets/application/examples/compute.rb +53 -0
- data/vendor/assets/application/examples/console.rb +7 -1
- data/vendor/assets/application/examples/convert.rb +33 -1
- data/vendor/assets/application/examples/copy.rb +33 -0
- data/vendor/assets/application/examples/copybck.rb +58 -0
- data/vendor/assets/application/examples/css.rb +13 -1
- data/vendor/assets/application/examples/database_handling.rb +13 -1
- data/vendor/assets/application/examples/debug.rb +73 -1
- data/vendor/assets/application/examples/delete.rb +108 -0
- data/vendor/assets/application/examples/detach.rb +33 -1
- data/vendor/assets/application/examples/dig.rb +23 -1
- data/vendor/assets/application/examples/display.rb +208 -1
- data/vendor/assets/application/examples/display_bck.rb +138 -0
- data/vendor/assets/application/examples/drag.rb +53 -0
- data/vendor/assets/application/examples/drop.rb +18 -0
- data/vendor/assets/application/examples/drop_down_list.rb +23 -0
- data/vendor/assets/application/examples/duplicate.rb +83 -0
- data/vendor/assets/application/examples/edit.rb +48 -1
- data/vendor/assets/application/examples/editor.rb +153 -1
- data/vendor/assets/application/examples/encode.rb +18 -1
- data/vendor/assets/application/examples/encrypt.rb +13 -1
- data/vendor/assets/application/examples/example.rb +27 -0
- data/vendor/assets/application/examples/exchange.rb +18 -0
- data/vendor/assets/application/examples/executor.rb +28 -0
- data/vendor/assets/application/examples/file.rb +13 -0
- data/vendor/assets/application/examples/fill.rb +38 -1
- data/vendor/assets/application/examples/find.rb +73 -1
- data/vendor/assets/application/examples/fit.rb +51 -3
- data/vendor/assets/application/examples/flash.rb +7 -0
- data/vendor/assets/application/examples/fonts.rb +18 -0
- data/vendor/assets/application/examples/generator_and_build.rb +18 -1
- data/vendor/assets/application/examples/getter.rb +43 -0
- data/vendor/assets/application/examples/grab.rb +13 -0
- data/vendor/assets/application/examples/gradient.rb +48 -0
- data/vendor/assets/application/examples/grip.rb +28 -0
- data/vendor/assets/application/examples/group.rb +78 -0
- data/vendor/assets/application/examples/help.rb +23 -0
- data/vendor/assets/application/examples/hierarchy.rb +38 -1
- data/vendor/assets/application/examples/history.rb +28 -0
- data/vendor/assets/application/examples/holder.rb +38 -0
- data/vendor/assets/application/examples/hypertext.rb +68 -0
- data/vendor/assets/application/examples/image.rb +13 -0
- data/vendor/assets/application/examples/import.rb +28 -1
- data/vendor/assets/application/examples/increment.rb +33 -0
- data/vendor/assets/application/examples/infos.rb +13 -0
- data/vendor/assets/application/examples/input.rb +43 -0
- data/vendor/assets/application/examples/inspector.rb +63 -0
- data/vendor/assets/application/examples/int8.rb +33 -0
- data/vendor/assets/application/examples/interop_ruby_js.rb +25 -0
- data/vendor/assets/application/examples/js&ruby.rb +33 -1
- data/vendor/assets/application/examples/keyboard.rb +38 -0
- data/vendor/assets/application/examples/layout.rb +43 -0
- data/vendor/assets/application/examples/link.rb +20 -0
- data/vendor/assets/application/examples/list.rb +33 -0
- data/vendor/assets/application/examples/localstorage.rb +38 -0
- data/vendor/assets/application/examples/login.rb +53 -1
- data/vendor/assets/application/examples/map.rb +43 -0
- data/vendor/assets/application/examples/markup.rb +7 -1
- data/vendor/assets/application/examples/match.rb +58 -0
- data/vendor/assets/application/examples/matrix.rb +115 -3
- data/vendor/assets/application/examples/media_audio_thumbnail.rb +506 -0
- data/vendor/assets/application/examples/media_video_thumbnail.rb +317 -0
- data/vendor/assets/application/examples/meteo.rb +13 -0
- data/vendor/assets/application/examples/midi.rb +25 -1
- data/vendor/assets/application/examples/monitor.rb +23 -0
- data/vendor/assets/application/examples/on_resize.rb +18 -1
- data/vendor/assets/application/examples/on_the_fly_ruby_code_loading.rb +23 -0
- data/vendor/assets/application/examples/online.rb +7 -1
- data/vendor/assets/application/examples/opacity.rb +23 -0
- data/vendor/assets/application/examples/over.rb +43 -0
- data/vendor/assets/application/examples/overflow.rb +43 -0
- data/vendor/assets/application/examples/paint.rb +38 -0
- data/vendor/assets/application/examples/particles.rb +13 -1
- data/vendor/assets/application/examples/percent_to_px.rb +13 -1
- data/vendor/assets/application/examples/play.rb +58 -1
- data/vendor/assets/application/examples/preset.rb +38 -0
- data/vendor/assets/application/examples/random.rb +63 -0
- data/vendor/assets/application/examples/raw_html.rb +23 -1
- data/vendor/assets/application/examples/read_write_terminal.rb +53 -0
- data/vendor/assets/application/examples/recorder.rb +46 -4
- data/vendor/assets/application/examples/refresh.rb +48 -1
- data/vendor/assets/application/examples/remove.rb +48 -0
- data/vendor/assets/application/examples/repeat.rb +23 -1
- data/vendor/assets/application/examples/resize.rb +33 -1
- data/vendor/assets/application/examples/retreive.rb +28 -0
- data/vendor/assets/application/examples/rotate.rb +23 -1
- data/vendor/assets/application/examples/run.rb +18 -0
- data/vendor/assets/application/examples/schedule.rb +48 -1
- data/vendor/assets/application/examples/scheduler.rb +7 -0
- data/vendor/assets/application/examples/security.rb +48 -0
- data/vendor/assets/application/examples/select_text.rb +48 -1
- data/vendor/assets/application/examples/selected.rb +63 -0
- data/vendor/assets/application/examples/server.rb +23 -0
- data/vendor/assets/application/examples/shadow.rb +48 -0
- data/vendor/assets/application/examples/shapes.rb +7 -0
- data/vendor/assets/application/examples/shortcut.rb +7 -0
- data/vendor/assets/application/examples/site.rb +43 -0
- data/vendor/assets/application/examples/size.rb +23 -0
- data/vendor/assets/application/examples/sliders.rb +28 -0
- data/vendor/assets/application/examples/smooth.rb +13 -0
- data/vendor/assets/application/examples/style.rb +13 -1
- data/vendor/assets/application/examples/sub_atome_manipulation.rb +18 -1
- data/vendor/assets/application/examples/svg_img_to_vector.rb +23 -0
- data/vendor/assets/application/examples/svg_vectorizer.rb +53 -0
- data/vendor/assets/application/examples/sync.rb +38 -0
- data/vendor/assets/application/examples/table.rb +56 -3
- data/vendor/assets/application/examples/tagged.rb +18 -0
- data/vendor/assets/application/examples/target.rb +28 -0
- data/vendor/assets/application/examples/terminal.rb +1 -1
- data/vendor/assets/application/examples/test.rb +130 -6
- data/vendor/assets/application/examples/text.rb +7 -0
- data/vendor/assets/application/examples/text_align.rb +7 -1
- data/vendor/assets/application/examples/tick.rb +33 -1
- data/vendor/assets/application/examples/timeline.rb +301 -42
- data/vendor/assets/application/examples/to_percent.rb +28 -0
- data/vendor/assets/application/examples/to_px.rb +13 -1
- data/vendor/assets/application/examples/tools.rb +83 -1
- data/vendor/assets/application/examples/touch.rb +23 -0
- data/vendor/assets/application/examples/trigger_abstraction.rb +138 -0
- data/vendor/assets/application/examples/type_mutation.rb +38 -1
- data/vendor/assets/application/examples/unfasten.rb +53 -0
- data/vendor/assets/application/examples/unit.rb +13 -0
- data/vendor/assets/application/examples/universe.rb +38 -1
- data/vendor/assets/application/examples/vector.rb +138 -0
- data/vendor/assets/application/examples/video.rb +33 -1
- data/vendor/assets/application/examples/vr.rb +13 -0
- data/vendor/assets/application/examples/wait.rb +13 -1
- data/vendor/assets/application/examples/www.rb +23 -1
- data/vendor/assets/package.json +12 -0
- data/vendor/assets/pnpm-lock.yaml +125 -0
- data/vendor/assets/server/IA.rb +285 -0
- data/vendor/assets/server/atome_server.rb +2 -1
- data/vendor/assets/server/atome_server_wasm.rb +2 -1
- data/vendor/assets/server/eDen.rb +80 -8
- data/vendor/assets/src/css/leaflet.css +664 -664
- data/vendor/assets/src/index_bck_opal_tauri.html +77 -0
- data/vendor/assets/src/{index.html → index_bck_wasm_tauri.html} +1 -0
- data/vendor/assets/src/index_opal.html +1 -0
- data/vendor/assets/src/index_server.html +1 -0
- data/vendor/assets/src/index_server_wasm.html +1 -0
- data/vendor/assets/src/index_wasm.html +1 -0
- data/vendor/assets/src/js/atome/atome.js +77 -124
- data/vendor/assets/src/js/atome/atome_helpers/communication.js +178 -0
- data/vendor/assets/src/js/atome/specific/wasm.js +8 -26
- data/vendor/assets/src/js/third_parties/a_pianoroll.js +83 -12
- data/vendor/assets/src/js/third_parties/vis-timeline-graph2d.min.js +35 -0
- data/vendor/assets/src/js/third_parties/vis-timeline-graph2d.min.js.map +1 -0
- data/vendor/assets/src/medias/utils/apis.rb +945 -0
- data/vendor/assets/src/medias/utils/examples/atomes/animation/example.rb +123 -0
- data/vendor/assets/src/medias/utils/examples/atomes/animation/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/animation/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/atomized/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/atomes/atomized/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/atomized/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/audio/example.rb +70 -0
- data/vendor/assets/src/medias/utils/examples/atomes/audio/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/audio/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/border/example.rb +81 -0
- data/vendor/assets/src/medias/utils/examples/atomes/border/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/border/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/code/example.rb +9 -0
- data/vendor/assets/src/medias/utils/examples/atomes/code/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/code/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/color/example.rb +54 -0
- data/vendor/assets/src/medias/utils/examples/atomes/color/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/color/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/draw/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/atomes/draw/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/draw/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/editor/example.rb +139 -0
- data/vendor/assets/src/medias/utils/examples/atomes/editor/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/editor/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/element/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/atomes/element/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/element/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/group/example.rb +44 -0
- data/vendor/assets/src/medias/utils/examples/atomes/group/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/group/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/human/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/atomes/human/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/human/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/image/example.rb +4 -0
- data/vendor/assets/src/medias/utils/examples/atomes/image/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/image/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/machine/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/atomes/machine/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/machine/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/map/example.rb +42 -0
- data/vendor/assets/src/medias/utils/examples/atomes/map/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/map/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/paint/example.rb +29 -0
- data/vendor/assets/src/medias/utils/examples/atomes/paint/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/paint/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/raw/example.rb +48 -0
- data/vendor/assets/src/medias/utils/examples/atomes/raw/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/raw/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/shadow/example.rb +60 -0
- data/vendor/assets/src/medias/utils/examples/atomes/shadow/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/shadow/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/shape/example.rb +6 -0
- data/vendor/assets/src/medias/utils/examples/atomes/shape/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/shape/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/table/example.rb +76 -0
- data/vendor/assets/src/medias/utils/examples/atomes/table/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/table/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/text/example.rb +18 -0
- data/vendor/assets/src/medias/utils/examples/atomes/text/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/text/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/vector/example.rb +9 -0
- data/vendor/assets/src/medias/utils/examples/atomes/vector/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/vector/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/video/example.rb +14 -0
- data/vendor/assets/src/medias/utils/examples/atomes/video/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/video/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/vr/example.rb +3 -0
- data/vendor/assets/src/medias/utils/examples/atomes/vr/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/vr/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/www/example.rb +10 -0
- data/vendor/assets/src/medias/utils/examples/atomes/www/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/atomes/www/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/application/example.rb +84 -0
- data/vendor/assets/src/medias/utils/examples/molecules/application/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/application/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/browser/example.rb +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/browser/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/browser/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/buttons/example.rb +43 -0
- data/vendor/assets/src/medias/utils/examples/molecules/buttons/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/buttons/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/editor/example.rb +139 -0
- data/vendor/assets/src/medias/utils/examples/molecules/editor/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/editor/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/input/example.rb +41 -0
- data/vendor/assets/src/medias/utils/examples/molecules/input/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/input/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/list/example.rb +13 -0
- data/vendor/assets/src/medias/utils/examples/molecules/list/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/list/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/matrix/example.rb +88 -0
- data/vendor/assets/src/medias/utils/examples/molecules/matrix/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/matrix/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/page/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/molecules/page/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/page/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/show/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/molecules/show/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/show/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/slider/example.rb +17 -0
- data/vendor/assets/src/medias/utils/examples/molecules/slider/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/molecules/slider/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/active/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/active/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/active/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/actor/example.rb +23 -0
- data/vendor/assets/src/medias/utils/examples/particles/actor/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/actor/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/affect/example.rb +8 -0
- data/vendor/assets/src/medias/utils/examples/particles/affect/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/affect/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/aid/example.rb +10 -0
- data/vendor/assets/src/medias/utils/examples/particles/aid/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/aid/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/alien/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/alien/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/alien/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/align/example.rb +3 -0
- data/vendor/assets/src/medias/utils/examples/particles/align/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/align/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/alpha/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/alpha/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/alpha/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/animate/example.rb +176 -0
- data/vendor/assets/src/medias/utils/examples/particles/animate/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/animate/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/apply/example.rb +8 -0
- data/vendor/assets/src/medias/utils/examples/particles/apply/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/apply/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/atomes/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/atomes/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/atomes/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/attach/example.rb +34 -0
- data/vendor/assets/src/medias/utils/examples/particles/attach/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/attach/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/backup/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/backup/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/backup/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/begin/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/begin/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/begin/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/behavior/example.rb +32 -0
- data/vendor/assets/src/medias/utils/examples/particles/behavior/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/behavior/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/blue/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/blue/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/blue/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/blur/example.rb +26 -0
- data/vendor/assets/src/medias/utils/examples/particles/blur/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/blur/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/bottom/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/bottom/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/bottom/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/browse/example.rb +17 -0
- data/vendor/assets/src/medias/utils/examples/particles/browse/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/browse/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/bundle/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/bundle/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/bundle/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/category/example.rb +16 -0
- data/vendor/assets/src/medias/utils/examples/particles/category/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/category/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/cells/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/cells/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/cells/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/center/example.rb +7 -0
- data/vendor/assets/src/medias/utils/examples/particles/center/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/center/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/classes/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/classes/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/classes/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/clean/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/clean/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/clean/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/clear/example.rb +96 -0
- data/vendor/assets/src/medias/utils/examples/particles/clear/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/clear/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/code/example.rb +9 -0
- data/vendor/assets/src/medias/utils/examples/particles/code/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/code/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/collect/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/collect/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/collect/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/component/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/component/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/component/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/compute/example.rb +16 -0
- data/vendor/assets/src/medias/utils/examples/particles/compute/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/compute/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/connection/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/connection/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/connection/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/controller/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/controller/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/controller/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/copies/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/copies/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/copies/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/copy/example.rb +13 -0
- data/vendor/assets/src/medias/utils/examples/particles/copy/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/copy/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/creator/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/creator/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/creator/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/css/example.rb +6 -0
- data/vendor/assets/src/medias/utils/examples/particles/css/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/css/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/cursor/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/cursor/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/cursor/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/damping/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/damping/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/damping/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/data/example.rb +39 -0
- data/vendor/assets/src/medias/utils/examples/particles/data/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/data/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/definition/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/definition/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/definition/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/delete/example.rb +115 -0
- data/vendor/assets/src/medias/utils/examples/particles/delete/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/delete/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/depth/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/depth/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/depth/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/detach/example.rb +8 -0
- data/vendor/assets/src/medias/utils/examples/particles/detach/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/detach/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/diffusion/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/diffusion/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/diffusion/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/direction/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/direction/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/direction/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/display/example.rb +164 -0
- data/vendor/assets/src/medias/utils/examples/particles/display/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/display/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/drag/example.rb +52 -0
- data/vendor/assets/src/medias/utils/examples/particles/drag/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/drag/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/drop/example.rb +36 -0
- data/vendor/assets/src/medias/utils/examples/particles/drop/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/drop/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/duplicate/example.rb +70 -0
- data/vendor/assets/src/medias/utils/examples/particles/duplicate/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/duplicate/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/duration/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/duration/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/duration/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/ease/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/ease/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/ease/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/edit/example.rb +139 -0
- data/vendor/assets/src/medias/utils/examples/particles/edit/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/edit/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/email/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/email/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/email/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/end/example.rb +186 -0
- data/vendor/assets/src/medias/utils/examples/particles/end/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/end/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/exchange/example.rb +17 -0
- data/vendor/assets/src/medias/utils/examples/particles/exchange/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/exchange/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/executor/example.rb +36 -0
- data/vendor/assets/src/medias/utils/examples/particles/executor/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/executor/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/fasten/example.rb +23 -0
- data/vendor/assets/src/medias/utils/examples/particles/fasten/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/fasten/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/fill/example.rb +23 -0
- data/vendor/assets/src/medias/utils/examples/particles/fill/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/fill/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/format/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/format/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/format/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/fullscreen/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/fullscreen/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/fullscreen/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/get/example.rb +16 -0
- data/vendor/assets/src/medias/utils/examples/particles/get/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/get/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/gradient/example.rb +40 -0
- data/vendor/assets/src/medias/utils/examples/particles/gradient/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/gradient/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/green/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/green/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/green/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/height/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/height/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/height/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/hide/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/hide/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/hide/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/holder/example.rb +62 -0
- data/vendor/assets/src/medias/utils/examples/particles/holder/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/holder/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/hyperedit/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/hyperedit/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/hyperedit/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/hypertext/example.rb +134 -0
- data/vendor/assets/src/medias/utils/examples/particles/hypertext/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/hypertext/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/id/example.rb +14 -0
- data/vendor/assets/src/medias/utils/examples/particles/id/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/id/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/import/example.rb +33 -0
- data/vendor/assets/src/medias/utils/examples/particles/import/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/import/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/increment/example.rb +23 -0
- data/vendor/assets/src/medias/utils/examples/particles/increment/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/increment/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/insert/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/insert/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/insert/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/inside/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/inside/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/inside/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/int8/example.rb +36 -0
- data/vendor/assets/src/medias/utils/examples/particles/int8/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/int8/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/invert/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/invert/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/invert/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/keyboard/example.rb +69 -0
- data/vendor/assets/src/medias/utils/examples/particles/keyboard/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/keyboard/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/language/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/language/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/language/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/latitude/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/latitude/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/latitude/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/layout/example.rb +38 -0
- data/vendor/assets/src/medias/utils/examples/particles/layout/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/layout/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/left/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/left/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/left/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/location/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/location/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/location/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/login/example.rb +84 -0
- data/vendor/assets/src/medias/utils/examples/particles/login/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/login/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/longitude/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/longitude/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/longitude/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/margin/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/margin/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/margin/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/markers/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/markers/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/markers/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/markup/example.rb +4 -0
- data/vendor/assets/src/medias/utils/examples/particles/markup/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/markup/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/mass/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/mass/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/mass/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/match/example.rb +115 -0
- data/vendor/assets/src/medias/utils/examples/particles/match/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/match/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/message/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/message/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/message/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/meteo/example.rb +8 -0
- data/vendor/assets/src/medias/utils/examples/particles/meteo/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/meteo/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/mute/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/mute/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/mute/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/name/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/name/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/name/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/on/example.rb +15 -0
- data/vendor/assets/src/medias/utils/examples/particles/on/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/on/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/opacity/example.rb +9 -0
- data/vendor/assets/src/medias/utils/examples/particles/opacity/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/opacity/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/option/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/option/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/option/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/organise/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/organise/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/organise/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/orientation/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/orientation/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/orientation/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/over/example.rb +28 -0
- data/vendor/assets/src/medias/utils/examples/particles/over/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/over/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/overflow/example.rb +27 -0
- data/vendor/assets/src/medias/utils/examples/particles/overflow/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/overflow/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/pan/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/pan/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/pan/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/password/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/password/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/password/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/paste/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/paste/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/paste/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/path/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/path/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/path/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/pattern/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/pattern/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/pattern/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/pause/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/pause/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/pause/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/play/example.rb +164 -0
- data/vendor/assets/src/medias/utils/examples/particles/play/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/play/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/position/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/position/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/position/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/preset/example.rb +33 -0
- data/vendor/assets/src/medias/utils/examples/particles/preset/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/preset/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/preview/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/preview/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/preview/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/read/example.rb +10 -0
- data/vendor/assets/src/medias/utils/examples/particles/read/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/read/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/real/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/real/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/real/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/record/example.rb +88 -0
- data/vendor/assets/src/medias/utils/examples/particles/record/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/record/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/red/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/red/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/red/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/relations/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/relations/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/relations/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/remove/example.rb +70 -0
- data/vendor/assets/src/medias/utils/examples/particles/remove/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/remove/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/remove_classes/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/remove_classes/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/remove_classes/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/renderers/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/renderers/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/renderers/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/resize/example.rb +21 -0
- data/vendor/assets/src/medias/utils/examples/particles/resize/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/resize/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/right/example.rb +15 -0
- data/vendor/assets/src/medias/utils/examples/particles/right/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/right/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/role/example.rb +23 -0
- data/vendor/assets/src/medias/utils/examples/particles/role/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/role/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/rotate/example.rb +8 -0
- data/vendor/assets/src/medias/utils/examples/particles/rotate/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/rotate/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/run/example.rb +17 -0
- data/vendor/assets/src/medias/utils/examples/particles/run/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/run/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/schedule/example.rb +23 -0
- data/vendor/assets/src/medias/utils/examples/particles/schedule/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/schedule/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/selected/example.rb +56 -0
- data/vendor/assets/src/medias/utils/examples/particles/selected/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/selected/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/selection/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/selection/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/selection/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/size/example.rb +21 -0
- data/vendor/assets/src/medias/utils/examples/particles/size/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/size/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/smooth/example.rb +9 -0
- data/vendor/assets/src/medias/utils/examples/particles/smooth/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/smooth/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/sort/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/sort/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/sort/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/spacing/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/spacing/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/spacing/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/start/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/start/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/start/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/state/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/state/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/state/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/stiffness/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/stiffness/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/stiffness/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/stop/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/stop/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/stop/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/storage/example.rb +19 -0
- data/vendor/assets/src/medias/utils/examples/particles/storage/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/storage/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/style/example.rb +4 -0
- data/vendor/assets/src/medias/utils/examples/particles/style/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/style/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/tag/example.rb +24 -0
- data/vendor/assets/src/medias/utils/examples/particles/tag/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/tag/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/target/example.rb +25 -0
- data/vendor/assets/src/medias/utils/examples/particles/target/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/target/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/targets/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/targets/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/targets/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/temporary/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/temporary/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/temporary/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/terminal/example.rb +6 -0
- data/vendor/assets/src/medias/utils/examples/particles/terminal/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/terminal/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/thickness/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/thickness/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/thickness/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/tick/example.rb +39 -0
- data/vendor/assets/src/medias/utils/examples/particles/tick/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/tick/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/time/example.rb +194 -0
- data/vendor/assets/src/medias/utils/examples/particles/time/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/time/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/top/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/top/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/top/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/touch/example.rb +43 -0
- data/vendor/assets/src/medias/utils/examples/particles/touch/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/touch/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/type/example.rb +18 -0
- data/vendor/assets/src/medias/utils/examples/particles/type/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/type/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/unfasten/example.rb +23 -0
- data/vendor/assets/src/medias/utils/examples/particles/unfasten/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/unfasten/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/unit/example.rb +14 -0
- data/vendor/assets/src/medias/utils/examples/particles/unit/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/unit/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/value/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/value/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/value/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/velocity/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/velocity/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/velocity/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/web/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/web/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/web/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/width/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/width/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/width/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/zoom/example.rb +0 -0
- data/vendor/assets/src/medias/utils/examples/particles/zoom/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/particles/zoom/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/presets/box/example.rb +1 -0
- data/vendor/assets/src/medias/utils/examples/presets/box/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/presets/box/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/presets/circle/example.rb +1 -0
- data/vendor/assets/src/medias/utils/examples/presets/circle/infos.txt +1 -0
- data/vendor/assets/src/medias/utils/examples/presets/circle/usage.txt +1 -0
- data/vendor/assets/src/medias/utils/examples.rb +187 -0
- data/vendor/assets/src/medias/utils/test.rb +1 -0
- data/vendor/assets/src-tauri/Cargo.toml +5 -2
- data/vendor/assets/src-tauri/capabilities/default.json +10 -0
- data/vendor/assets/src-tauri/src/lib.rs +14 -0
- data/vendor/assets/src-tauri/src/main.rs +34 -30
- data/vendor/assets/src-tauri/src/main_org.rs +6 -0
- data/vendor/assets/src-tauri/src/midi.rs +2 -2
- data/vendor/assets/src-tauri/tauri.conf.json +29 -61
- metadata +598 -8
- data/vendor/assets/application/examples/read.rb +0 -13
@@ -0,0 +1,164 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
|
4
|
+
new({ particle: :display, render: false }) do |params|
|
5
|
+
# alert type
|
6
|
+
unless params[:items]
|
7
|
+
params[:items] = { width: 200, height: 33 }
|
8
|
+
end
|
9
|
+
container_width = params[:width] ||= width
|
10
|
+
container_height = params[:heigth] ||= height
|
11
|
+
container_top = params[:top] ||= top
|
12
|
+
container_left = params[:left] ||= left
|
13
|
+
|
14
|
+
item_width = params[:items][:width] ||= 400
|
15
|
+
item_height = params[:items][:height] ||= 50
|
16
|
+
item_margin = params[:margin] ||= 3
|
17
|
+
|
18
|
+
mode = params[:mode]
|
19
|
+
|
20
|
+
case mode
|
21
|
+
when :none
|
22
|
+
when :custom
|
23
|
+
when :list
|
24
|
+
if params[:data].instance_of? Array
|
25
|
+
elsif params[:data] == :particles
|
26
|
+
list_id = "#{id}_list"
|
27
|
+
unless grab(list_id)
|
28
|
+
container = ''
|
29
|
+
attach.each do |parent|
|
30
|
+
container = grab(parent).box({ id: list_id, left: container_left, top: container_top, width: container_width, height: container_height, overflow: :auto, color: :black, depth: 0 })
|
31
|
+
container.on(:resize) do |event|
|
32
|
+
puts event[:dx]
|
33
|
+
end
|
34
|
+
container.resize({ min: { width: 100, height: 100 }, max: { width: 300, height: 700 } }) do |event|
|
35
|
+
puts event
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
sorted_particles = particles.sort.to_h
|
40
|
+
sorted_particles.each_with_index do |(particle_found, value), index|
|
41
|
+
line = container.box({ id: "#{list_id}_#{index}", width: item_width, height: item_height, left: 0, top: ((item_height + item_margin) * index) })
|
42
|
+
line.text({ data: "#{particle_found} : ", top: -item_height / 2, left: 2 })
|
43
|
+
if value.instance_of?(String) || value.instance_of?(Symbol) || value.instance_of?(Integer)
|
44
|
+
input_value = line.text({ data: value, top: -item_height / 2, left: 5, edit: true })
|
45
|
+
input_value.keyboard(:down) do |native_event|
|
46
|
+
event = Native(native_event)
|
47
|
+
if event[:keyCode].to_i == 13
|
48
|
+
event.preventDefault()
|
49
|
+
input_value.color(:red)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
input_value.keyboard(:up) do |native_event|
|
53
|
+
data_found = input_value.data
|
54
|
+
send(particle_found, data_found)
|
55
|
+
end
|
56
|
+
else
|
57
|
+
puts "value is :#{value.class} => #{value}"
|
58
|
+
end
|
59
|
+
end
|
60
|
+
closer = container.circle({ id: "#{list_id}_closer", width: 33, height: 33, top: 3, right: 3, color: :red, position: :sticky })
|
61
|
+
closer.touch(true) do
|
62
|
+
container.delete(true)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
else
|
66
|
+
end
|
67
|
+
when :grid
|
68
|
+
grid_id = "#{id}_grid"
|
69
|
+
unless grab(grid_id)
|
70
|
+
container = grab(:view).box({ id: grid_id, width: container_width, height: container_height, overflow: :auto, color: :white, depth: 0 })
|
71
|
+
############## deletion
|
72
|
+
container.touch(true) do
|
73
|
+
puts "removing container recursively : #{container.id}"
|
74
|
+
val_1= Universe.atomes.length
|
75
|
+
puts "val_1 : #{val_1}"
|
76
|
+
container.delete({ recursive: true })
|
77
|
+
val_2= Universe.atomes.length
|
78
|
+
puts "val_2 : #{val_2}"
|
79
|
+
puts "val_1-val_2 : #{val_1-val_2}"
|
80
|
+
end
|
81
|
+
############## deletion
|
82
|
+
params[:data].each_with_index do |item, index|
|
83
|
+
# unless grab("#{grid_id}_#{index}")
|
84
|
+
item = container.box({ id: "#{grid_id}_#{index}", top: 0, position: :relative, left: nil, right: nil })
|
85
|
+
# item.touch(true) do
|
86
|
+
# alert "removing container recursively : #{container.id}"
|
87
|
+
# val_1= Universe.atomes.length
|
88
|
+
# puts "val_1 : #{val_1}"
|
89
|
+
# container.delete({ recursive: true })
|
90
|
+
# val_2= Universe.atomes.length
|
91
|
+
# puts "val_2 : #{val_2}"
|
92
|
+
# puts "val_1-val_2 : #{val_1-val_2}"
|
93
|
+
# end
|
94
|
+
# end
|
95
|
+
end
|
96
|
+
# container.html.style('gridTemplateColumns', '1fr 1fr 1fr 1fr 1fr 1fr')
|
97
|
+
container.html.style('gridTemplateColumns', 'repeat(4, 1fr)')
|
98
|
+
container.html.style('gridTemplateRows', 'auto')
|
99
|
+
container.html.style('gridGap', '10px')
|
100
|
+
container.html.style('display', 'grid')
|
101
|
+
container.on(:resize) do |event|
|
102
|
+
puts event[:dx]
|
103
|
+
end
|
104
|
+
container.resize({ min: { width: 10, height: 10 }, max: { width: 300, height: 700 } }) do |event|
|
105
|
+
puts event
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
new({ particle: :visible })
|
111
|
+
new({ renderer: :html, method: :visible }) do |params|
|
112
|
+
if params == false
|
113
|
+
params = :none
|
114
|
+
elsif params == true
|
115
|
+
params = :block
|
116
|
+
end
|
117
|
+
html.visible(params)
|
118
|
+
end
|
119
|
+
new({ particle: :position }) do
|
120
|
+
end
|
121
|
+
new({ method: :position, type: :integer, renderer: :html }) do |params|
|
122
|
+
html.style(:position, params)
|
123
|
+
end
|
124
|
+
|
125
|
+
b = box({ color: :red })
|
126
|
+
|
127
|
+
b.touch(true) do
|
128
|
+
# b.display({ mode: :list, data: :particles, width: 333, items: { width: 200, height: 33 }, height: 33, margin: 5 })
|
129
|
+
b.display({ mode: :list, data: :particles, items: { width: 200, height: 33 }, height: 33, margin: 5 })
|
130
|
+
end
|
131
|
+
############## Builder #############
|
132
|
+
c = circle({ left: 333 })
|
133
|
+
fake_array = []
|
134
|
+
i = 0
|
135
|
+
while i < 32 do
|
136
|
+
fake_array << i
|
137
|
+
i += 1
|
138
|
+
end
|
139
|
+
c.touch(true) do
|
140
|
+
c.display({ mode: :grid, data: fake_array,width: 333, height: 333 })
|
141
|
+
end
|
142
|
+
############## Generator #############
|
143
|
+
gen = generator({ id: :genesis, build: { top: 66, copies: 1 } })
|
144
|
+
gen.build({ id: :bundler, copies: 32, tag: { group: :to_grid }, color: :red, width: 33, height: 44, left: 123, smooth: 9, blur: 3, attach: :view })
|
145
|
+
grab(:bundler_1).color(:blue)
|
146
|
+
|
147
|
+
color({ id: :the_orange, red: 1, green: 0.4 })
|
148
|
+
|
149
|
+
atome_to_grid = tagged({ group: :to_grid })
|
150
|
+
the_group = group({ collected: atome_to_grid })
|
151
|
+
|
152
|
+
the_group.touch(true) do |i|
|
153
|
+
color(:green)
|
154
|
+
end
|
155
|
+
# wait 0.3 do
|
156
|
+
the_group.left(633)
|
157
|
+
wait 1 do
|
158
|
+
grab(:view).display({ mode: :grid, data: fake_array })
|
159
|
+
end
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
Specific information about how to use the display object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The display object is used for specific purposes as indicated in the example.
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
a=box({width: 666, height: 777, color: :orange})
|
4
|
+
b = box({ left: 666, color: :blue, smooth: 6, id: :the_box2, depth: 1 , top: 66})
|
5
|
+
cc=circle({color: :red, left: 0, top: 0})
|
6
|
+
clone = ""
|
7
|
+
b.drag(:start) do
|
8
|
+
b.color(:black)
|
9
|
+
b.height(123)
|
10
|
+
# beware you must use grab(:view) else it'll be fasten to the context, that means to 'b' in this case
|
11
|
+
clone = grab(:view).circle({ color: :white, left: b.left, top: b.top, depth: 3 })
|
12
|
+
end
|
13
|
+
|
14
|
+
b.drag(:stop) do
|
15
|
+
b.color(:purple)
|
16
|
+
b.height=b.height+100
|
17
|
+
clone.delete(true)
|
18
|
+
end
|
19
|
+
|
20
|
+
b.drag(:locked) do |event|
|
21
|
+
dx = event[:dx]
|
22
|
+
dy = event[:dy]
|
23
|
+
x = (clone.left || 0) + dx.to_f
|
24
|
+
y = (clone.top || 0) + dy.to_f
|
25
|
+
clone.left(x)
|
26
|
+
clone.top(y)
|
27
|
+
puts "x: #{x}"
|
28
|
+
puts "y: #{y}"
|
29
|
+
end
|
30
|
+
cc.drag({ restrict: {max:{ left: 240, top: 190}} }) do |event|
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
c=circle
|
35
|
+
|
36
|
+
c.drag({ restrict: a.id }) do |event|
|
37
|
+
|
38
|
+
end
|
39
|
+
|
40
|
+
t=text({data: 'touch me to unbind drag stop for b (clone will not deleted anymore)', left: 250 })
|
41
|
+
t.touch(true) do
|
42
|
+
b.drag({remove: :stop})
|
43
|
+
end
|
44
|
+
|
45
|
+
tt= text({data: "remove drag on circles", top: 99})
|
46
|
+
|
47
|
+
tt.touch(true) do
|
48
|
+
cc.drag(false)
|
49
|
+
c.drag(false)
|
50
|
+
end
|
51
|
+
|
52
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
Specific information about how to use the drag object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The drag object is used for specific purposes as indicated in the example.
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
dragged = box({ left: 33,top: 333, width: 333,color: :orange, smooth: 6, id: :drop_zone })
|
6
|
+
|
7
|
+
dragged.drop(true) do |event|
|
8
|
+
grab(event[:destination]).color(:white)
|
9
|
+
grab(event[:source]).color(:black)
|
10
|
+
end
|
11
|
+
|
12
|
+
dragged.drop(:enter) do |event|
|
13
|
+
grab(event[:destination]).color(:red)
|
14
|
+
end
|
15
|
+
|
16
|
+
dragged.drop(:leave) do |event|
|
17
|
+
grab(event[:destination]).color(:gray)
|
18
|
+
end
|
19
|
+
|
20
|
+
dragged.drop(:activate) do |event|
|
21
|
+
grab(event[:destination]).color(:yellow)
|
22
|
+
grab(event[:source]).color(:cyan)
|
23
|
+
end
|
24
|
+
|
25
|
+
|
26
|
+
dragged.drop(:deactivate) do |event|
|
27
|
+
grab(event[:destination]).color(:orange)
|
28
|
+
end
|
29
|
+
box({ left: 333, color: :blue,top: 222, smooth: 6, id: :the_box, drag: true })
|
30
|
+
box({ left: 333, color: :red,top: 180, smooth: 9, id: :the_box2, drag: true })
|
31
|
+
|
32
|
+
t=text({data: 'touch me to unbind drop enter'})
|
33
|
+
t.touch(true) do
|
34
|
+
dragged.drop({ remove: :enter })
|
35
|
+
end
|
36
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
Specific information about how to use the drop object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The drop object is used for specific purposes as indicated in the example.
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# new({ particle: :duplicate, store: false }) do |params|
|
4
|
+
# if @duplicate
|
5
|
+
# copy_number = @duplicate.length
|
6
|
+
# else
|
7
|
+
# copy_number = 0
|
8
|
+
# end
|
9
|
+
#
|
10
|
+
# new_atome_id = "#{@id}_copy_#{copy_number}"
|
11
|
+
# new_atome = Atome.new({ type: @type, renderers: @renderers, id: new_atome_id })
|
12
|
+
#
|
13
|
+
# fasten_atomes = []
|
14
|
+
# fasten_found = fasten.dup
|
15
|
+
# particles_found = instance_variables.dup
|
16
|
+
#
|
17
|
+
# particles_found.delete(:@history)
|
18
|
+
# particles_found.delete(:@callback)
|
19
|
+
# particles_found.delete(:@duplicate)
|
20
|
+
# particles_found.delete(:@touch_code)
|
21
|
+
# # touch_code=instance_variable_get('@touch_code')
|
22
|
+
# particles_found.delete(:@html)
|
23
|
+
# particles_found.delete(:@fasten)
|
24
|
+
# particles_found.delete(:@id)
|
25
|
+
# params[:id] = new_atome_id
|
26
|
+
# fasten_found.each do |child_id_found|
|
27
|
+
# child_found = grab(child_id_found)
|
28
|
+
# if child_found
|
29
|
+
# new_child = child_found.duplicate({})
|
30
|
+
# fasten_atomes << new_child.id
|
31
|
+
# end
|
32
|
+
# end
|
33
|
+
# particles_found.each do |particle_found|
|
34
|
+
# particle_name = particle_found.to_s.sub('@', '')
|
35
|
+
# particle_content = self.send(particle_name)
|
36
|
+
# new_atome.set(particle_name => particle_content)
|
37
|
+
# # new_atome.instance_variable_set('@touch_code',touch_code)
|
38
|
+
# end
|
39
|
+
# params[:fasten] = fasten_atomes
|
40
|
+
#
|
41
|
+
# if params.instance_of? Hash
|
42
|
+
# params.each do |k, v|
|
43
|
+
# new_atome.send(k, v)
|
44
|
+
# end
|
45
|
+
# end
|
46
|
+
#
|
47
|
+
# @duplicate ||= {}
|
48
|
+
# @duplicate[new_atome_id] = new_atome
|
49
|
+
# new_atome
|
50
|
+
# end
|
51
|
+
#
|
52
|
+
# new({ after: :duplicate }) do |params|
|
53
|
+
# @duplicate[@duplicate.keys[@duplicate.keys.length - 1]]
|
54
|
+
# end
|
55
|
+
# c=circle
|
56
|
+
# c.color({red: 1, id: :titi})
|
57
|
+
# # b=box({apply: [:titi], left: 123})
|
58
|
+
|
59
|
+
|
60
|
+
b = circle({ id: :the_circle })
|
61
|
+
b.text(:hello)
|
62
|
+
bb = b.duplicate({ width: 33, left: 234, top: 222 })
|
63
|
+
bb.color(:red)
|
64
|
+
wait 1 do
|
65
|
+
bb2 = b.duplicate({ width: 33, left: 12, top: 99 })
|
66
|
+
bb3 = b.duplicate({ width: 33, left: 444 })
|
67
|
+
bb3.color(:green)
|
68
|
+
bb2.color(:orange)
|
69
|
+
end
|
70
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
Specific information about how to use the duplicate object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The duplicate object is used for specific purposes as indicated in the example.
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
No specific information available for the duration object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The purpose of the duration object could not be inferred.
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
No specific information available for the ease object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The purpose of the ease object could not be inferred.
|
@@ -0,0 +1,139 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
box
|
3
|
+
dragger = box({ width: 333, height: 16, top: 0 })
|
4
|
+
back = box({ width: 333, height: 222, top: dragger.height })
|
5
|
+
body = back.box({ top: 0, width: '100%', height: '100%', component: { size: 12 }, id: :poil })
|
6
|
+
code_runner = dragger.circle({ left: 3, top: 3, width: 12, height: 12, color: :red })
|
7
|
+
code_closer = dragger.circle({ left: :auto ,right: 3, top: 3, width: 12, height: 12, color: :black })
|
8
|
+
|
9
|
+
body.editor({ id: :the_ed, code: "def my_script\n
|
10
|
+
return 100\n
|
11
|
+
end", width: 333, height: 192, color: :lightgray, top: 0 })
|
12
|
+
|
13
|
+
def create_editor(code_id)
|
14
|
+
js_code = <<~JAVASCRIPT
|
15
|
+
var editor = CodeMirror.fromTextArea(document.getElementById("#{code_id}"), {
|
16
|
+
lineNumbers: true,
|
17
|
+
mode: "ruby",
|
18
|
+
theme: "monokai"
|
19
|
+
});
|
20
|
+
editor.getWrapperElement().id = "atome_editor_#{code_id}";
|
21
|
+
document.getElementById("atome_editor_#{code_id}").CodeMirrorInstance = editor;
|
22
|
+
|
23
|
+
JAVASCRIPT
|
24
|
+
JS.eval(js_code)
|
25
|
+
end
|
26
|
+
|
27
|
+
def set_code(code_id, content)
|
28
|
+
js_code = <<~JAVASCRIPT
|
29
|
+
var editorWrapper = document.getElementById("atome_editor_#{code_id}");
|
30
|
+
var editorInstance = editorWrapper.CodeMirrorInstance;
|
31
|
+
var newContent = "#{content}";
|
32
|
+
editorInstance.setValue(newContent);
|
33
|
+
JAVASCRIPT
|
34
|
+
JS.eval(js_code)
|
35
|
+
end
|
36
|
+
|
37
|
+
def get_code(code_id)
|
38
|
+
js_code = <<~JAVASCRIPT
|
39
|
+
var editorWrapper = document.getElementById("atome_editor_#{code_id}");
|
40
|
+
|
41
|
+
var editorInstance = editorWrapper.CodeMirrorInstance;
|
42
|
+
return editorInstance.getValue();
|
43
|
+
JAVASCRIPT
|
44
|
+
JS.eval(js_code)
|
45
|
+
end
|
46
|
+
|
47
|
+
create_editor("the_ed")
|
48
|
+
|
49
|
+
wait 1 do
|
50
|
+
editor_id = "the_ed"
|
51
|
+
set_code(editor_id, "def new_script\\n puts 'so cool'\\ncircle({top: rand(333), color: :red})\\nend\\nnew_script")
|
52
|
+
end
|
53
|
+
|
54
|
+
code_closer.touch(true) do
|
55
|
+
back.delete(true)
|
56
|
+
dragger.delete(true)
|
57
|
+
end
|
58
|
+
|
59
|
+
code_runner.touch(true) do
|
60
|
+
editor_id = "the_ed"
|
61
|
+
data_found = get_code("the_ed").to_s
|
62
|
+
grab(:the_t).code(data_found.to_s)
|
63
|
+
atome_before = Universe.user_atomes
|
64
|
+
eval(data_found)
|
65
|
+
code_editor = grab(editor_id)
|
66
|
+
atome_to_delete = code_editor.data
|
67
|
+
atome_to_delete.each do |atome_id_found|
|
68
|
+
grab(atome_id_found).delete(false)
|
69
|
+
end
|
70
|
+
atome_after = Universe.user_atomes
|
71
|
+
new_atomes = atome_after - atome_before
|
72
|
+
code_editor.data(new_atomes)
|
73
|
+
end
|
74
|
+
dragger.drag(restrict: :view ) do |event|
|
75
|
+
view = grab(:view)
|
76
|
+
view_width = view.to_px(:width)
|
77
|
+
view_height = view.to_px(:height)
|
78
|
+
|
79
|
+
dx = event[:dx]
|
80
|
+
dy = event[:dy]
|
81
|
+
|
82
|
+
# Calculer les nouvelles positions
|
83
|
+
x = (back.left || 0) + dx.to_f
|
84
|
+
y = (back.top || 0) + dy.to_f
|
85
|
+
|
86
|
+
# Contrainte de `x` entre 0 et `view_width`
|
87
|
+
if x > 0 && x < view_width - back.width
|
88
|
+
back.left(x)
|
89
|
+
else
|
90
|
+
# Contrainte si `x` dépasse les limites
|
91
|
+
x = [0, [x, view_width - back.width].min].max
|
92
|
+
back.left(x)
|
93
|
+
end
|
94
|
+
|
95
|
+
# Contrainte de `y` pour qu'il soit supérieur à une certaine valeur
|
96
|
+
if y > 0 + dragger.height && y < view_height + dragger.height
|
97
|
+
back.top(y)
|
98
|
+
else
|
99
|
+
# Contrainte si `y` dépasse les limites
|
100
|
+
y = [0 + dragger.height, [y, view_height + dragger.height].min].max
|
101
|
+
back.top(y)
|
102
|
+
end
|
103
|
+
end
|
104
|
+
back.resize({ size: { min: { width: 120, height: 90 }, max: { width: 3000, height: 3000 } } }) do |event|
|
105
|
+
dx = event[:dx]
|
106
|
+
# dy = event[:dy]
|
107
|
+
x = (dragger.width || 0) + dx.to_f
|
108
|
+
# y = (back.top || 0) + dy.to_f
|
109
|
+
dragger.width(x)
|
110
|
+
# back.top(y)
|
111
|
+
end
|
112
|
+
|
113
|
+
back.shadow({ alpha: 0.6, blur: 16, left: 3, top: 16 })
|
114
|
+
|
115
|
+
back.drag(false)
|
116
|
+
dragger.touch(:double) do
|
117
|
+
if back.display == :none
|
118
|
+
back.display(:block)
|
119
|
+
else
|
120
|
+
back.display(:none)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# a_list=[]
|
125
|
+
# Universe.atome_list.each do |k, v|
|
126
|
+
# a_list << k
|
127
|
+
# end
|
128
|
+
#
|
129
|
+
# alert a_list
|
130
|
+
#
|
131
|
+
# p_list=[]
|
132
|
+
# Universe.particle_list.each do |k, v|
|
133
|
+
# p_list << k
|
134
|
+
# end
|
135
|
+
#
|
136
|
+
# alert p_list
|
137
|
+
#
|
138
|
+
# box(id: :mon_carre, width: 300, height: 300)
|
139
|
+
alert "pseudo element and trigger absctrator"
|
@@ -0,0 +1 @@
|
|
1
|
+
Specific information about how to use the edit object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The edit object is used for specific purposes as indicated in the example.
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
No specific information available for the email object.
|
@@ -0,0 +1 @@
|
|
1
|
+
The purpose of the email object could not be inferred.
|