sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Color Sensor

    scheduled pinned locked moved SketchyPhysics
    5 Posts 3 Posters 601 Views 3 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • P Offline
      Physicsguy1
      last edited by

      I highly doubt it is possible, but i would love to see a color sensor. One that outputs a variable depending on the color. maybe it could sense the object color beneath the object?

      one-reply-to-this-post last-reply-time reply quote 0
      • P Offline
        Physicsguy1
        last edited by

        Here is an example of what i want it to do, without the complicated mechanics behind the movement.


        example.skp

        one-reply-to-this-post last-reply-time reply quote 0
        • MALAISEM Offline
          MALAISE
          last edited by

          Hi =Physicsguy= 👍

          Color sensor's idea is very interesting. I had suggested a similar idea using a mechanical sensor (switch). The question is: how to read this sensor information and link it to drive motor, hinge.... ?

          Ps: may be a full colour spectrum ( I mean RGB coding) could be used, we could see the box rotates according
          a colour's law angle. Black : 0, full White :255 -> 90°.

          MALAISE

          La Connaissance n'a de valeur que partagée

          one-reply-to-this-post last-reply-time reply quote 0
          • C Offline
            CPhillips
            last edited by

            Color detection probably isnt going to happen. But it is possible that (in a future version) you could tag an object as "red" or whatever and then do something based on that color.

            So in your example you could put a nocollison cube on the bottom. Then if it was touching the black or white squares the onTouch could do something.

            one-reply-to-this-post last-reply-time reply quote 0
            • C Offline
              CPhillips
              last edited by

              @malaise said:

              Hi =Physicsguy= 👍

              Color sensor's idea is very interesting. I had suggested a similar idea using a mechanical sensor (switch). The question is: how to read this sensor information and link it to drive motor, hinge.... ?
              MALAISE

              Mechanical sensors are now possible if you use an object with an onTouch field.

              one-reply-to-this-post last-reply-time reply quote 0
              • 1 / 1
              • first-post
                last-post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement