TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Leopard – Convert Scratch projects to JavaScript

6 点作者 PullJosh超过 1 年前

1 comment

PullJosh超过 1 年前
Hi HN! A few years ago, I began creating Leopard, a Scratch to JavaScript code converter. (Since then, I&#x27;ve received help from a few awesome open-source contributors. Thank you!)<p>I started using Scratch when I was in 2nd grade. I made over 500 games and projects, working with Scratch all the way into high school. I eventually moved on to JavaScript, but the transition was a difficult one. Much of the JavaScript world was unfamiliar, and learning to do everything new all at once was challenging.<p>Leopard is meant to be a transition tool that helps ease this learning process. It outputs human-readable JavaScript that is as close to a 1-to-1 translation as possible.<p>You can enter any Scratch project URL to convert it. If you don&#x27;t have one on hand, here are a few examples:<p>- <a href="https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;345789566&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;345789566&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;905275127&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;905275127&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;891008805&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;scratch.mit.edu&#x2F;projects&#x2F;891008805&#x2F;</a><p>(Note that getting compatibility <i>exactly</i> right is hard, so not every project will work perfectly, but many projects should be respectably close.)