Helios Torch

Material app for setting the intensity and area of light. It acts like a torch, the area where you are walking is lighting up.
In this image there are two different versions, the one I full developed is at the right side. All the interaction are reflected in the circle (area/intensity of light) and you can pan and pinch with your fingers in any part of your smart phone screen xD.

Helios_Torch_by_gengns

Helios Torch is a class of Helios sensor. All sensor are included and automatic detected in the Helios Sensor full app.

Circle area defined by mouse click and going further with Hammer.js events

In the first example we are going to define the area of a circle depending on where we click within a box area. We can handle this using JavaScript events, a little bit of basic maths and CSS.

In the second example we are going to define the area using Hammer.js which helps us to add support for touch and muti-touch gestures. In this case you can pinch in and pinch out with your fingers to define the area (you can use an horizontal pan as well) and you can do a vertical pan movement with your finger to change the saturation of the circle.

If you are in a multi-touch device you can pinch and pan with your fingers, if not use horizontal and vertical pan with your mouse. The events will be catched inside and outside of the black box.

Editable Selection Box

There is not any specific HTML tag to let you edit and select, we just have input tags and select tags but we can combine them and even more we can define our own icon/button for the select box. The trick here is to launch an event to show up our options from our hidden selection box.

You can adjust the options style, however in mobile apps the select options will be shown by an internal widget of the system.

Updated: you can use an input list with its datalist (Autocomplete dropdown)