Skip to content

Instantly share code, notes, and snippets.

@Ipad41001
Ipad41001 / ABCplayerCodea.lua
Created December 2, 2011 01:33 — forked from fredbogg/ABCplayerCodea.lua
Plays ABC musical notation format tunes on the Codea/Codify iPad platform.
-- ABCplayerCodea version 0.1.4
-- Plays ABC musical notation format tunes on the Codea/Codify iPad platform. 
-- By Fred Bogg, November 2011.  Improvements welcome. Thanks to ipda41001 for coding assistance.
-- This program defines musical notes and chords, parses an ABC format tune, creates a table
-- of notes to be played with their durations, and then plays it.  With the parsing done 
-- first, playback is possible without slowing down draw frames (psuedo-background).
-- 0.1.4
-- DEBUG to self.DEBUG, stopped passing it around
-- soundTablePointer to self.soundTablePointer
@Ipad41001
Ipad41001 / 3dcube.lua
Created November 3, 2011 03:21 — forked from bortels/3dcube.lua
3d Wireframe Cube demo for Codea
-- Classic 3d wireframe cube demo in LUA
-- based on version for PSP by Nils - ventoline.com
-- modified for Codea - Tom Bortels November 2011
function setup() 
--focal length to determine perspective scaling
focalLength = 300
-- here we set up a function to make an object with 
-- x, y and z properties to represent a 3D point.