ScratchData LogoScratchData
Back to chooper-beta's profile

[INDEV] SVG Renderer API

CHchooper-beta•Created August 3, 2015
[INDEV] SVG Renderer API
92
65
1515 views
View on Scratch

Instructions

CLICK SEE INSIDE TO ENTER TEXT INTO THE EDITOR. You are only allowed 1 element per line of text currently. The current supported svg elements are: ▶️ svg ▶️ circle ▶️ rect ▶️ ellipse ▶️ line ▶️ polyline You can find out about the svg syntax here: http://www.w3schools.com/svg/svg_inhtml.asp

Description

Hi! This is the live development of my latest idea - an SVG renderer. For those of you who didn't already know this, Scratch uses the SVG format for storing vector images. I am perfectly happy for this to become something of a collaboration if anyone is interested. Just remix this project, add a feature and then if I like it (which hopefully I always should) I will add it. You can find instructions in the primary sprite on how to save this project with the thumbnail. Please note that the development of this project is live so there is a possibility that it could be broken at any point. Expect bugs as well as missing features. The font I used in the interface is called 'Bebas Neue' which I imported using InkScape :) Change log: v1.2.4: 9th August 2015: ▶ Added support for line element ▶ Modified colour grabber algorithm slightly to prepare for rgb / argb support v1.2.2: 8th August 2015: ▶ Added full support for polyline elements v1.2.0: 8th August 2015: ▶ Added support for 'none' keyword ▶ Began preparations for polyline support v1.1.9: 8th August 2015: ▶ Added full support for ellipses v1.1.6: 7th August 2015: ▶ Added basic support for ellipse element v1.1.4: 7th August 2015 ▶ Added support for filling on rect elements ▶ Fully implemented @DadOfMrLog's polygon filler ▶ Added rect element to default image v1.1.2: 6th August 2015 ▶ Preparations for using @DadOfMrLog's polygon filler v1.1.1: 6th August 2015 ▶ Added speech bubble in bottom-right corner v1.1.0: 6th August 2015 ▶ Added support for the style tag ▶ Added basic support for the 'rect' element v1.0.5: 5th August 2015 ▶ Added support for custom image origin v1.0.2: 5th August 2015 ▶ Added ease-in effect to editor toggle button. Credit to @ScratchinJoJo for the formula v1.0.0: 4th August 2015 ▶ Live Dev Shared Contributors: @chooper100 (My main account ;) ) People who helped get me started: @griffpatch @dadofmrlog @scratchinjojo

Project Details

Project ID72197112
CreatedAugust 3, 2015
Last ModifiedAugust 9, 2015
SharedAugust 4, 2015
Visibilityvisible
CommentsAllowed