Are there any drawing plugins for RoR or jQuery?

I am writing a web application using Ruby on Rails. In one form, users will need to draw something with the mouse and apply text to the object with some text. In short, I need

  • Simple paint, like an application on which I can draw with the mouse.
  • Write plain text.
  • Save the colored chart as a file for later editing.
  • Export the painful chart as a gif / jpeg image.

An example can be found at http://charles-harvey.co.uk/examples/paint/ . Here are my questions:

  • Are there any RoR plugins that allow me to add a drawn object to the form?
  • If there are no jQuery plugins that have a simple drawing application that I can include on rails?
  • Other pointers?

I can write a simple canvas application, but I am in a very tight deadline and prefer to use what has already been verified.

PS: I found a link for such an application, but forgot to tag it.

+4
source share
3 answers

I am looking for something similar - today I came across this site that looks useful:

http://detexify.kirelabs.org/classify.html

+4
source
  • I do not know about drawing plugins. This question is better in the Rails forums.
  • http://caimansys.com/painter/ here you can download the source code :)
  • I hope I can help u
+3
source

There was a good example of using jquery on this blog: http://motyar.blogspot.com/2010/01/draw-with-jquery.html

0
source

Source: https://habr.com/ru/post/1286452/


All Articles