Set Brush Stroke Color dynamically with JavaScript, CSS or PHP

  • 状态: Closed
  • 奖金: $35
  • 参赛作品已收到: 3
  • 获胜者: postvignesh

竞赛简介

I need a piece of code that will change the color of the paintbrush stroke dynamically by providing the color in hex or RGB format.
The texture of the stroke should be preserved. Please see the attachments for the examples of the expected results. The file stroke-original.png must be used for the stroke.
I don't need any kind of user interface as long as I can set the color value programmatically.
The code can be written in either HTML/Javascript/CSS for client-side or PHP if you want to have it done on the server-side. Keep in mind that cross-browser compatibility is a must!
Please free to contact me with any questions.
Thanks

您还可能感兴趣的技能

雇主反馈

“Fast and effective!”

个人主页照片 ashevillemnt, United States.

公共说明面板

  • postvignesh
    postvignesh
    • 5 年 之前

    The paintbrush is nothing but the mouse pointer right? Oh also the surface under mouse pointer will be an image(like the .png) supplied in the contest information

    • 5 年 之前
    1. postvignesh
      postvignesh
      • 5 年 之前

      so you want to extract the color from the image supplied?

      • 5 年 之前
    2. ashevillemnt
      竞赛主办者
      • 5 年 之前

      No, I need to be able to change the brush stroke image color by defining color programmatically. Let say you have an html file with the supplied stroke-original.png image. If you set variable for color as "#48ABE2", the image should look like stroke-blue.png Everything should be done on the fly without Photohop or any image editing software.

      • 5 年 之前
  • ivanbkovacevic
    ivanbkovacevic
    • 5 年 之前

    Hello, I find solution. How can I send you example?

    • 5 年 之前
    1. ashevillemnt
      竞赛主办者
      • 5 年 之前

      Hello, please send couple screenshots first. If results are satisfactory, you can then message me with the link of the working example or some explanations. Thanks!

      • 5 年 之前

显示更多评论

如何以竞赛开始

  • 发布您的竞赛

    发起您的竞赛 快速简单

  • 获取众多参赛作品

    获取大量参赛作品 来自世界各地

  • 悬赏最佳参赛作品

    悬赏最佳参赛作品 下载文件-简单!

立即发布竞赛 或者立即加入我们!