We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Can the “create canvas” puzzle source from html pages?

Home Forums Puzzles Can the “create canvas” puzzle source from html pages?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #29985
    GlifTekGlifTek
    Licensee

    Hi,
    Can you use the “create canvas” puzzle to have interactive html5 canvas pages mapped onto our 3d object geometry faces?

    Thanks

    #30058

    Hi,
    Why not, you can draw anything to that canvas!

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #30423

    “create canvas. I don’t know how to create it, I can’t find it in Puzzles.

    #30427
    Yuri KovelenovYuri Kovelenov
    Developer

    “create canvas. I don’t know how to create it, I can’t find it in Puzzles.

    it is included in the 3.3 preview build

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #30438
    GlifTekGlifTek
    Licensee

    “create canvas. I don’t know how to create it, I can’t find it in Puzzles.

    Hi Robinson,
    It’s in the HTML Puzzles group.

    #30439
    GlifTekGlifTek
    Licensee

    Hi, Why not, you can draw anything to that canvas!

    Can you include an example project app with the canvas puzzle working please?

    I have copied the example js in the manual and have no successful results.
    Thanks! :wacko:

    #30599
    GlifTekGlifTek
    Licensee

    i have it working.

    .

    i’ts on the corner.

    • This reply was modified 1 month, 4 weeks ago by GlifTekGlifTek.
    #30606
    GlifTekGlifTek
    Licensee

    what’s the correct method of implementing canvg.js, path2d, or fabric.js to just.. simply.. have an SVG file read, and put to the canvas?
    tried all three and got them working on their own.. just not with verge.

    even the simplest method wont work.

    i’m trying:

    where my HTML has:

    <object data="./mySVGimage.svg" type="image/svg+xml" id="SVGimage" ></object>

    i have my myapp.js called AFTER that line so it’s defined.. but still isn’t… if it’s not that problem, it’s another.
    this should be more simple than how I’m construing it i think…
    :-(

    #30617
    GlifTekGlifTek
    Licensee

    trying this… witch SHOULD work..

    but i get this new error…with the usual lazy initiation … new one being KHR…

    :wacko:

    #31526
    GlifTekGlifTek
    Licensee

    any . ideas?

    #31539
    Yuri KovelenovYuri Kovelenov
    Developer

    KHR_parallel_shader_compile extension is a warning that should not affect the app.

    image.src = svgElement;

    I’m not sure if you can assign an HTML element simply as src of an image.
    You might look here for possible methods of drawing SVG on canvas:

    How to draw SVG on HTML 5 Canvas and why you might want to

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31564
    GlifTekGlifTek
    Licensee

    KHR_parallel_shader_compile extension is a warning that should not affect the app.
    image.src = svgElement;
    I’m not sure if you can assign an HTML element simply as src of an image. You might look here for possible methods of drawing SVG on canvas:

    How to draw SVG on HTML 5 Canvas and why you might want to

    <iframe class=”wp-embedded-content” sandbox=”allow-scripts” security=”restricted” title=”“How to draw SVG on HTML 5 Canvas and why you might want to” — Java PDF Blog” src=”https://blog.idrsolutions.com/2012/09/how-to-draw-svg-on-html-5-canvas-and-why-you-might-want-to/embed/#?secret=krBmpdegZz&#8221; data-secret=”krBmpdegZz” width=”600″ height=”421″ frameborder=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no”></iframe>

    Getting svg to canvas is no problem.

    I’m focused on getting ANY image format drawn on the canvas produced with the puzzle.

    Let’s talk on it at this discussion…

    Going on three weeks of attempted functionality here…

    Link to discussion thread..

    Thanks!

    #31578
    Yuri KovelenovYuri Kovelenov
    Developer

    answered there!

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.