VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Trace And Replay 3a (ClsSketcher)

by Roger Gilchrist (50 Submissions)
Category: Graphics
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

A class that allows you to create animated drawing images.
To use the class all you need is a Form and a CommonDialog control. Menus are optional but useful.
You can either draw your own images or load an existing image and trace it.
-----------------------------------------
Tracing can either be with standard pen, where the user selects the colour used or a Duplicate Pen which takes its colour from the underlaying image.
To assist tracing you can either draw directly on the underlying image or offset the trace output to any side of the underlying image.
-----------------------------------------
The images are stored in a very simple (and large) file format called 'Sket' which is simply a hex description of the position, drawing phase(Start/Drawing/End), Colour and DrawWidth of a point on the lines you draw. This is a very inefficent file format which I plan to improve as soon as possible (so don't commit yourself to it too deeply)
-----------------------------------------
Suggested by Lucim Lack's 'Retrace your Footsteps!' at https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=58084&lngWId=1
-----------------------------------------
UPDATE
Fixed the save error (accidentally zipped the next to last version))
Added new hotkeys, improved data storage in the Sket file format(unfortunately this means anything you built with version 1 is useless) and added a Scaling method of drawing and some auto sketchers.
--------------------------
Also thought of a use for this, and am building a screensaver engine which could use the Sket files as input.
-------------------------- NEW NEW NEW NEW -----------
Minor update 'Save' now displays a progress report in caption bar as it can be rather slow if you have large data or high bit colour.
Auto Dash now looks more like pencil strokes (use Width 4-8).

Rate Trace And Replay 3a (ClsSketcher)

Download Trace And Replay 3a (ClsSketcher)

Download Trace And Replay 3a (ClsSketcher) (13 KB)

Trace And Replay 3a (ClsSketcher) Comments

No comments have been posted about Trace And Replay 3a (ClsSketcher). Why not be the first to post a comment about Trace And Replay 3a (ClsSketcher).

Post your comment

Subject:
Message:
0/1000 characters