Comments on: Processing JS WordPress Plugin http://www.keyvan.net Wed, 12 Nov 2014 19:46:41 +0000 hourly 1 By: Malcolm Brooks http://www.keyvan.net/code/processing-js/comment-page-2/#comment-613500 Wed, 12 Nov 2014 19:46:41 +0000 http://www.keyvan.net/?page_id=637#comment-613500 Keyvan… Greetings from Maine, USA. Thanks so much for your plugin ….Malcolm Brooks

]]>
By: Milena http://www.keyvan.net/code/processing-js/comment-page-2/#comment-418211 Tue, 03 Dec 2013 22:53:36 +0000 http://www.keyvan.net/?page_id=637#comment-418211 Omg thank you so much for this programm! I wasn’t able to get the processing code via html into my web and it’s a college project.
You’re a savior! Imma donnate when I can :)

]]>
By: David http://www.keyvan.net/code/processing-js/comment-page-2/#comment-405721 Sun, 03 Nov 2013 23:48:27 +0000 http://www.keyvan.net/?page_id=637#comment-405721 I’m having trouble using images. I’ve written a little program with a one-line setup that calls size(), and a tiny draw that clears the background and draws a rectangle. That works fine. If I then put a @pjs directive at the top to pre-load an image (e.g., /* @pjs preload=”picture.jpg”; */), then suddenly there’s no canvas, no graphics, nothing except the HTML that was around my code. I’ve tried variations on the path ranging from absolute pathnames starting with http: all the way down to the purely local path as above. I’ve tried putting my pictures in wp-content/uploads and into a separate folder at the top of the WordPress installation. Nothing works. I’ve not been able to find a single example where this is done successfully in WordPress. Any advice would be greatly appreciated! I’m using Processing.js 1.4.1 and WordPress 3.7.1.

]]>
By: Processing.js : Integrer processing dans un site web | Tuto processing http://www.keyvan.net/code/processing-js/comment-page-2/#comment-389957 Wed, 11 Sep 2013 17:58:50 +0000 http://www.keyvan.net/?page_id=637#comment-389957 […] vous souhaitez afficher vos sketch un peu partout je vous recommande d’utiliser le plugin processing JS qui installe la librairie processing.js pour vous et vous donne acces a un shorcode dans vos page […]

]]>
By: Keyvan http://www.keyvan.net/code/processing-js/comment-page-2/#comment-370975 Mon, 15 Apr 2013 11:12:42 +0000 http://www.keyvan.net/?page_id=637#comment-370975 Hi Gael, glad you found it useful. And thanks for the report about preview mode not displaying your sketch. I’ve noticed this too. I think the reason is due to a security feature built into Chrome. See http://stackoverflow.com/questions/1547884/refused-to-execute-a-javascript-script-source-code-of-script-found-within-reque

I’ll have to see what I can do to prevent this. As you say, reloading the page after hitting preview should work.

]]>
By: Embedding a Processing.js sketch in a WordPress page | Gaël Jaffrain http://www.keyvan.net/code/processing-js/comment-page-2/#comment-370937 Sun, 14 Apr 2013 22:17:37 +0000 http://www.keyvan.net/?page_id=637#comment-370937 […] I used the Processing JS plugin, written by Keyvan Minoukadeh. You can get it from this location : http://www.keyvan.net/code/processing-js/ […]

]]>
By: Gael http://www.keyvan.net/code/processing-js/comment-page-1/#comment-370061 Wed, 03 Apr 2013 00:27:03 +0000 http://www.keyvan.net/?page_id=637#comment-370061 Hi,

Great small plugin, it will be useful for me as I am writing some image processing tutorials using Processing.js, on my WP blog.

I currently have blog pages and processing.js sketches pages, now I can combine both.

I had an issue when trying your plugin, because I was testing in “preview” mode. The fix was simply to reload the preview (FYI, I am using Chrome 26.0.1410.43 on MacOS 10.7.5).

]]>
By: Las feministas somos lo máximo « ESTE BLOG NON TEN XEITO http://www.keyvan.net/code/processing-js/comment-page-1/#comment-369551 Mon, 25 Mar 2013 11:22:55 +0000 http://www.keyvan.net/?page_id=637#comment-369551 […] Tomé esta frase para hacer un pequeño sketch utilizando el plugin de Processing.js  para wordpress. […]

]]>
By: Keyvan http://www.keyvan.net/code/processing-js/comment-page-1/#comment-363246 Tue, 29 Jan 2013 12:29:57 +0000 http://www.keyvan.net/?page_id=637#comment-363246 Hi Lina, thanks for the update. I hope you managed to get a sketch up and running.

I should point out that I’m not a Processing expert. This plugin is simply intended to offer an easy way to get Processing sketches up and running in WordPress using the hard work of the Processing.JS team. I’m not a member of that team, and have had no involvement in creating Processing.JS itself.

About your question, I’m not familiar with either of those plugins so I can’t offer much help. I had a quick look at the Contact Form DB page and noticed there was mention of accessing the saved data as JSON. If I were doing this, I’d try to load this data as JSON and then access it inside your Processing sketch.

There’s an example you might find useful: http://processingjs.org/articles/PomaxGuide.html#json – In this example the data is not loaded in the Processing code itself. Instead a method is provided in the Processing code (addPoint) to allow the data to be inserted into the sketch. Regular JavaScript is then used to grab an instance of the Processing sketch, load the JSON data, loop through it and call the Processing method to add the data into the sketch. I haven’t tried doing this using this plugin.

]]>
By: LM http://www.keyvan.net/code/processing-js/comment-page-1/#comment-363234 Tue, 29 Jan 2013 11:10:49 +0000 http://www.keyvan.net/?page_id=637#comment-363234 Hello again,

I thought since you were the processing go to guy I’d just ask you this question, feel free to tell me its not something you do.

I’m using a Fast Secure Contact Form plugin to acquire a certain amount of data from users, this data is being saved to a database using their sister plugin Contact Form DB.

I was wondering if you could direct me to a quick and easy way to use the data on that data base in processing sketches that would be posted to my site..

Thanks in advance!

Lina

]]>