Giter Club home page Giter Club logo

clj-processing's Introduction

           _,.-----.,_
        ,-~           ~-.
      ,^___           ___^.
     /~"   ~"   .   "~   "~\
    Y  ,--._    I    _.--.  Y
    | Y     ~-. | ,-~     Y |
    | |        }:{        | |
    j l       / | \       ! l
 .-~  (__,.--" .^. "--.,__)  ~-.
(           / / | \ \           )
 \.____,   ~  \/"\/  ~   .____,/
  ^.____                 ____.^
     | |T ~\  !   !  /~ T| |
     | |l   _ _ _ _ _   !| |
     | l \/V V V V V V\/ j |
     l  \ \|_|_|_|_|_|/ /  !
      \  \[T T T T T TI/  /
       \  `^-^-^-^-^-^'  /
        \               /
         \.           ,/
           "^-.___,-^"

clj-processing's People

Contributors

automata avatar ilya-epifanov avatar llasram avatar rosado avatar samaaron avatar technomancy avatar tylergreen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

clj-processing's Issues

new applet interface breaks mouse example

When I try to run the mouse example I get this error:

Exception in thread "Animation Thread" clojure.lang.ArityException: Wrong number of args (0) passed to: mouse-example$mouse-moved

When using width getting ClassCastExceptions

While converting Daniel Shiffman's PVector example to Clojure I keep running into:

rosado.processing$width cannot be cast to java.lang.Number

Not sure if I'm running in to my own Clojure ignorance or something else. The offending code looks like:

(rect 0 0 width height))

Also ran into it when doing comparisons of the width to a var I set.

build.xml should include rosado.properties file for jar

Modify build.xml to have...

otherwise i get
...
Caused by: java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:418)
at java.util.Properties.load0(Properties.java:337)
at java.util.Properties.load(Properties.java:325)
at rosado.processing$eval__758.invoke(processing.clj:904)
at clojure.lang.Compiler.eval(Compiler.java:4642)
... 31 more

*applet* needs to be dynamic

... or it basically won't work with clojure 1.3. Don't know if there are any other vars that are affected by the change.

OpenGL Support

I've not been able to get the OpenGL support working - what did you mean by "run ant" in the Readme?

I've tried adding all the extra Processing jars to the Classpath and adding the dynamic lib dir to the java.library.path but I just get:

Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: Could not initialize class com.sun.opengl.impl.macosx.MacOSXGLDrawableFactory

Perhaps this is just Mac specific?

Anyway, it would be good to get OpenGL support out of the box. The new native lib support in lein should make it possible to handle it all with lein and maven rather than having to handcode extra JVM params. I just need to get it running manually and locally first.

I'm happy to put the work into the lein part. I've already been hacking on Processing quite a bit: https://github.com/samaaron/clj-processing/commits/docstrings (which may or may not be to your liking) whilst working through the Generative Art book: https://github.com/samaaron/gen-art

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.