Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Integrate .pde files (Processing)

Integrate .pde files (Processing)

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    K
    kanouu1
    wrote on last edited by
    #1

    Hello!

    I am not an expert in coding but I had some fun with Processing and now I want to integrate my sketches to Laytheme.

    I followed these instructions (http://hartleyhacks.com/programming/how-to-insert-processing-sketches-into-wordpress-posts/) to integrate my .pde file to Wordpress; my sketches does not appear on the image library but this is not an issue.

    To integrate processing files the .pde needs to be associated to a .js application called "processing.min.js" which it cannot be uploaded with Laytheme, for security reasons it says.

    As I read this page (http://laytheme.com/documentation.html#custom-javascript) I am not sure if I have to copy and paste the content of this .js file in the "custom <head> content". What do you think? Do you have any piece of advice to import this "processing.min.js file ?

    Thank you,
    Nina

    1 Reply Last reply
    0
    • K
      K
      kanouu1
      wrote on last edited by
      #2

      Actually, I think I managed this point by uploading the pocessing.js file which is more heavy I think but should work.

      My concern is now in this point, where I have "to switch from ‘Visual’ to ‘Text’ in order to enter code". How can I do this with Laytheme ?

      Thank you,
      Nina

      1 Reply Last reply
      0
      • mariusjopenM
        mariusjopenM
        mariusjopen
        Global Moderator
        wrote on last edited by
        #3

        Dear @kanouu1
        in a text-element you can switch to HTML as well you can make an HTML element.
        But I am not sure what the PDE library needs and how it will be integrated.
        Can you show what you already have?

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • K
          K
          kanouu1
          wrote on last edited by
          #4

          Hello Marius,

          Thank you for your answer.

          I try to make it on this page : http://www.ninadelevaque.com/processing but there is just a blank where my canvas is suppose to be.

          I added my .pde and processing.js files thanks to Mime Type Setting plugin.

          Maybe I can translate my .java sketches to .js and paste them directly to my page ?

          Thanks,
          Nina

          1 Reply Last reply
          0
          • mariusjopenM
            mariusjopenM
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Dear @kanouu1
            we have not much experience with integrating Processing sketches into LayTheme.
            What you need to look into is for sure this:
            http://laytheme.com/documentation.html#custom-javascript

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            I
            itsbadjujuju
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search