Skip to content

Macroz/brute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brute

brute lets you to plot it simple stupid.

Usage

(:use [brute.core])
(spit "example/20.svg" (plot {:fill "black"} (repeatedly 200 #(- (rand) 0.5))
                             {:fill "green" :opacity "0.5"} (repeatedly 20 #(- (rand) 0.5))))

20.svg

(spit "example/800.svg" (plot {} (repeatedly 800 #(- (rand) 0.5))))

800.svg)

(spit "example/signal.svg"
      (plot {} (take 1280 signal)
            {:fill "#393" :opacity 0.5} (average 1024 (take 1280 signal))))

signal.svg

License

Copyright © 2015 Markku Rontu

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Plot It Simple Stupid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published