Advertisement

Results for "Author: robert rayment"

3_2004-2005 #134014
Digital Image Subtraction(Updated)

Digital Image Subtraction by Robert Rayment. (Updated: faster Basic routine, ASM action on Weighting & GreyLevel scrollbars) Demonstrates the power of MMX machine code which is at least 10 times faster than Basic in an optimally compiled EXE. See Info for limitations. Sample BMPs. Assumes MMX & QueryPerform.. APIs. Zip 123 KB.

3_2004-2005 #134235
PolyShader( + Stars)

PolyShader by Robert Rayment. (+ Stars) Demonstrates shading of regular and user defined polygons. Zip 36 KB.

3_2004-2005 #134273
Grey Options

Grey Options by Robert Rayment. Shows 8 different ways of changing an image to grey scale/effects (See code for descriptions). (Update BGR for RGB)(Zip 38 KB).

3_2004-2005 #134575
Beeper Madness

Beeper Madness by Robert Rayment. Plays 160 tunes through the PC speaker. Crazy! (Not Win98, Zip 143KB)

3_2004-2005 #134872
Brick Play

Brick Play by Robert Rayment. UPDATE: picture size handle added (idea from Loc Nyguyen's VB Paint). Produces a variety of brick patterns that can be saved as BMPs. __________________________________________________ Pure and simple VB apart from a bit of blitting and a touch of timing (Assembler Not Included). Zip file 10 Kb.

3_2004-2005 #135172
Spinning Illusions

Spinning Illusions by Robert Rayment. (Small change, hopefully more stable on other OS than Win98) Just a bit of VB doodling, 8 shapes with odd effects. [ Shaped form & picbox, +/- rotation anti-alias rotation, VBASM, Res wav ]. Zip 100 KB, Win98.

3_2004-2005 #135543
RRPencil

I love pencil drawing and there's nothing to beat pencil and paper. On the computer the mouse never moves as easily as a pencil but mathematics does allow some types of drawing to be carried out much more quickly than would be possible by hand. This is a pencil drawing programme with 256 shades of grey. It has 21 drawing tools and a host of sub-tools all easily selected from on-screen toolbars. Many shaded shapes such as curved lines, tubes, cones etc can be drawn. All the standard picture formats can be loaded or added and re-positioned. Saving is either as a BMP or a JPG file. Any rectangular part of the picture can be saved. JPG saving and printing is accomplished by using a single exe, free-standing, freeware conversion program that takes a command line and is hence easily used in VB. The source and credits for this are included in the .zip file In addition to the tools there is a zoom facility, whole-picture scrolling, +, X & perspective hair-lines, settable brick & tile sizes, text with any font, size or angle, undo and two canvas sizes suitable for A4 paper. All the source files, including button bitmaps, are included. The .zip file is just over 1MB and the program is written for an 800x600 screen.

3_2004-2005 #135676
BRRIC

BRRIC by Robert Rayment: (Corrected for 2-color bmp & ico 14/01/03) This program deals with pairs of icons (16x16 & 32x32, 1 bpp to 8 bpp), small bitmaps (1 bpp to 24 bpp) and 32x32 cursors (4 bpp). A large number of palettes can be loaded. Many image manipulation controls are included eg drawing tools, blurr, rotate, text etc. All the controls include ToolTipText. My personal preference is to have as many controls on-screen rather than buried in menus. This is not to everybody's taste and the screen will look cluttered but is much quicker to use. Icons can be extracted from multiple icon files and the system icons from exe and dll files. Small 32x32 rectangles can be extracted from larger bitmaps. The use of a res file for bitmaps and binary data is demonstrated. Win98, Zip 170KB.

3_2004-2005 #135677
RR3D

RR3D: Displays a rotatable and scaleable wire frame of any 3D mathematical function. This can be made up from the normal VB maths plus inverse and hyperbolic functions. Functions can be created and saved as wanted. Image vertices can also be saved for use elsewhere. The MS ScriptControl Eval function simplifies calculations enormously and its use is demonstrated. Also shown are MoveToEx, LineTo which are much faster than the VB equivalents and very easy to use. Included are a set of string handling subroutines such as count characters, squeeze out spaces, replace sub-strings etc. Commented throughout including the 3D maths and perspective methods. All the files are visible and the program is written for an 800x600 screen.

3_2004-2005 #135947
Shove H'Penny

Shove H'Penny by Robert Rayment. (Updated for XP)An old English pub game. The full rules are applied including illegal moves - see help file. The hardest part was getting a reasonable collision between disks: a bit of distorted Newton plus blitting, constructive comments on this welcome. Win98, Zip file 56 kb.

3_2004-2005 #136356
RRCalc

RRCalc by Robert Rayment: (UPDATE Now stays on top) Not another calculator I hear you say. But I have this one on my Office bar and find it easier to see and use than the MS Standard calc. It has the usual numbers and arithmetic operators plus square root, square, reciprocal and pi; memory clear, store, add and recall along with a window showing what's in memory. All the buttons can be operated with the mouse or the keyboard. The zip file is 31KB.

3_2004-2005 #136547
FindWords

Finds words starting with, containing, ending with, >

3_2004-2005 #136702
Plasma Worlds(addition)

Plasma Worlds by Robert Rayment. (Cylindrical tunnel added to ASM version)Two progs. One, pure VB (no APIs or OCXs) for making plasma screens that can be saved as a bmp, bit slow but adequate when compiled. Plasma uses a non-recursive routine on to any rectangle and can be wrapped for tiling. Graininess, scale & color palettes can be changed. The other prog is the same PLUS scrolling in 16 directions, color cycling, cylindrical, spherical & hyperbolic wrapping and fantasy landscape projections all with multiple controls - VB+APIs+ASM, much faster. Only tested on Win98, should be OK on ME & XP but some Win2K OSs have problems with this use of Assembler. Please let me know your OS if you find bugs. Zip 79KB.

3_2004-2005 #136783
Plasma Tunnels

Plasma Tunnels by Robert Rayment. (Now maximizable) VB+ASM. Win98 (see Plasma Worlds for other uses of plasmas) Zip 27KB

3_2004-2005 #137116
A 2D PinBall Demo

A PinBall Demo by Robert Rayment. UPDATED for XP, wayward pixels killed, scoring and ball capture improved. See notes in the Form. Zip file 116 Kb.

3_2004-2005 #137747
A386 machine code collection

A386 machine code collection by Robert Rayment. 1. Simple examples 2. Fractals. 3. PicBox1 4. PicBox2. All using the A386 assembler. Win 98, Zip 173 KB

3_2004-2005 #137806
Creating & Testing DLL with NASM

Creating & testing an assembler DLL using NASM, a freeware assembler. The demonstration DLL does Bit testing, shifting, rotating, clearing & setting.

3_2004-2005 #137874
Newton's Cradle and Metronome

Newton's Cradle & Metronome by Robert Rayment. (UPDATE using QueryPer... API) Simulates the known movement of balls in an idealized Cradle with variable speed & improved timing for the Metronome. Two progs. Win98 & WinXP Zip file 24 KB.

3_2004-2005 #137999
Mini-Fractal Painter(additions)

Mini-Fractal Painter by Robert Rayment. (Correction for no drive) (Additions: Faster string-byte handling + DrawWidth) The starting point for this was Loreno Heer's LSystems prog on PSC, where the VB6 Replace function is used to develop the LSys strings. The trees' & plants' size, complexity, color & orientation can be varied. See screen shot which was made in just a few seconds. This prog could easily be extended to include other functions (I've resisted doing that and have only included those necessary to produce a picture like the screenshot) or the methods could be added to an existing VB paint program. VB or ASM can be used to translate the LSys strings and draw to the screen. Win98, Zip 55KB.

3_2004-2005 #138221
Icon Seeker

Icon Seeker by Robert Rayment. (couple of corrections) Gets all icons of any square size in any file (ico,icl,exe,dll,frx,res,,,) for 2,16 & 256 colors with a palette as well as 24 & 32 bit colored icons. Can save any selected single icon to a proper ico file. Sample icons included. Lots of ways to extend and speed up but decided to leave it simple as pure VB no APIs, OCXs etc (apart from those VB uses 'behind the scenes') but still does a creditable job. Be sure to read warning at beginning of Form1 if you experiment with the code. Win98 Zip 28 KB.

Languages
Top Categories
Global Discovery