GithubHelp home page GithubHelp logo

chriscamacho / jcsgfx Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 546 KB

A frontend to JCSG which allows 3d object creation with JavaScript

License: The Unlicense

JavaScript 52.33% Java 47.67%
csg java javafx javascript stl

jcsgfx's People

Contributors

chriscamacho avatar

Stargazers

 avatar

Watchers

 avatar  avatar

jcsgfx's Issues

Add JavaScript support to JFXScad and/or VRL-Studio

First of all, thanks for using my JCSG library :)

For my personal tastes JFXScad had lots of dependencies that could be done without, additionally for me JavaScript seemed a better fit than Groovy.

My proposal: Let's add JavaScript support to JFXScad and/or the JCSG plugin for VRL-Studio.

Let me point out a few things regarding language choice and dependencies:

to embed and using Java objects in JavaScript is equally trivial...

For simpler use cases, this is mostly true.

Even though it might not be evident from the simple JFXScad IDE, the interaction between Groovy, Java and the JVM are much deeper, though. Especially the fact that the Reflection API is usable directly on Java and Groovy objects alike, and that the Groovy compiler can compile mixed *.groovy and *.java code makes it a good fit for me. I use it to automatically create interactive visualizations of the source code which actually show intermediate CSG objects. Additionally, I use Groovy AST transformation for visualization of the control- and dataflow. This is really cool stuff :)

image removed

image removed

See the video below for a demonstration:

The other dependencies that you didn't like are mostly related to advanced text editors etc. that are not used much at the moment. But eventually JFXScad will inherit these features from VRL-Studio.

I understand that it is tempting to build a new editor/front-end for your language of choice. I love such things too :) But it would be even cooler if you'd contribute JavaScript support to JFXScad or even VRL-Studio.

As an additional note, an experimental and unpublished version of JCSG uses JavaScript internally ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.