vendor/assets/application/examples/clear.rb in atome-0.5.7.3.6 vs vendor/assets/application/examples/clear.rb in atome-0.5.7.3.9

- old
+ new

@@ -16,68 +16,68 @@ # here are the list of system atomes created at system startup : #Atome.new( -# { renderers: [], id: :eDen, type: :element, tag: { system: true }, attach: [], attached: [] } +# { renderers: [], id: :eDen, type: :element, tag: { system: true }, attach: [], fasten: [] } # ) # Atome.new( # { renderers: [], id: :user_view, type: :element, tag: { system: true }, -# attach: [:eDen], attached: [] } +# attach: [:eDen], fasten: [] } # ) # # # color creation # Atome.new( # { renderers: default_render, id: :view_color, type: :color, tag: ({ system: true, persistent: true }), -# red: 0.15, green: 0.15, blue: 0.15, alpha: 1, top: 12, left: 12, diffusion: :linear, attach: [], attached: [] } +# red: 0.15, green: 0.15, blue: 0.15, alpha: 1, top: 12, left: 12, diffusion: :linear, attach: [], fasten: [] } # ) # # Atome.new( # { renderers: default_render, id: :shape_color, type: :color, tag: ({ system: true, persistent: true }), -# red: 0.4, green: 0.4, blue: 0.4, alpha: 1, attach: [], attached: [] } +# red: 0.4, green: 0.4, blue: 0.4, alpha: 1, attach: [], fasten: [] } # ) # # Atome.new( # { renderers: default_render, id: :box_color, type: :color, tag: ({ system: true, persistent: true }), -# red: 0.5, green: 0.5, blue: 0.5, alpha: 1, attach: [], attached: [] } +# red: 0.5, green: 0.5, blue: 0.5, alpha: 1, attach: [], fasten: [] } # ) # # Atome.new( # { renderers: default_render, id: :invisible_color, type: :color, tag: ({ system: true, persistent: true }), -# red: 0, green: 0, blue: 0, alpha: 1, attach: [], attached: [] } +# red: 0, green: 0, blue: 0, alpha: 1, attach: [], fasten: [] } # ) # # Atome.new( # { renderers: default_render, id: :text_color, type: :color, tag: ({ system: true, persistent: true }), -# red: 0.9, green: 0.9, blue: 0.9, alpha: 1, attach: [], attached: [] } +# red: 0.9, green: 0.9, blue: 0.9, alpha: 1, attach: [], fasten: [] } # ) # # Atome.new( # { renderers: default_render, id: :circle_color, type: :color, tag: ({ system: true, persistent: true }), -# red: 0.6, green: 0.6, blue: 0.6, alpha: 1, attach: [], attached: [] } +# red: 0.6, green: 0.6, blue: 0.6, alpha: 1, attach: [], fasten: [] } # ) # # # system object creation # # the black_matter is used to store un materialized atomes # Atome.new( # { renderers: default_render, id: :black_matter, type: :shape, attach: [:user_view],apply: [], -# left: 0, right: 0, top: 0, bottom: 0, width: 0, height: 0, overflow: :hidden, tag: { system: true }, attached: [] +# left: 0, right: 0, top: 0, bottom: 0, width: 0, height: 0, overflow: :hidden, tag: { system: true }, fasten: [] # }) # # # view port # Atome.new( # { renderers: default_render, id: :view, type: :shape, attach: [:user_view], apply: [:view_color], # tag: { system: true }, -# attached: [], left: 0, right: 0, top: 0, bottom: 0, width: :auto, height: :auto, overflow: :auto, +# fasten: [], left: 0, right: 0, top: 0, bottom: 0, width: :auto, height: :auto, overflow: :auto, # } # # ) # # # unreal port, hold system object and tools # Atome.new( # { renderers: default_render, id: :intuition, type: :shape, attach: [:user_view], tag: { system: true }, -# left: 0, top: 0, width: 0, height: 0, overflow: :visible, attached: [],apply: [] +# left: 0, top: 0, width: 0, height: 0, overflow: :visible, fasten: [],apply: [] # } # ) # # machine_id = :dummy_machine # # attention we must used two separate pass to avoid the password to be encode twice @@ -90,7 +90,7 @@ # # # default_user.set_current_user(:anonymous) # Universe.current_machine = machine_id # # the constant A is used to access alla atomes methods # A = Atome.new( -# { renderers: default_render, id: :atome, type: :element, tag: { system: true }, attach: [], attached: [] } +# { renderers: default_render, id: :atome, type: :element, tag: { system: true }, attach: [], fasten: [] } # ) \ No newline at end of file