GithubHelp home page GithubHelp logo

shamansir / elm-fluxus Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 259 KB

In Progress: A try to move http://pawfal.org/fluxus to Elm and WebGL

Elm 100.00%
elm functional-programming generative-art graphics-programming visualisation webgl

elm-fluxus's People

Contributors

shamansir avatar

Stargazers

 avatar

Watchers

 avatar  avatar

elm-fluxus's Issues

Fluxus API Checklist

Scene

  • everyFrame : Renderer -> Graph
  • display : Graph

Utils

  • when : Bool -> (a -> b) -> b

  • selfTest

  • clear

  • showFps

  • desiredFps

State

  • color (instead of colour in Fluxus)
  • translate (different units in relation to Fluxus)
  • rotate
  • scale
  • withState : (State -> State) -> State

Drawing

  • drawCube (size is different to Fluxus default)

  • drawSphere

  • drawTorus

  • drawPlane

  • drawCylinder

  • drawInstance : Primitive -> State (currently draw)

  • pixelPrimitive

  • pixelsUpload

Building

  • buildCube (returns an Entity itself, not an ID)
  • buildSphere
  • buildPlane
  • buildCylinder
  • buildTorus
  • buildPolygons
  • buildLine
  • buildSegPlane
  • buildNurbsSphere
  • buildNurbsPlane
  • buildLocator
  • buildBlobby
  • destroy : Primitive
  • withPrimitive : Primitive -> (Primitive -> State)

Object Tree

  • parent : Primitive
  • detach : Primitive

Sound

  • startAudio : String -> Mbps -> HzRate, jackPort mbps hz
  • gh : Int -> Float
  • gain : Float -> ?

Keyboard

  • keyPressed : String -> Bool
  • keySpecialPressed : Int -> Bool
  • keysDown : List String

Mouse

  • mouseX : Float
  • mouseY : Float
  • select : Float -> Float -> Float -> Int, select screenX screenY size = 0

OSC

  • oscSource : Int ->(), port
  • oscMsg : String -> Bool, msg

Time

  • time
  • delta

Primitives Materials

  • wireColour
  • lineWidth
  • pointWidth
  • specular : Vec3
  • ambient : Vec3
  • emissive : Vec3
  • shinyness : Vec3
  • opacity : Float
  • blendMode

Textures

  • texture : Image
  • loadTexture : String -> Image
  • clearTextureCache
  • textureParams
  • multiTexture

Light

  • makeLight
  • lightPosition
  • lightDirection
  • lightDiffuse
  • lightSpecular
  • lightSpotAngle
  • lightSpotExponent

Shadows

  • hintCastShadow
  • shadowLight

Hints

  • hintNone
  • hintNormal
  • hintWire
  • hintOrigin
  • hintUnlit

Primitives

  • PData.Set
  • PData.Ref
  • PData.Size
  • PData.Map
  • PData.Fold

...

Text

  • buildType
  • buildExtrudedType
  • buildText

Camera

  • lockCamera
  • cameraLag
  • setCameraTransform
  • resetCamera

Perspective

  • ortho
  • setOrthoZoom
  • persp
  • clip
  • fog

Random

  • rndf
  • crndf
  • grndf
  • rndvec
  • crndvec
  • srndvec
  • hsrndvec
  • grndvec

Scene

  • getChildren
  • getParent

Collision

Ray casting

Shaders

Turtle

  • turtleReset
  • turtlePrim
  • buildLoop
  • turtleBuild
  • turlteTurn
  • turtleMove
  • turtleVert

Fluxa

Physics

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.