background preloader

Programming

Facebook Twitter

ConfirmDialog command. Show frames Go to: Synopsis.

confirmDialog command

Return value. Flags. Python examples. Synopsis confirmDialog([backgroundColor=[float, float, float]], [button=string], [cancelButton=string], [defaultButton=string], [dismissString=string], [message=string], [messageAlign=string], [parent=string], [title=string]) Note: Strings representing object names and arguments must be separated by commas. ConfirmDialog is undoable, NOT queryable, and NOT editable. The confirmDialog command creates a modal dialog with a message to the user and a variable number of buttons to dismiss the dialog. The default behaviour when no arguments are specified is to create an empty single button dialog. Return value Flags backgroundColor, button, cancelButton, defaultButton, dismissString, message, messageAlign, parent, title Python examples. Greencodds Tenth Rule Of Programming.

A Vector Type for C# Download source - 10.8 KB Introduction For years I have seen people struggle with vector mathematics.

A Vector Type for C#

This guide should walk you through the creation of a reusable Vector3 type and the mathematics behind it all. The post-fixed 3 simply refers to the vector being in 3-dimensions (x,y,z). The code is not designed to be fast or efficient but is to be as simple and understandable as possible. I have used the Cartesian coordinate system in three-dimensions (i.e. three perpendicular axis of x, y and z) and Euclidian geometry. You may have guessed that computers are quite slow with this type of math. Developing with C# on OSX and Mono. Functional Reactive Programming. Functional Reactive Programming (FRP) integrates time flow and compositional events into functional programming.

Functional Reactive Programming

This provides an elegant way to express computation in domains such as interactive animations, robotics, computer vision, user interfaces, and simulation. 1 Introduction The original formulation of Functional Reactive Programming can be found in the ICFP 97 paper Functional Reactive Animation by Conal Elliott and Paul Hudak. 1.1 Behaviors Traditionally a widget-based user interface is created by a series of imperative actions. A better way to represent an edit widget's content is a time-varying value, called a behavior. The library for professional-quality creative coding in C++ OpenFrameworks.

Polycode. Codify – iPad. Gui Toolkits - Mono. Picking the Right Toolkit One of the hardest and most important decision to make when starting a new desktop application is which GUI "toolkit" to choose.

Gui Toolkits - Mono

The toolkit is the set of API's that produce the graphical user interface your users will interact with. There are a number of factors to consider when choosing the toolkit. Different toolkits support different platforms (Linux, Windows, OSX) and have different features such as accessibility, layout engines, and looks. The two main toolkits offered by Mono are GTK# and Winforms, however there are several other toolkits offered by the community which may suit your needs. Both GTK# and Winforms, while being cross-platform, have clear roots in their original platforms. Gtk# Homepage: GtkSharp GTK# is a .NET binding for the Gtk+ toolkit. In general, GTK# applications are written using MonoDevelop, which provides a visual designer for creating GTK# GUIs. Platforms: Unix, Windows, OSX Pros: Cons: Gtk+ apps run like foreign applications on MacOS X. WebGL Water. Loading...

WebGL Water

Made by Evan Wallace This demo requires a decent graphics card and up-to-date drivers. If you can't run the demo, you can still see it on YouTube. Interactions: Draw on the water to make ripples Drag the background to rotate the camera Press SPACEBAR to pause and unpause Drag the sphere to move it around Press the L key to set the light direction Press the G key to toggle gravity Features: Raytraced reflections and refractions Analytic ambient occlusion Heightfield water simulation * Soft shadows Caustics (see this for details) **

Monad (functional programming) Formally, a monad consists of a type constructor M and two operations, bind and return (where return is often also called unit).

Monad (functional programming)

The operations must fulfill several properties to allow the correct composition of monadic functions (i.e. functions that use values from the monad as their arguments or return value). The return operation takes a value from a plain type and puts it into a monadic container using the constructor, creating a monadic value. The bind operation performs the reverse process, extracting the original value from the container and passing it to the associated next function in the pipeline, possibly with additional checks and transformations. Because a monad can insert additional operations around a program's domain logic, monads can be considered a sort of aspect-oriented programming.[7] The domain logic can be defined by the application programmer in the pipeline, while required aside bookkeeping operations can be handled by a pre-defined monad built in advance.

OpenCL. CSharpPlugin. Xcode Plugin and supporting files for Mono C# integration This page is no longer maintained.

CSharpPlugin

Please use the latest version at Susan Mackay Abstract This document describes the installation, use and some of the background details of an Xcode plugin that allows the use of the Mono C# development environment. If you just want to get the code installed and running, then please start at the “Installation” section. Quick Start. Cocoa. Quartz Composer.

OSX

Unsorted. DataViz. Ruby. Python. Haskel.