Discuss Scratch
- Discussion Forums
- » Suggestions
- » Pen should be vector, or something less pixelated.
- peregrine
-
28 posts
Pen should be vector, or something less pixelated.
updateI'll start working on some html/js/svg to fix thatI think the pen would have to be bitmap, but it should be at the resolution of the player (whether it is fullscreen or 480x360) rather than being locked at 480x360, so support for that.
I'm not sure if vector pen would be possible, since it would have to create a new vector object for each pen stroke, and those objects could only be deleted with clear, I don't see how it could be done without causing too much lag.
thanks for the ideas
done!
code follows<html>
<svg id="1" version="1.1" width="480" height="360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
</svg>
<script>
var x=240;
var y=180;
var px=x;
var py=y;
var x=prompt("x")+240;
var y=prompt("y")+180;
var colour=prompt("colour");
var size=prompt("pen size");
var cap=prompt("cap mode (round butt or square)")
document.getElementById("1").innerHTML = document.getElementById("1").innerHTML + '<line x1="' + px + '" y1="' + py + '" x2="' + x + '" y2="' + y + '" stroke="' + colour + '" stroke-width="' + size + '" stroke-linecap="' + cap + '">'
</script>
<html>
<html>
test
<svg id="1" version="1.1" width="480" height="360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
</svg>
<script>
var addobject = function() {
var px=x;
var py=y;
var x=prompt("x")+240;
var y=prompt("y")+180;
var colour=prompt("colour");
var size=prompt("pen size");
var cap=prompt("cap mode (round butt or square)")
document.getElementById("1").innerHTML = document.getElementById("1").innerHTML + '<line x1="' + px + '" y1="' + py + '" x2="' + x + '" y2="' + y + '" stroke="' + colour + '" stroke-width="' + size + '" stroke-linecap="' + cap + '">'
addobject()
}
var addobjectfirst = function() {
var x=prompt("x")+240;
var y=prompt("y")+180;
var px=x;
var py=y;
var colour=prompt("colour");
var size=prompt("pen size");
var cap=prompt("cap mode (round butt or square)")
document.getElementById("1").innerHTML = document.getElementById("1").innerHTML + '<line x1="' + px + '" y1="' + py + '" x2="' + x + '" y2="' + y + '" stroke="' + colour + '" stroke-width="' + size + '" stroke-linecap="' + cap + '">'
addobject()
}
addobjectfirst()
</script>
<html>
Urgent news!
Evil Kumquats no longer seem to feast on signatures anymore.
They now feast on Discuss buttons.
We need to save them!
#Bring_It _Back
- Amaru2
-
100+ posts
Pen should be vector, or something less pixelated.
Support, the current pen is horrible.
I can help you but DON'T UNINSTALL ME!!!!!!!!!!!!!!!!!!!!!!
- Blank1234
-
500+ posts
Pen should be vector, or something less pixelated.
semi-support
there are sometimes where i find bitmap annoying, but other times bitmap is right.
Support if its like this:
there are sometimes where i find bitmap annoying, but other times bitmap is right.
Support if its like this:
set pen to [vector v]::pen
set pen to [bitmap v]::pen
Last edited by Blank1234 (Aug. 23, 2015 15:50:08)
Did you know that “kaj” means “and” in Esperanto?
Totally not for SEO:
https://scratch.mit.edu/projects/85467306/
https://scratch.mit.edu/projects/83099266/
https://scratch.mit.edu/projects/81628056/
https://scratch.mit.edu/projects/81562288/
https://scratch.mit.edu/projects/81462110/
https://scratch.mit.edu/projects/81436112/
https://scratch.mit.edu/projects/78896920/
https://scratch.mit.edu/projects/78863998/
https://scratch.mit.edu/projects/76577776/
https://scratch.mit.edu/projects/76459270/
https://scratch.mit.edu/projects/74797364/
https://scratch.mit.edu/projects/74085188/
https://scratch.mit.edu/projects/73150274/
https://scratch.mit.edu/projects/73112658/
https://scratch.mit.edu/projects/72484040/
https://scratch.mit.edu/projects/72737486/
https://scratch.mit.edu/projects/72410420/
https://scratch.mit.edu/projects/72378152/
https://scratch.mit.edu/projects/71910314/
https://scratch.mit.edu/projects/67826618/
https://scratch.mit.edu/projects/67882676/
https://scratch.mit.edu/projects/66909070/
https://scratch.mit.edu/projects/66925858/
https://scratch.mit.edu/projects/66420350/
https://scratch.mit.edu/projects/66062314/
https://scratch.mit.edu/projects/65564542/
https://scratch.mit.edu/projects/64828196/
https://scratch.mit.edu/projects/64286296/
https://scratch.mit.edu/projects/64283600/
https://scratch.mit.edu/projects/62386850/
https://scratch.mit.edu/projects/63907584/
https://scratch.mit.edu/projects/62785306/
https://scratch.mit.edu/projects/63767660/
https://scratch.mit.edu/projects/62676562/
https://scratch.mit.edu/projects/61948978/
https://scratch.mit.edu/projects/62521426/
https://scratch.mit.edu/projects/61074988/
https://scratch.mit.edu/projects/11658256/
https://scratch.mit.edu/projects/60640274/
- Nether_before
-
1000+ posts
Pen should be vector, or something less pixelated.
Support!
~~If life gives you kumquats, lock your signature up, bury it in the ground and hope it's safe~~
hello child. i am an elf
- Shiyoung
-
37 posts
Pen should be vector, or something less pixelated.
Support! And to switch between vector and bitmap, the block below could be developed!
switch pen to [vector v] :: pen
switch pen to [bitmap v] :: pen
- Zekrom01
-
1000+ posts
Pen should be vector, or something less pixelated.
Support! And to switch between vector and bitmap, the block below could be developed!switch pen to [vector v] :: pen
switch pen to [bitmap v] :: pen
20 something years old
Probably doing college work
- gamebeater187
-
1000+ posts
Pen should be vector, or something less pixelated.
^^^^ Definite support - this is quite annoying! Same with stamping vector objects.
My 1000th post!
I haven't changed my logo since my 96th post on 2014. Now at 1000 posts, I changed my logo!
- Scratcher1002
-
1000+ posts
Pen should be vector, or something less pixelated.
Support! (for a bitmap pen of the same resolution as the stage)
・Scratcher1002は「ここにランダムな日本語の言葉はたくさんですか?はい」と言いました・
![](https://cdn2.scratch.mit.edu/get_image/project/36697388_110x90.png?v=1446761829.75)
![](https://cdn2.scratch.mit.edu/get_image/project/54427966_110x90.png?v=1446766072.72)
![](https://cdn2.scratch.mit.edu/get_image/project/78720110_110x90.png?v=1445711721.77)
![](https://cdn2.scratch.mit.edu/get_image/project/98982679_110x90.png?v=1456260954.76)
![](https://cdn2.scratch.mit.edu/get_image/project/170373288_110x90.png)
||||Search:
Topics | Users
||Studios | Projects
||
![](https://cdn2.scratch.mit.edu/get_image/project/170375403_400x320.png)
![](https://cdn2.scratch.mit.edu/get_image/project/36697388_110x90.png?v=1446761829.75)
![](https://cdn2.scratch.mit.edu/get_image/project/54427966_110x90.png?v=1446766072.72)
![](https://cdn2.scratch.mit.edu/get_image/project/78720110_110x90.png?v=1445711721.77)
![](https://cdn2.scratch.mit.edu/get_image/project/98982679_110x90.png?v=1456260954.76)
![](https://cdn2.scratch.mit.edu/get_image/project/170373288_110x90.png)
||||Search:
Topics | Users
||Studios | Projects
||
![](https://cdn2.scratch.mit.edu/get_image/project/170375403_400x320.png)
- NoMod-Programming
-
1000+ posts
Pen should be vector, or something less pixelated.
Support!
EDIT: Now I look like a necroposter
. I assure you I am not.
EDIT: Now I look like a necroposter
![](http://cdn.scratch.mit.edu/scratchr2/static/__7afa96a260e11756e62d6c3e4a3eec17__/djangobb_forum/img/smilies/sad.png)
Last edited by NoMod-Programming (Feb. 21, 2016 03:20:28)
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- fredfish10
-
100+ posts
Pen should be vector, or something less pixelated.
support for
set pen to [ bitmapv] :: pen
set pen to [ vectorv] :: pen
Search this into google for all my posts
^?|\!@$&^$ WO___+_??<?>>±±±±§§&L:{)|+}{{}{"LI765$£@2
- BookOwl
-
1000+ posts
Pen should be vector, or something less pixelated.
Support
who needs signatures
- -Cherri-
-
100+ posts
Pen should be vector, or something less pixelated.
Suuupppooortt! XD (Just trying to make my post unique haha)
Hiii! :3
I'm the one and only cherbear who loves helping newbies!
- ngnhc
-
100+ posts
Pen should be vector, or something less pixelated.
Support
# # # # # # # # # # # # # # # # # # # # # Visit the Custom Number Engine Shop # # # # # # # # # # # # # # # # # # # # #
![](http://i.cubeupload.com/x6eJz4.png)
- alexphan
-
1000+ posts
Pen should be vector, or something less pixelated.
Support forset pen to [bitmap v] :: pen
set pen to [vector v] :: pen
- x25
-
29 posts
Pen should be vector, or something less pixelated.
Support!
Someone ate my signature on April Fools day when Edible Scratch was implemented. I don't know who ate it, though.
- johndeere47
-
100+ posts
Pen should be vector, or something less pixelated.
.
Last edited by johndeere47 (Aug. 27, 2023 01:58:39)
- Discussion Forums
- » Suggestions
-
» Pen should be vector, or something less pixelated.