JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    an ios app that embeds jscad

    Scheduled Pinned Locked Moved General Discussions
    9 Posts 3 Posters 2.7k Views 2 Watching
    Loading More Posts
    • 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.
    • samuelwang48S Offline
      samuelwang48
      last edited by samuelwang48

      Hello all,

      Here comes another project featuring JSCAD in the production. Available on iOS.
      I am the author of this little app. Just want to let you all know my appreciation towards this cool library. Really glad to be a part of this community.

      In addition to that, I am working on a new set of models featuring polyhedra from http://dmccooey.com/polyhedra/index.html
      Hopefully I can attract more kids to learning math and programming.

      Thank you.

      Two screenshots
      On iPad
      12.9in_3_v2.3.jpg

      On iPhone
      6.5in_4_v2.3.jpg

      gilboonetG 1 Reply Last reply Reply Quote 3
      • z3devZ Offline
        z3dev
        last edited by

        @samuelwang48 WOW! I'm stunned. This is such a cool application!

        I (and probably others) would like to know how you managed to put this together. Where did you start? What tools did you use? What other libraries did you use?

        samuelwang48S 1 Reply Last reply Reply Quote 0
        • samuelwang48S Offline
          samuelwang48 @z3dev
          last edited by

          Thanks @z3dev for the compliments. I am flattered.

          It is a slush of all sorts, or a fusion to put it nicely. It is designed to be a tool to learn programming for kids and it must not rely on any peripheral hardware through bluetooth. Then a simulation is required. I went for Unity and C# and an interpreter to compile JS in memory as opposed to Unreal which would be a clear overkill for me to maintain. However it is a shame that I could not offer shader programming to kids as I am not able to compile shader at runtime.

          Underlying part is implemented in swift language, such as wss, webrtc, webkit and unity messaging so it would allow messaging possible between devices across different networks and frameworks. With this app, you can program on iPad and render on iPhone via webRTC instantly to brag about your work in front of other kids šŸ™‚ It would also allow me to deliver course in a server/client manner such as presenting TLS or asymmetric encryption/decryption and etc.

          The screen you are looking at is an iOS WkWebView housing an Angular application, typescript of course. I didn't favor Redux or React. I chose Angular+Observable to handle most events and messaging. I also used Google Blockly as the underlying block coding IDE base.

          gilboonetG 1 Reply Last reply Reply Quote 0
          • gilboonetG Offline
            gilboonet @samuelwang48
            last edited by

            @samuelwang48 Your work is really great. About shaders, maybe this project could help you https://shadered.org/

            1 Reply Last reply Reply Quote 1
            • gilboonetG Offline
              gilboonet @samuelwang48
              last edited by

              @samuelwang48 About regular polyhedrons, long ago I made functions using them, but didn't translate them for V2, they can be seen here :
              https://3d.hrg.hr/jscad/V1/#https://raw.githubusercontent.com/gilboonet/designs/master/polyhedrons.jscad

              https://github.com/gilboonet/designs/blob/master/polyhedrons_archimede.jscad

              https://github.com/gilboonet/designs/blob/master/polyhedrons_catalan.jscad

              https://github.com/gilboonet/designs/blob/master/polyhedrons_platon.jscad

              samuelwang48S 1 Reply Last reply Reply Quote 1
              • samuelwang48S Offline
                samuelwang48 @gilboonet
                last edited by

                @gilboonet hi, thanks! That's good to know that some great works have already been done. However, my aim is to use some AST parser to transform vertex math, vertices and faces info into XML so they can be fed into Google Blockly for kids to tweak polyhedron by drag-and-drop.

                I am half way through. Will share my work once it's in production.

                1 Reply Last reply Reply Quote 0
                • samuelwang48S Offline
                  samuelwang48
                  last edited by

                  Screen Shot 2022-03-04 at 16.45.23.png

                  Screen Shot 2022-03-04 at 16.46.43.png

                  Hi all, earlier I've mentioned that I was working on a collection of JSCAD code snippets featuring fancy polyhedra (sourced from David I. McCooey's website) and it has been released into production.

                  There is NO paywall in front of these learning resources in order to benefit math, programming and CAD learners. Attributions, credits and references are given to all the contributors. Thank you JSCAD team!

                  z3devZ 1 Reply Last reply Reply Quote 0
                  • z3devZ Offline
                    z3dev @samuelwang48
                    last edited by

                    @samuelwang48 Is there a way to download the application now? I’d really like to play with this, and review some of those cool looking polygons.

                    samuelwang48S 1 Reply Last reply Reply Quote 0
                    • samuelwang48S Offline
                      samuelwang48 @z3dev
                      last edited by

                      @z3dev hi, yes, it can be found in Apple App Store if you search for "Rukkou". Or use this link directly on a Mac OS. Do let me know your feedbacks šŸ™‚

                      1 Reply Last reply Reply Quote 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
                      • First post
                        Last post
                      Powered by NodeBB | Contributors