Skip to content

About

Examples for Clojure2d

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples for Clojure2D

200+ examples for Clojure2d library

WARNING

Code is during refactoring to conform current Clojure2d and Fastmath releases.

Currently works:

  • examples 00-42
  • funprogramming
  • quil
  • NOC/introduction

How to run?

Treat them as scripts.

In Emacs/Cider: C-c C-k

For Emacs, turn on IImage mode to see inlined images.

List of examples

  • ex00 - Hello World! - basic script
  • ex01 - display window and process basic events (key and mouse)
  • ex02 - simulate Processing draw() function
  • ex03 - simple generative example
  • ex04 - noise functions visualization
  • ex05 - particle drawing
  • ex06 - noise generative examples
  • ex07 - more noise
  • ex08 - folds code (http://folds2d.tumblr.com/)
  • ex09 - curvature from noise (https://generateme.wordpress.com/2016/05/04/curvature-from-noise/)
  • ex10 - second variant of curvature
  • ex11 - pixel filters and image blending (composing)
  • ex12 - 3 overlays
  • ex13 - image segmentation example
  • ex14 - metaballs animation (https://gist.github.com/yogthos/3411106)
  • ex15 - colorspace converters + equalize histogram
  • ex16 - signal processing, sonification examples
  • ex17 - generative grids
  • ex18 - wave generator visualizations
  • ex19 - glitch filters: slitscan, channels shift, mirror image
  • ex20 - color reduction examples
  • ex21 - Pickover's popcorns
  • ex22 - ray-marching 3d example
  • ex23 - ray-marching 3d example (using SDF ray marching functions from extra/raymarching namespace)
  • ex24 - triangle stripe
  • ex25 - Gaussian Free Field
  • ex26 - FreeArt-Source live coding result (http://subsite.hr/2017/03/performans-silent-coding-u-okviru-izlozbe-free_art_-_source/)
  • ex27 - color palette generator
  • ex28 - double pendulum (with https://github.com/littleredcomputer/sicmutils/blob/master/src/sicmutils/examples/double_pendulum.clj)
  • ex29 - 2d chaotic maps
  • ex30 - random or low discrepancy sequences
  • ex31 - wavy lines
  • ex32 - harmonograms on noise (accumulation bins rendering)
  • ex33 - interpolations / easings
  • ex34 - ducks and kalisets explorer
  • ex35 - mandelbrot and julia explorer
  • ex36 - spirograph
  • ex37 - Fractal Bestiary explorer
  • ex38 - oldschool demescene effect: xor circles
  • ex39 - oldschool demoscene effect: tunnel
  • ex40 - oldschool demoscene effect: fire
  • ex41 - folds on lines
  • ex42 - folds on strings
  • ex43 - noise forms
  • ex44 - rosettes / diatoms
  • ex45 - scalar fields from vector fields
  • NOC - Nature of Code Clojure2d version. Most interesting:
    • ch02/attraction-many-2-7.clj
    • ch02/fluidresistance-2-5.clj
    • ch02/forces-mutual-attraction-boundaries.clj
    • ch03/excercise-cannon-3-2.clj
    • ch03/exercise-additive-wave-3-9.clj
    • ch04/particlesystemsmoke-4-8.clj
    • ch06/flocking-6-9.clj
    • ch06/flowfield-6-4.clj
    • ch07/gameoflifesimple-7-2.clj
    • ch07/wolframca-figures-7-1.clj
    • ch08/treestochastic-8-7.clj
    • ch08/lsystem-8-9.clj
    • ch08/treestochasticnoise-8-10
  • quil - Quil examples ported to Clojure2d
  • GG - Generative Design examples ported to Clojure2D
  • funprogramming - funprogramming examples from creative coding tutorials by Abe Pazos

How to contribute

If you prepared new script and want to share - generate pull request or send to to: [email protected]

About

Examples for Clojure2d

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages