clojurebridge / drawing Goto Github PK
View Code? Open in Web Editor NEWExperimental capstone app for ClojureBridge curriculum using Quil
Experimental capstone app for ClojureBridge curriculum using Quil
Running the command lein new quil drawing
creates a project. When running lein deps
in this drawing project, warnings are generated
~/p/clojure➜ lein new quil drawing-test
Generating fresh 'lein new' quil project.
~/p/clojure➜ cd drawing-test
~/p/c/drawing-test➜ lein deps
WARNING!!! version ranges found for:
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [org.clojure/clojure "[1.3.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [net.cgrand/regex "1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [net.cgrand/parsley "0.9.1"] -> [org.clojure/clojure "[1.2.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [net.cgrand/parsley "0.9.1"] -> [net.cgrand/regex "1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].
This seems to be an issue with Quil version 2.2.5 and Clojure 1.6. Edit the project.clj
file and either change the quil dependency to 2.2.4 or add :exclusions [org.clojure/clojure]
to the dependency entry for quil 2.2.5
(defproject drawing-test "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[quil "2.2.5" :exclusions [org.clojure/clojure]]])
Or simply clone the existing repository, rather than create your own project with Leiningen.
Thank you
The capstone lab currently introduce a lot of useful concepts and is mostly well organized but unfortunately many of these concepts are not introduced by the ClojureBridge curriculum. My students were caught off guard by:
ref
for
doseq
dotimes
dosync
@
)Add examples of types of sketches. Maybe just use some of these:
... to match curriculum et al
Thinking of renaming this now that we're doing something with lines. But I'll leave the circles example in there and may add others.
So... shapes? Or is that too boring? Any other suggestions @yokolet?
Like the curriculum narrative in
ClojureBridge/curriculum
Need a shorter version of https://github.com/ClojureBridge/curriculum/blob/master/outline/first-program.md
In the "Making Your First Program" page we say:
It helps Leiningen answer questions like, "What dependencies does this project have?"
but I don't think we've explained anywhere what we mean by this piece of jargon. Beneath that we say:
This uses a Clojure library, Quil, that creates drawings called sketches.
Maybe instead of "dependencies" we should say:
It helps Leiningen answer questions like, "What libraries does this project need?"
At the Austin workshop, one or two folks missed the "Modify Project" section of first-program.md
and thought that they should be editing the original core.clj
file in some way.
Writing this issue while I'm at the workshop, so I'm being brief, but we should brainstorm a way to make that section clearer and/or more prominent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.