https://wiki.haskell.org/api.php?action=feedcontributions&user=Fgaz&feedformat=atomHaskellWiki - User contributions [en]2020-01-27T03:20:49ZUser contributionsMediaWiki 1.27.4https://wiki.haskell.org/index.php?title=Applications_and_libraries/Graphics&diff=62663Applications and libraries/Graphics2018-12-11T19:26:52Z<p>Fgaz: Add "shine" graphics library</p>
<hr />
<div>Dealing with graphics, drawing and graphics file formats. For information about libraries for graphical user interfaces, see [[Libraries and tools/GUI libraries|GUI libraries]].<br />
<br />
== Applications ==<br />
<br />
;[http://haskell.org/Blobs/ Blobs diagram editor]<br />
:Blobs is a diagram editor for directed graphs. It is written in Haskell, using the platform-independent GUI toolkit wxHaskell. Blobs is a front-end for drawing and editing graph diagrams.<br />
<br />
;[http://www.comlab.ox.ac.uk/ian.lynagh/Fraskell/ Fraskell]<br />
:A Haskell program that generates images of the Mandelbrot set.<br />
<br />
=== Ray tracing ===<br />
<br />
<!--<br />
;[http://www.cse.unsw.edu.au/~cgray/banky/ Banky : Monte Carlo ray tracing]<br />
:A monte carlo ray tracer in Haskell. Monte-Carlo ray-Tracing uses random and quasi-random techniques for improved image synthesis. Monte-carlo ray-tracers simulate global illumination and eliminates the ambient term. It does this using a set of random techniques to simulate an integration model of illumination, which is far more realistic.<br />
--><br />
<br />
;[[HRay]] A Haskell ray tracer<br />
:HRay, a ray tracer in Haskell. The goal is to show how elegant, short and maintainable a ray tracing implementation would be in a functional language, as opposed to an imperative or procedural language. It uses a formal model for the application, using the functional and declarative formalism Funmath <br />
<br />
;[http://benny.kramekweb.com/hrayt/ hrayt, A Haskell Raytracer]<br />
:A Haskell ray tracer in only a few hours.<br />
<br />
;[http://www.nobugs.org/developer/htrace/index.html Htrace, A Haskell Raytracer]<br />
:A 1 day raytracer.<br />
<br />
;[http://www.cs.mu.oz.au/~bjpop/code.html bjpop-ray]<br />
:A simple raytracer using wxHaskell for the GUI.<br />
<br />
;[http://groups.csail.mit.edu/graphics/classes/6.837/F99/projects/reports/team06.pdf Parallel Ray Tracing in pH]<br />
:A parallel ray tracer, using the parallel Haskell<br />
<br />
;Galois Ray Tracer from ICFP '00<br />
:A Galois Connections team submitted a ray tracer entry in Haskell in the 2000 ICFP contest<br />
<br />
;[http://www.macs.hw.ac.uk/~gnik/apset/ray_tracer.lhs A Ray Tracer for Spheres]<br />
:David King's Haskell port of an Id ray tracer from the Impala suite<br />
<br />
;[http://syn.cs.pdx.edu/~jsnow/glome Glome]<br />
:A ray tracer written by Jim Snow with a modern acceleration structure and a variety primitive types.<br />
<br />
== Libraries ==<br />
;[http://dockerz.net/software/chart.html Chart Library]<br />
: A simple library for drawing 2D charts, implemented in Haskell, using the [http://cairographics.org/ Cairo] graphics library for rendering. [http://hackage.haskell.org/package/Chart On Hackage]<br />
<br />
;[[Diagrams]]<br />
:Provides an embedded domain-specific language (EDSL) for creating simple pictures and diagrams in Haskell.<br />
<br />
;[http://hackage.haskell.org/package/funcmp Functional Metapost]<br />
:Functional Metapost is a Haskell binding for MetaPost, the powerful but cumbersome graphics language.<br />
<br />
;[http://www.conal.net/Fran/ Functional Reactive Animation]<br />
:FRAN is a Haskell library (or "embedded language") for interactive animations with 2D and 3D graphics and sound. It runs on Hugs under Windows 95 and Windows NT, using Win32 graphics (GDI).<br />
<br />
;[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/gd GD bindings]: Bindings to a small subset of the GD graphics library.<br />
<br />
;[http://hackage.haskell.org/package/gloss Gloss]:<br />
:Get some simple vector graphics on the screen with a minimum of fuss. Gloss comes with a large number of [http://code.ouroborus.net/gloss/gloss-stable/gloss-examples/ examples] in the [http://hackage.haskell.org/package/gloss-examples gloss-examples] package.<br />
<br />
;[http://hackage.haskell.org/package/gloss-raster Gloss-raster]:<br />
:Renders raster images in parallel using the Repa array library. Gloss-raster can be used as a partial replacement for the "Processing" Java library.<br />
<br />
;[http://hackage.haskell.org/package/Rasterific Rasterific]<br />
:A simple canvas-like library to draw vector graphics, tailored to in memory rendering of images, can be used as a back-end of diagrams.<br />
<br />
;[http://hackage.haskell.org/package/shine Shine]<br />
:Declarative graphics for the browser using GHCJS. Heavily inspired by Gloss<br />
<br />
;[[Grapefruit]]<br />
:Grapefruit is a library for programming graphical animations and GUIs in a declarative way. It is based on the concepts of [[Functional Reactive Programming]].<br />
<br />
;[http://www.haskell.org/haskellwiki/HaskLS L-systems]<br />
:A Haskell implementation for Lindenmayer Systems (L-systems). The goal is to implement L-systems in Haskell, and provide a way to visualize them using HOpenGL.<br />
<br />
;[http://haskell.org/haven/ Haven] (broken link)<br />
:Scalable Vector Graphics for Haskell. Portable, device-independent, resolution-independent library, including support for affine transformations, Bezier curves, fine-grained control of pen attributes, bounds and intersection tests, constructive area geometry, anti-aliased rendering, outline fonts, etc.<br />
<br />
;[http://vis.renci.org/jeff/hieroglyph/ Hieroglyph]<br />
<br />
;[http://hackage.haskell.org/package/HPlot HPLot]<br />
<br />
;[http://hackage.haskell.org/package/hps hps]<br />
: Partially implements the postscript drawing model. <br />
<br />
;[http://haskell.org/graphics/ The Hugs Graphics Library]<br />
:The Hugs Graphics Library supports 2-dimensional graphics operations, timers, mouse and keyboard actions and multiple windows. It runs on Hugs under both Win32 and X11. An earlier version was used for early prototypes of Fran.<br />
<br />
=== Pan ===<br />
<br />
;[http://www.conal.net/pan Pan]<br />
:An embedded language and highly optimizing compiler for image synthesis and transformation, based on the simple idea of images as functions over infinite, continuous 2D space. The resulting binaries can be used as PhotoShop plugins, embedded in web pages or PowerPoint, or used in an interactive standalone viewer. The compiler contains no domain-specific knowledge, so it's very extensible. See the [http://www.conal.net/pan/Gallery/ gallery] for visual examples. Currently Windows-only, but ports are encouraged.<br />
<br />
;[http://haskell.org/edsl/pansharp.html Pan#]<br />
:Pan# is a slightly re-engineered version of Pan. It uses the same compiler but used the Microsoft .NET framework instead of visual studio, making it easier to install and use. It also has a number of new features added. While Pan is embedded in Haskell, Pan# has its own Haskell-like language built in so there is no need to use other Haskell compilers. Currently Windows-only.<br />
<br />
;[http://www.acooke.org/pancito-code/ Pancito]<br />
:Pancito is a Haskell module for manipulating functional images and then saving them to disk. It was inspired by Pan.<br />
<br />
;[http://www.cse.unsw.edu.au/~sseefried/pan/index.html Panic]<br />
:A cross-platform re-implementation of Pan in Haskell using the wxWidgets GUI library and OpenGL graphics library.<br />
<br />
=== Graphics file formats ===<br />
<br />
;[http://hackage.haskell.org/package/JuicyPixels JuicyPixels]<br />
:A library for loading and writing pictures in Jpeg/Png/Gif/Tiff/Bitmap and radiance.<br />
<br />
;[http://www.alpheccar.org/en/posts/show/82 HPDF]<br />
:A small portable Haskell library to generate PDF pictures.<br />
<br />
;[http://people.cs.uu.nl/jeroen/ Functional Specification of the JPEG algorithm], and an Implementation for Free<br />
<br />
;[http://web.archive.org/web/20010606145143/www.numeric-quest.com/haskell/gd/index.html PNG and JPEG writer]<br />
: available at internet archive; cumbersome for download<br />
<br />
;[http://web.archive.org/web/20010306041706/www.numeric-quest.com/funpdf/index.html PDF writer]<br />
: available at internet archive; cumbersome for download<br />
<br />
== Three-dimensional graphics libraries ==<br />
<br />
;[[GPipe]]<br />
:A functional graphics API for programmable GPUs.<br />
<br />
;[http://lambdacube3d.wordpress.com/ LambdaCube 3D]<br />
:LambdaCube 3D is a domain specific language and library that makes it possible to program GPUs in a purely functional style.<br />
<br />
;[http://haskell.org/HOpenGL/ HOpenGL]<br />
:HOpenGL is a Haskell binding for the OpenGL graphics API (GL 2.1 / GLU 1.3) and the portable OpenGL utility toolkit GLUT.<br />
<br />
;[http://darcs.haskell.org/~lemmih/hsSDL/ hsSDL]<br />
:Contains bindings to libSDL, libSDL_gfx, libSDL_image, libSDL_mixer and libSDL_ttf.<br />
<br />
;[http://linuz.sns.it/~monge/wiki/index.php/Milfoh Milfoh]<br />
:An image to texture loading library. Use SDL_image (and a bare minimum of SDL), to load image files as OpenGL textures.<br />
<br />
<br />
{{LibrariesPage}}<br />
[[Category:Graphics]]<br />
[[Category:Libraries]]<br />
[[Category:Packages]]</div>Fgazhttps://wiki.haskell.org/index.php?title=User:Fgaz&diff=62662User:Fgaz2018-12-11T19:11:37Z<p>Fgaz: Create my user page</p>
<hr />
<div>Hi. You can read about me [http://fgaz.me/about here]</div>Fgaz